Simple Ban plugin that uses ORM with Mysql and DI via Google Guice
If you want to use this plugin, keep in mind that it's still in development and bugs may occurr. I haven't found any so far but If you do, please add an Issue.
Go to releases and download the latest .jar. The version v0.0.1-alpha supports Spigot 1.18. After the first run you will find a directory in the plugins folder with the name "PlaylegendBans". Go into that directory, open config.yml and set the mysql credentials. Without that set, the plugin won't start.
The plugin provides 2 commands. One for ban and one for unban.
Usage: /ban <player> [duration] [message or reason]
Alias: b
Permission: playlegend.ban
Bans the specifed player for a specific amount of time (duration) and with a message.
Argument | Default value | Configurable |
---|---|---|
Duration | 999y | |
Message | Unbekannter Grund | X |
For the format of the duration see section 3 (Duration Format)
Usage: /unban <player>
Alias: ub
Permission: playlegend.unban
The duration for a ban can be provided in a simple format.
For example like this: 3M7d
will be translated to 3 months and 7 days those will be added to the current date
In action: /ban Notch 3M7d Cheating
Unit | Timeunit |
---|---|
y | Year |
M | Month |
w | Week |
d | Day |
h | Hour |
s | Second |
Duration can be changed as long as you wish. 1y7M7w1s10h3d2y9h4M27s
is also working.