CustomBanPlugin
Custom Ban Plugin
This plugin will allow you to ban, un-ban, temp-ban, and kick players with a very nice custom kick screen. This plugin will require Java7!
____________________________________________________________________________
Features
- Ban a player with a reason
- Un-ban a player
- Temporarily ban a player
- Kick a player
- Permission support
- NEWUpdater
- NEWPrefix
- NEWToggle ban broadcast or notify players with perm
____________________________________________________________________________
Installation
- Download the latest file
- Drag and drop the plugin in your server's plugins folder
- Start and Enjoy! :)
____________________________________________________________________________
Commands and Permissions
| < > required, [ ] optional | ||
|---|---|---|
| Command | Function | Permission |
| /ban <player> [reason] | Ban a player | custombanplugin.ban |
| /unban <player> | Un-Ban a player | custombanplugin.unban |
| /tempban <player> <time> [reason] | Temporarily ban a player | custombanplugin.tempban |
| /kick <player> [reason] | Kick a player | custombanplugin.kick |
| NEW/cbp reload | Reloads the config | custombanplugin.reload |
| NEW/cbp update | Updates the plugin | custombanplugin.update |
| *No Command | Access to all permissions | custombanplugin.* |
| NEW*No Command | Recieves a notification id there is an update | custombanplugin.update |
| NEW*No Command | Will be notified when player is banned/unbanned/temp-banned/kicked | custombanplugin.notify |
____________________________________________________________________________
Configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ############################################################ # +------------------------------------------------------+ # # | Custom Ban Plugin Configuration | # # +------------------------------------------------------+ # ############################################################ #All of the config is new and self-explained checkforupdates: true PrefixEnabled: true Prefix: '&7[&6CustomBanPlugin&7] ' broadcast: kick: true ban: true unban: false temp-ban: true |
____________________________________________________________________________
Pictures

____________________________________________________________________________
To-Do
Previous Versions:
Release itNicer Kick ScreenBroadcast when a player is kicked/banned (toggled)Persons with perms can view ban messagesAbility to change/remove pre-fixNew Updater (/cbp update to automatically update to the new version,)Reload config command
For new update:
- Temp-ban tweaks
- Messages.yml file
- Bans.yml file
Planned:
- Mute/unmute/temp-mute
____________________________________________________________________________
If you want to suggest something, post below! If you have a comment about this plugin whether you like it or not, post below!
-
View User Profile
-
Send Message
Posted Oct 9, 2018I'm completely new to this. Where do I type in the configuration stuff to make it true and all that?
-
View User Profile
-
Send Message
Posted Mar 4, 2017COOKIES
-
View User Profile
-
Send Message
Posted Jul 10, 2016can u make a warning system with 1 arn nothing 2 warns kick 3 warns tempban 15 inutes or something?? and that we can change time to and maybe a mute system BTW awsome plugin BUT fix that we can unban pls
-
View User Profile
-
Send Message
Posted Mar 12, 2018In reply to GFHunter:
-
View User Profile
-
Send Message
Posted Mar 2, 2016Good Job! Can't unban players! Best ban plugin i ever see!
-
View User Profile
-
Send Message
Posted Jun 9, 2015Please, update for 1.8 It still works, but it really eats resources. Watch this log for proof:
http://timings.aikar.co/?url=11674595
We renamed the plugin to DKCBans cuz the server is called DKC
It says this:
Pct Total Pct Tick Total Avg PerTick Count Event 0.45% 247.01% 0.62 s 123.50 ms 0.0 0.0k BanListener::latePlayerJoin(PlayerJoinEvent) 0.00% 0.04% 0.00 s 0.02 ms 0.0 0.0k BanListener::PlayerLoginEvent(PlayerLoginEvent).
Thanx!
Also, when (temp-)banning someone, the server hangs / laggs for about 10 seconds, very annoying!
-
View User Profile
-
Send Message
Posted Mar 11, 2015Hi, For the next Update:
1. Limit, that limits the time for a ban in /tempban 2. /unban delets user from banned players list 3. that a player with specified permision can't be banned, muted or kicked.
Thanks for reading.
-
View User Profile
-
Send Message
Posted Feb 21, 2015You should add a command to see how many kicks the player has had in the past and the reasons why. Also when the mute feature has come out. If they're muted. Have been temp muted and have been tempbanned.
-
View User Profile
-
Send Message
Posted Feb 4, 2015Make it support bungeecord pls...
-
View User Profile
-
Send Message
Posted Jan 21, 2015The only problem is "5seconds" rather than "5 seconds" xD
-
View User Profile
-
Send Message
Posted Jan 8, 2015Update on 1.8 please
-
View User Profile
-
Send Message
Posted Dec 22, 2014Please add MySQL support
-
View User Profile
-
Send Message
Posted Dec 1, 20141.8?
-
View User Profile
-
Send Message
Posted Nov 13, 2014Please update to add UUID support.
Apart from that, plugin is much appreciated. Thanks for your efforts :)
-
View User Profile
-
Send Message
Posted Nov 2, 2014@ZukPvP
You are editing the config and then reloading. When the plugin disables, it saves any unsaved changes such as bans or mutes. This means it won't discard changes and read the config, so you must completely stop the server, edit the config, save it, and start it up. You can alternately edit the config and then do /cbp reload.
It may also be resetting if you entered an incorrect config. By incorrect I mean you forget one of the '.
-
View User Profile
-
Send Message
Posted Oct 23, 2014I can't change any of the configs? I try to change the name, and also try to change the global bans, etc. It will not update or upload to the server. It justs goes back to normal.
-
View User Profile
-
Send Message
Posted Oct 13, 2014Please add a Proxy Network Ban, For bungee
-
View User Profile
-
Send Message
Posted Aug 10, 2014PLEASE ADD WARN!
-
View User Profile
-
Send Message
Posted Jun 24, 2014I will test the new version and do u have plans for a /banlist command to show whos banned
-
View User Profile
-
Send Message
Posted Jun 23, 2014PM me whoever want to test the new version.