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!
Recoded EVERYTHING for the UUIDs. Added the bans.yml and mutes.yml, that means that /muet, /unmute, and /tempmute is implemented. Testing the version before releasing it.
You could add mute and unmute command ;)
When you type /cbp reload or /custombanplugin reload, you get this error: http://paste.md-5.net/qobowoqami.profile
@coolwolf9999
Add permission - -custombanplugin.notify
Is there a way that I can make it so the players can't see when a person is getting banned?
Can you add a optional field with ban,tempban etc. for banner. And global config option for banner name
I'd like to hide the Moderators name that banned the player.
Would be greatly appreciated! Nice plugin anyway! Keep up the good work!
When is the UUID support added?
It would be great if you added /warn
@PatoTheBest
Also a permission like custombanplugin.kick.exempt or something would be nice. So people like the owner cant be kicked or banned or muted and such.
the player auth system in your plugin is bugged. It seams the server hits a huge lag spike whenever someone logs in. I ran my debug scoreboard, and the Ping was VERY HIGH somewhere in the 10 millions. So that's pretty much the only thing I need fixed, is the lag spike on login. :)
I recommend that you add a mute feature.
@ProMiner909
@tylertran007
On the next release will add /banlookup (alias /baninfo) <player>
@subway5411
I've never encountered the bug. Will look into that.
Yes I definitely agree you should switch to UUID's first but after that I really suggest that you add ban lookups, otherwise I gotta go into the files to see who was banned in such. IP bans is also a good idea. This is highly needed! Just something simple like /banlist and /banlookup <playername>. Anyhow, thanks man and keep up the good work! I looked through all the ban plugins and picked this one. :)
NinjaPVP: 192.99.19.209:25580
There is a bug where whenever someone does /ban, /kick... etc with no permission, the server gets a HUGE lag spike. Also the plugin is slow. It takes forever to start and stop. When I go to permanent ban a player that has been banned before, it puts the player back on a tempban. I'd like these bugs fixed but AMAZING plugin otherwise!! :)
Could u add a command to lookup a ban
EG Player enters /banlookup Username
If not banned This player has not been banned.
Temp Banned This Player was banned by Pro_Miner909 on 26/01/2013 This ban expires in 2 days 24 hours 56 minutes For Griefing Spawn
Perm Banned This Player was banned by Pro_Miner909 on 26/01/2013 This ban is a PERM ban For Griefing Spawn
@mantoko
Tried github, failed 7 times.
The reason I havent updated this is that im switching to uuids.
Maybe if you add mysql(but not just to upload there information about the bans, to be used as a database) support and also if you upload the source code in github so developers like me can suggest you things connected with the code :)(Very nice and simple plugin i like plugins like this :) )
@DerekZil
Maybe today, I have been answering with my phone becayse I can't go to my cimputer because I have been very Busy
@PatoTheBest
When are you going to upload that file? :D
@PatoTheBest
Hahaha...