BanSystem-LlamaDev

BanSystem-LlamaDev 3.0.1

Compatible API Versions
1.0.0
Contributors
LlamaDevelopment, Mundschutziii
BanSystem

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
Screen :

bansystem_4-png.1817


bansystem_1-png.1814


bansystem_2-png.1815


bansystem_3-png.1816


How to install?

  1. Download the .jar file.
  2. Paste the file into your plugin folder.
  3. Start your server.
  4. Choose your preferred data provider in config.yml.
  5. If you want to use MySQL or MongoDB, configure your database connection and restart your server.
  6. And have fun using BanSystem.
YAML is used by default. No additional database plugins are required.

Commands:

CommandUsageDescriptionPermission
ban/ban <Player> <ID>Ban a player by reason IDbansystem.command.ban
banlog/banlog <Player>Get the ban history of a playerbansystem.command.banlog
checkban/checkban <Player/ID>Get information about a banbansystem.command.checkban
checkmute/checkmute <Player/ID>Get information about a mutebansystem.command.checkmute
clearbanlog/clearbanlog <Player>Clear all ban entries of a playerbansystem.command.clearbanlog
clearmutelog/clearmutelog <Player>Clear all mute entries of a playerbansystem.command.clearmutelog
clearwarnings/clearwarnings <Player>Clear all warning entries of a playerbansystem.command.clearwarnings
editban/editban <Player> reason <Reason>Change the reason of an active banbansystem.command.editban
editban/editban <Player> time <hours|days> <Time>Change the duration of an active banbansystem.command.editban
editmute/editmute <Player> reason <Reason>Change the reason of an active mutebansystem.command.editmute
editmute/editmute <Player> time <hours|days> <Time>Change the duration of an active mutebansystem.command.editmute
kick/kick <Player> <Reason>Kick a playerbansystem.command.kick
mute/mute <Player> <ID>Mute a player by reason IDbansystem.command.mute
mutelog/mutelog <Player>Get the mute history of a playerbansystem.command.mutelog
tempban/tempban <Player> <hours|days> <Time> <Reason>Temporarily ban a playerbansystem.command.tempban
tempmute/tempmute <Player> <hours|days> <Time> <Reason>Temporarily mute a playerbansystem.command.tempmute
unban/unban <Player>Cancel an active banbansystem.command.unban
unmute/unmute <Player>Cancel an active mutebansystem.command.unmute
warn/warn <Player> <Reason>Warn a playerbansystem.command.warn
warnlog/warnlog <Player>Get the warning history of a playerbansystem.command.warnlog
deleteban/deleteban <ID>Delete a ban entrybansystem.command.deleteban
deletemute/deletemute <ID>Delete a mute entrybansystem.command.deletemute
deletewarn/deletewarn <ID>Delete a warning entrybansystem.command.deletewarn
history/history <Player>Get the punishment statistics of a playerbansystem.command.history
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:

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");
    }
}
Contact & Support:

  • 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.
If you have further wishes, please let me know. :)
Author
LlamaDevelopment
Downloads
5
Views
5
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from LlamaDevelopment

Back
Top