bans

A simple ban plugin, nothing extra, just what you need.

172

bans

A simple ban plugin, nothing extra, just what you need.

config:

```

Time settings

time:

Time zone (for example: Europe/Moscow, Europe/London, Asia/Yekaterinburg)

timezone: "Europe/Moscow"

Offset in hours (if timezone doesn't work, use this)

offset-hours: 0

Date and time format

date-format: "dd.MM.yyyy HH:mm"

Messages for temporary ban

temporary-ban: message: - "&c&lYou have been banned from the server" - "&7For the reason: &f{reason}" - "&7Admin: &f{admin}" - "&7From &f{start_time} &7to &f{end_time}" - "&7" - "&7You can appeal the ban on our Discord server"

Permanent ban message

permanent-ban: message: - "&c&lYou have been banned permanently" - "&7For the reason: &f{reason}" - "&7Admin: &f{admin}" - "&7" - "&7The ban was issued: &f{start_time}" - "&7" - "&7You can appeal the ban on our Discord server"

Messages when the task is successfully completed

ban-success: "&aPlayer &f{player} &ahas been banned!" unban-success: "&aPlayer &f{player} &ahas been unbanned!" reload-success: "&aConfig has been successfully reloaded ```

commands:

``` ban: description: Ban a player usage: /ban <nickname> [time] <reason> permission: bans.ban aliases: [бан] unban: description: Unban a player usage: /unban <nickname> permission: bans.unban aliases: [разбан] banreload: description: Reload the config usage: /banreload permission: bans.reload aliases: [breload] ```

permissions:

``` bans.ban: description: Allows you to ban players default: op bans.unban: description: Allows you to unban players default: op bans.reload: description: Allows you to reload the config default: op bans.immune: description: Immunity to bans (cannot be banned) default: false bans.notify.ban: description: Receive notifications about bans default: op bans.notify.unban: description: Receive notifications about unbans default: op ```

ADS