Source-checkedAdmin & protection

Core

by Dablakbandit · for Minecraft

Core system for my plugins [DabCore + ChatAPI Combines]

18KDownloads
7 mo agoLast updated
Spigot · PaperLoaders
26.1Latest game version

About Core

From SpigotMC

Core system for my plugins [DabCore + ChatAPI Combines]

[​IMG]

I created this core for a network, and they have nicely allowed me to make it public, so I put all my DabCore and ChatAPI into it to make it better. This plugin does nothing by itself and has to be activated by other plugins.

This is the core for all my plugins. This will help all my plugins function at their best.

Before updating/installing this plugin stop the server and then install/update it, so my other plugins will not break.

ChatAPI:

Example code with explinations:

This will be updated soon

Code (Text):

public class Example{

    // Firstly i recommend creating a method to send the JSONFormatter
    protected void send(JSONFormatter jf, Player player){
        // This allows the packets to go through
        PacketListener.getInstance().allow(player, jf.getSize());
        // This sends the packets
        jf.send(player);
    }

    // Another good method to have is one that stops chat packets from being
    // sent to the player
    protected void pause(Player player){
        PacketListener.getInstance().getListener().pause(player);
    }

    // And also one that restores the players chat after they have finished with
    // the gui
    protected void play(Player player){
        // This will resend the last 100 chat packets to player, if there is
        // only 50 to send,
        // then it will first send 50 blank packets
        PacketListener.getInstance().getListener().play(player);
    }

    // Basic send method
    public void send(Player player){
        // Whether newlines are enabled or not
        // Some minecraft version do not support new lines "\n"
        // It is best to have a setting in the config file to enable/disable this
        boolean newlines = false;
        JSONFormatter jf = new JSONFormatter(newlines);
 
        // Append a string
        // Some nice header
        jf.append("--------------");
        // This adds a new line
        jf.newLine();
        jf.append(" ");
 
        // Append a message with a click event
        // A click event is what happens when the player clicks it in their chat
        // There is RunCommandEvent or SuggestCommandEvent
        jf.appendClick(ChatColor.GREEN + "< Back", new RunCommandEvent("<command>" + " back"));
        jf.newLine();
        jf.newLine();
        jf.append(" " + ChatColor.RED + "Unsupported file");
 
        // There is also a hover event
        // There is ShowAchievementEvent, ShowItemEvent and ShowTextEvent
        jf.appendHover("Example", new ShowTextEvent("Hover"));
 
        // Resets just chat colors
        jf.resetColors();
        // Resets modifiers (italic, bold etc;)
        jf.resetModifiers();
        // Resets both, calling .newLine also resets all
        jf.resetAll();
 
        // Adds 15 blank lines
        // The Chat GUI can only be 20 lines high and you want it to be flush as to look nice
        jf.newLine(15);
        jf.append("--------------");
 
        // Calls the send method created earlier
        send(jf, player);
 
        // The JSONFormatter allows chaining which allows for very compact code
        jf.append("--------------").newLine()
        .append(" ").appendClick(ChatColor.GREEN + "< Back", new RunCommandEvent("<command>" + " back")).newLine().newLine()
        .append(" " + ChatColor.RED + "Unsupported file")
        .newLine(15)
        .append("--------------");
    }

}
This produces something like:
[​IMG]

Example video:

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 12 Minecraft versions, the newest being 26.1.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Core on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.6.8-RELEASE, released 2026-04-05

Game versions by loader

LoaderGame versionsNewest
Paper1.12 to 26.1 (12 versions)26.1
Spigot1.12 to 26.1 (12 versions)26.1

From 10 recorded builds of Core.

Recent builds

BuildReleasedGame versionsLoaders
0.6.8-RELEASE2026-04-051.12 to 26.1 (12 versions)Spigot, Paper
0.6.8-RELEASE2026-04-05n/aSpigot, Paper
0.6.7-RELEASE2025-07-28n/aSpigot, Paper
0.6.6-RELEASE2025-05-26n/aSpigot, Paper
0.6.5-RELEASE2025-05-11n/aSpigot, Paper
0.6.42024-07-28n/aSpigot, Paper

Run Core on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists Core as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
26.1 and 11 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorDablakbandit, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

Core, answered

Generated from the mod’s own source data.

Do my players need to install Core?

SpigotMC lists Core as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. Core is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Core on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Core in one click.