[DeathBans]

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

DeathBans

http://i.imgur.com/gLyeNGA.png

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

CommandDescriptionPermission
/DeathBans unbanUnbans a playerdeathbans.admin
/DeathBans editlivesAdds/Takes lives to/from a playerdeathbans.admin
/DeathBans checkChecks if a player is banneddeathbans.admin
/DeathBans exemptAdds a player to the exemption listdeathbans.admin
/DeathBans unexemptRemoves a player from the exemption listdeathbans.admin
/DeathBans livesChecks a players livesNone
/DeathBans reviveRevives a player at the cost of 1 of your livesNone

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.
Source

https://github.com/walterrocks91/DeathBans-Revamped/tree/master/src/me/walterrocks91/DeathBansRevamped

Terms and Conditions

http://dev.bukkit.org/bukkit-plugins/deathbans/pages/t-c/


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    89802
  • Created
    Feb 22, 2015
  • Last Released File
    Jul 8, 2015
  • Total Downloads
    6,602
  • License

Categories

Members

Recent Files