[DeathBans]
DeathBans
Notice
Currently, I feel as if deathbans is in a 'finished' state, if anyone has anything they would like to see added I will add it if I believe it is worth adding, please remember I am not always free as I am a developer for MineSuperior HCF (CursedHCF), which is taking up most of my free time, again sorry for the lack of updates, however I will repeat myself again - I believe this plugin is in a finished state.
Description
Ever wanted a HCF Server but didn't know how to code? Did you look up deathbans plugins to no avail because they were all outdated? I created this plugin for just those reasons, Currently DeathBans has a simple to use API but is fully functional without knowledge of coding, DeathBans also runs off of a UUID banning system so if you have a long ban time, players cannot bypass that via name changes - Also handles a simple 'lives' system.
Commands
Command | Description | Permission | |
---|---|---|---|
/DeathBans unban | Unbans a player | deathbans.admin | |
/DeathBans editlives | Adds/Takes lives to/from a player | deathbans.admin | |
/DeathBans check | Checks if a player is banned | deathbans.admin | |
/DeathBans exempt | Adds a player to the exemption list | deathbans.admin | |
/DeathBans unexempt | Removes a player from the exemption list | deathbans.admin | |
/DeathBans lives | Checks a players lives | None | |
/DeathBans revive | Revives a player at the cost of 1 of your lives | None |
Configuration
Only copy & paste if your config does not generate correctly.
ban-reason: '&cYou are still deathbanned for &e%remaining%' kick-reason: '&cYou have died, and are now DeathBanned!' ban-length: 90 timeframe: minute lightning-strike: true delay-ban: false prefix: '&f[&cDeathBans&f]' denied-worlds: - 'DENIED_WORLD' perms: diamond: lessened-banlength: 60 timeframe: minute gold: lessened-banlength: 45 timeframe: minute iron: lessened-banlength: 30 timeframe: minute
Permissions
Since people seem to be having troubles with permissions, here is how to use them.
Inside of your config you should have something like this:
perms: diamond: lessened-banlength: 60 timeframe: minute gold: lessened-banlength: 45 timeframe: minute iron: lessened-banlength: 30 timeframe: minute
In this case, 'diamond' is the name of the permission node, prefaced with 'deathbans.' so the entire permission node for diamond would be
'deathbans.diamond', due to lessened-banlength set to 60 and the timeframe set to minutes, it removes a total of 60 minutes from the ban time when a player is given deathbans.diamond as a permission node.
Message Variables
Only current Message Variable is %remaining% in ban-message, which shows the remaining time on the ban.
TODO
- #1 - DeathBans API - Finish the DeathBans API
- #2 - Add bungeecord support - Add bungee support for bans.
@walterrocks91
Thank you so much! edit: I am not using the revamp version yet as it is not on bukkit yet but when I die and get deathbanned then respawn, my items are still on me / in my inventory as well as getting dropped on death. I would like it so they do not stay in my inventory, is this a bug?
@Retsiem
Remaining ban time variable is now added in DeathBans revamped (DeathBans v4.0), the variable is %remaining% as shown on the main page.
Revamp of deathbans will be released once bukkit staff accept it! thanks for the patience <3
Currently working on an ENTIRE revamp of DeathBans, which at the moment has not yet been released, but is on github for those of you who want to see updates. Thanks for waiting for my HDD to be reformatted <3!
@Retsiem
TODO
Direct copy from the page description, so the #1 focus will no doubt be the Remaining ban time :)
@walterrocks91
Thanks for the reply, well if you could at least get the remaining ban time when they try to join the server, that would be extremely helpful to me. :)
@Retsiem
I have no clue at all, however i've been having troubles getting bungee working sadly, still will attempt to get it added ASAP
Hey! Thanks for making this great plugin, just a few questions. Since you're re-formatting your harddrive is there any ETA on when you can get the bungeecord and remaining ban time updates out? This would mean a lot to me thanks!
@Stran21
I plan to add something of that sort ASAP, but sadly my computer hdd is being reformatted because my JDK and JRE were mest up, couldn't re download, etc etc, i'll get to it ASAP though :)
Awesome plugin! However, it would be neat to see the remaining time on the death ban on the kick message. Other then that, it seems to work well!
Releasing a new version of deathbans, more stable way of setting up configs & files within deathbans rather then having it done manually (not within a method) in the onenable, please remember that Unsupported major.minor version errors are due to your java version, and is out of my control.
I would love to see some input on me creating a KOTH plugin for all you people making HCF servers, however I know there probably are KOTH plugins out there already, just tell me if you would like me to create a KOTH plugin for everyone via the Poll on the main page. Thanks <3
I will now be compiling DeathBans in Java 8 as it releases some of the load on the server when running DeathBans, I will not be supporting Java 7 downloads anymore, so if you need a Java 7 version of DeathBans, use v3.9.1 or lower. thanks :)
If you have ANY suggestions at all for what I should add into DeathBans 4.0 please do post them as a thread @ http://dev.bukkit.org/bukkit-plugins/deathbans/forum/ or in the comments here as I am trying to make 4.0 a bigger update, rather then just small bugfixes / optimizations. Thanks <3
Just released another new version of deathbans, fixed a larger error which reverted the config back to its last state when the server reloaded/restarted, and added a new command (/DeathBans info) which contains some generic deathbans info.
Just released a new version of deathbans, removed /deathbans list as it was buggy, but fixed unbanning issues (allowing players to unban someone as many times as they want, instead of giving them an error)
I will now start removing any plugin problems from comments, if you wish to report a problem within deathbans do so by going to http://dev.bukkit.org/bukkit-plugins/deathbans/tickets/ and filling out a ticket, thanks :)
@xGG_Alex
No problem! glad you liked it :)
thanks heaps man!
New update, small API change within the main DeathBans class for getting the plugin, as well as fixing some minor spelling errors