- Compatible API Versions
- 1.0.0
- Contributors
- Mundschutziii
BanSystem
An advanced punishment tool featuring MongoDB, MySql & YAML.
Features:
How to install?
Addons:
Commands:
Screenshots:
Developer API:
Contact & Support:
An advanced punishment tool featuring MongoDB, MySql & YAML.
Features:
- Timed bans and mutes
- Log data of bans, mutes and warnings
- Change reason and time of running punishments
- Cancel running punishments
- Warning system
- MongoDB support
- MySql support
- Yaml support
- Developer API
- Eeverything is editable
How to install?
- Download the .jar file.
- Paste the file into your plugin folder.
- If you want to use MySql, you have to install DBLib on your server.
- Start your server.
- And have fun using BanSystem.
Addons:
- BanSystem UI-Addon - Manage the BanSystem in a UI
- BanSystem Discord-Addon - Get notifications of BanSystem in your Discord
- BanSystem Duplicate Account Prevention-Addon - Get a player info and see wich duplicated accounts this player owns
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> | Check if a player is banned | bansystem.command.checkban |
checkmute | /checkmute <Player> | Check if a player is muted | 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 warn entries of a player | bansystem.command.clearwarnings |
editban | /editban <Player> reason <Reason> /editban <Player> time <hours|days> <Time> | Edit the ban of a player | bansystem.command.editban |
editmute | /editmute <Player> reason <Reason> /editmute <Player> time <hours|days> <Time> | Edit the mute of a player | 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> | Ban a player temporary | bansystem.command.tempban |
tempmute | /tempmute <Player> <hours|days> <Time> | Mute a player temporary | 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 warn 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 warn entry | bansystem.command.deletewarn |
history | /history <ID> | Get the all time history of a player | bansystem.command.history |
Screenshots:
Developer API:
XML:
<repository>
<id>lldv-repo</id>
<url>http://system01.lldv.net:8082/artifactory/libs-snapshot</url>
</repository>
<dependency>
<groupId>net.llamadevelopment.bansystem</groupId>
<artifactId>BanSystemNK</artifactId>
<version>2.5.0-20201229.153344-1</version>
</dependency>
Java:
import net.llamadevelopment.bansystem.BanSystem;
import net.llamadevelopment.bansystem.components.api.API;
public class Test {
private Provider api = BanSystem.getApi().getProvider();
public void test() {
this.api.getBan("testuser", ban -> {
System.out.println("Player is banned for: " + ban.getReason());
});
this.api.unbanPlayer("testuser", "byME");
}
}
Contact & Support: