Sueta
DI

Dil-Bans

1.0.0

The most customizable baning/muting plugin

·Plugin

This plugin requires Vault to function properly!
You can download current version here: https://www.spigotmc.org/resources/vault.34315/

Features:
- Allows you to ban/tempban/banip/tempbanip/mute/tempmute players
- When player is offline but has played on the server you can ban his IP by banning username (plugin will do it for you)
- Custom ban/tempban/banip/tempbanip messages
- Tempmute with custom countdown and final message as actionbar/subtitle/title
- Sound on final and countdown to the end of mute
- All messages to players and admins are customizable in messages file
- Store all user's data in file and MySQL database and file
- Can disallow banning/muting even offline players with special permission
- Tested on 1.14 and above minecraft versions





List of commands:
By using '-s' argument and if you have dilbans.silent permmision you can disable broadcast for used command

Commands

- /ban <PlayerName> (-s) <Reason> - Bans player
- /tempban <PlayerName> <TimeNumber>:<TimeUnit> (-s) <Reason>- Temporarily bans player
- /unban <PlayerName> (-s) - Unbans player
- /banip <PlayerName/IP> (-s) <Reason> - Bans IP
- /tempbanip <PlayerName/IP> <TimeNumber>:<TimeUnit> (-s) <Reason>- Temporarily bans IP
- /unbanip <PlayerName> (-s) - Unbans IP
- /mute <PlayerName> (-s) <Reason> - Mutes player
- /tempmute <PlayerName> <TimeNumber>:<TimeUnit> (-s) <Reason> - Temporarily mutes player
- /unmute <PlayerName> (-s) - Unmutes player
- /kick <PlayerName> - Kicks player
- /checkstatus <PlayerName> - Checks bans/mute status of player
- /dilbans reload - Reloads config and message files
- /dilbans help - Displays help message

List of permissions:

Permissions

dilbans.* - gives all possible permissions of Dil-Bans plugin
dilbans.ban - allows to use ban command
dilbans.tempban - allows to use tempban command
dilbans.noban - disallows admins to ban player with this permission
dilbans.banip - allows to use banip command
dilbans.tempbanip - allows to use tempbanip command
dilbans.nobanip - disallows admins to ip ban player with this permission
dilbans.unban - allows admins to use unban command
dilbans.unbanip - allows admins to use unbanip command
dilbans.silent - allows admins to ban/banip/mute in silent mode (broadcast will not be displayed)
dilbans.checkstatus - allows admin to use checkstatus command
dilbans.kick - allows to use kick command
dilbans.mute - allows to use mute command
dilbans.tempmute - allows to use tempmute command
dilbans.unmute - allows to use unmute command
dilbans.nomute - disallows admins to mute player with this permission
dilbans.reload - allows admin to reload config and messages files

Default config settings:

config

#You can store bans documentation in file and mysql
StoreInFile: true
StoreInMySQL: false
#Plugin will display message in console when the update is available
CheckUpdates: true
#Mysql connect settings
MySQL:
ip: 'localhost'
port: 3306
login: 'login'
password: 'password'
#Here you can set full name of units, which will be displayed in ban messages and broadcasts
SecondsName: 'Second(s)'
MinutesName: 'Minute(s)'
HoursName: 'Hour(s)'
DaysName: 'Day(s)'
MonthsName: 'Month(s)'
#Here you can set shortcuts of units, which will be used in commands
SecondsShortcut: 's'
MinutesShortcut: 'min'
HoursShortcut: 'h'
DaysShortcut: 'd'
MonthShortcut: 'mo'
#Here you can set date format which will be displayed in users.yml and in ban messages
DateFormat: 'dd-MM-yyyy HH:mm:ss'
#You can set the number of seconds to count down when a player has been temporarily muted
MuteTimer: 10
#You can set which messages player can see during count down to the end of mute
ActionBarStatus: true
TitleStatus: false
SubtitleStatus: true
#Sounds for count down to the end of mute
SoundTimer:
Status: true
Sound: BLOCK_DISPENSER_LAUNCH
Volume: 10
SoundTimerFinish:
Status: true
Sound: ENTITY_FIREWORK_ROCKET_TWINKLE_FAR
Volume: 10
#Commands blocked when player is muted
MuteBlockedCommands:
- 'me'
- 'say'
- 'msg'
#List of ips which noone can ban
IPAntiBan:
- '127.0.0.1'

Default messages file:

Similar projects

Plugin →