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!
@BlackFing85
And the idiot award goes to:me!! Haha, I added that about 3 weeks ago, tested it, debug it, but firgot to release it. Oh my god!
Can you add mute too?
@tylertran007
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 '.
Whenever I edit the prefix it goes back to custombanplugin =(
@Dogovan
Ok.
Awesome plugin. Do you think you could add an exempt permission, like the one essentials has?
I had to remove this plugin; because my Member players who had no preset permissons were able to use every command. Im glad to see that this is fixed, and will be installing again :)
@PatoTheBest
Ok
@ProMiner909
Later, right now I am adding /mute, /unmute, and /temp-mute commands.
and maybe add /warn to this like the commands from here http://dev.bukkit.org/bukkit-plugins/siwa/
/warn (player) reason /warn Lookup (player) /warn delete (player) (warning ID 1,2,3 ect)
then have a file that contains all the warnings
that would be so helpfull
great plugin but i cant change the prefix as i love the plugin but i cant change the prefix when u read this contact me on skype theseals.globe
This plugin is BRILLIANT! So much better then the crappy ban hammer that is in essentials!
I cant wait till you include the log and temp mute
Well done!
@PatoTheBest
This little variable broke permissions: this.usePermissions = usePermissions(); should be this.usePermissions = usePermissions;
Should have recorded my face when I found out this.
@LoudItalianGuy
Let me check that.
No they don't. Players can ban everyone. At least with groupmanager.
@PatoTheBest
Perms do work
@Hellbreath2
What permission plugin you using?
Just mentioned today : The permissions are not working. Everyone can ban players! Need a fix ASAP D:
Hello PatoTheBest,
I wondered if you could add : - A command to mute players with reasons. So when they try to talk it says why. - A command to see a list of all banned players (With the reasons why they are banned). - A command to see how many times a player has been muted / kicked / warned. (I'd rather a command like this, /info name) - A command to see how long a player has been playing on the server. So we can adjust the bans specific per player. (I'd rather to have it in a command like this, /info name) - A command to warn people with a nice config would also be really cool. Then whenever a player reaches a certain amount of warnings he gets muted.
Thank you for reading this. Hellbreath2.
@xdeathoreox
Never worked with mysql. Will look into that. Maybe yes.