- Compatible API Versions
- 1.0.0
- Contributors
- LlamaDevelopment, Mundschutziii
BanSystem
An advanced punishment tool featuring MongoDB, MySQL & YAML, updated for Nukkit-MOT.
Features:
How to install?
Commands:
All these values are default values. You are able to change the command name, the command description, the command aliases and the command permission in config.yml!
Developer API:
You are able to use the BanSystem API in your own plugins. BanSystem provides access to its data provider and custom events.
Maven:
Install the BanSystem artifact into your local Maven repository before adding the following dependency.
<dependency>
<groupId>net.llamadevelopment.bansystem</groupId>
<artifactId>BanSystemNK</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
API:
Contact & Support:

An advanced punishment tool featuring MongoDB, MySQL & YAML, updated for Nukkit-MOT.
Features:
- Permanent and timed bans and mutes
- Log data of bans, mutes and warnings
- Change reason and time of running punishments
- Cancel running punishments
- Configurable punishment reasons
- Warning system with optional automatic bans
- MongoDB support
- MySQL support
- YAML support
- Developer API & custom events
- Editable commands, permissions and messages
- Updated for Nukkit-MOT
How to install?
- Download the .jar file.
- Paste the file into your plugin folder.
- Start your server.
- Choose your preferred data provider in config.yml.
- If you want to use MySQL or MongoDB, configure your database connection and restart your server.
- And have fun using BanSystem.
Commands:
| Command | Usage | Description | Permission |
|---|---|---|---|
| ban | /ban <Player> <ID> | Ban a player by reason ID | bansystem.command.ban |
| banlog | /banlog <Player> | Get the ban history of a player | bansystem.command.banlog |
| checkban | /checkban <Player/ID> | Get information about a ban | bansystem.command.checkban |
| checkmute | /checkmute <Player/ID> | Get information about a mute | bansystem.command.checkmute |
| clearbanlog | /clearbanlog <Player> | Clear all ban entries of a player | bansystem.command.clearbanlog |
| clearmutelog | /clearmutelog <Player> | Clear all mute entries of a player | bansystem.command.clearmutelog |
| clearwarnings | /clearwarnings <Player> | Clear all warning entries of a player | bansystem.command.clearwarnings |
| editban | /editban <Player> reason <Reason> | Change the reason of an active ban | bansystem.command.editban |
| editban | /editban <Player> time <hours|days> <Time> | Change the duration of an active ban | bansystem.command.editban |
| editmute | /editmute <Player> reason <Reason> | Change the reason of an active mute | bansystem.command.editmute |
| editmute | /editmute <Player> time <hours|days> <Time> | Change the duration of an active mute | bansystem.command.editmute |
| kick | /kick <Player> <Reason> | Kick a player | bansystem.command.kick |
| mute | /mute <Player> <ID> | Mute a player by reason ID | bansystem.command.mute |
| mutelog | /mutelog <Player> | Get the mute history of a player | bansystem.command.mutelog |
| tempban | /tempban <Player> <hours|days> <Time> <Reason> | Temporarily ban a player | bansystem.command.tempban |
| tempmute | /tempmute <Player> <hours|days> <Time> <Reason> | Temporarily mute a player | bansystem.command.tempmute |
| unban | /unban <Player> | Cancel an active ban | bansystem.command.unban |
| unmute | /unmute <Player> | Cancel an active mute | bansystem.command.unmute |
| warn | /warn <Player> <Reason> | Warn a player | bansystem.command.warn |
| warnlog | /warnlog <Player> | Get the warning history of a player | bansystem.command.warnlog |
| deleteban | /deleteban <ID> | Delete a ban entry | bansystem.command.deleteban |
| deletemute | /deletemute <ID> | Delete a mute entry | bansystem.command.deletemute |
| deletewarn | /deletewarn <ID> | Delete a warning entry | bansystem.command.deletewarn |
| history | /history <Player> | Get the punishment statistics of a player | bansystem.command.history |
Developer API:
You are able to use the BanSystem API in your own plugins. BanSystem provides access to its data provider and custom events.
Maven:
Install the BanSystem artifact into your local Maven repository before adding the following dependency.
<dependency>
<groupId>net.llamadevelopment.bansystem</groupId>
<artifactId>BanSystemNK</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
API:
Code:
import net.llamadevelopment.bansystem.BanSystem;
import net.llamadevelopment.bansystem.components.provider.Provider;
public class Test {
public void test() {
Provider api = BanSystem.getApi().getProvider();
api.playerIsBanned("testuser", banned -> {
if (banned) {
api.getBan("testuser", ban -> {
System.out.println(
"Player is banned for: " + ban.getReason()
);
});
}
});
}
public void unban() {
BanSystem.getApi().getProvider()
.unbanPlayer("testuser", "byME");
}
}
- No support is allowed in the reviews! If you want to report a problem, contact us via Telegram.
- Join our Telegram channel for plugin updates and news.