What does this plugin offer? It is a simple open source plugin that allows you to execute a custom command after a player dies, it is optimized, and is constantly being improved. Commands /deathban [nick] - That command shows gui where can you see your last death stats/your or other players deathscore /deathban reset [nick] - That command reset your or other players deathscore /deathban toggle - That command turn off/on custom event after death /deathban help - That command shows help page
Permissions deathban.bypass - That permission gives you protection against custom event after death deathban.score/scoreother - That permission gives you access to use /deathban command deathban.reset/resetother - That permission gives you access to use /deathban reset [nick] command deathban.toggle - That permission gives you access to use /deathban toggle command deathban.help - That permission gives you access to use /deathban help command deathban.admin- That permission gives you access to use admin gui /deathban
Config.yml
Code (YAML):
########################## # DeathBan # # created by BoyBACKS # ##########################
# !!! I'm using google translate software to translate messages and comments.
# This plugin is sooo easy to use! # You need only paste your command below!
# Yeah thats right # paste command down below
# ↓ Here paste it! ↓ command: "ban {PLAYER}"# ← Soo replace it!
# ↑ JUST PASTE IT! ↑
# Time counted in 'ticks' to execute the command (20 ticks = 1s) # !!! Values less than 5 may result item cloning time: 5
# !!! For version 1.7 you can manage that options in gui by using '/deathban' command # Change it to 'false' if you want disable custom event after death, you can disable it using '/deathban toggle' command enable: true
# To use admin gui you need 'deathadmin.gui', gui: # Change it to 'false' if you don't want gui. If set to 'True', the chat will not show the sample message # 'score: '&aYour Death Score is&l {SCORE}' / scoreother: '&a{PLAYER}'s Death Score is &l{SCORE}'' enable: true
# Change it to 'false' if you don't want name tag in gui with player nickname nickname: true
# Change it to 'false' if you don't want book in gui with player deathcout deathcouter: true
# Change it to 'false' if you don't want compass in gui with player last death location lastdeathlocation: true
messages:
# Message that displays after death with 'deathban.bypass' permission bypass_die: "&aWoW! You survived this :O"
# To use '/deathban' command you need 'deathban.score' permission score: "&aYour Death Score is&l {SCORE}"
# To use '/deathban <nick>' command you need 'deathban.scoreother' permission scoreother: "&a{PLAYER}'s Death Score is &l{SCORE}"
# To use '/deathban reset' command you need 'deathban.reset' permission reset: "&aYour Death Score has been reset"
# To use '/deathban reset <nick>' command you need 'deathban.resetother' permission resetother: "&aYou reset Death Score for the {PLAYER}"
# To use '/deathban toggle' command you need 'deathban.toggle' permission enable: "&aYou &lenable &acustom event after death" disable: "&aYou &c&ldisable &acustom event after death"
# To use '/deathban help' command you need 'deathban.help' permission help: "&a&lCommand list:\n/deathban [nick] &a- show your death score \n&l/deathban reset [nick] &a- reset your/other players death score \n&l/deathban help &a- show this page \n&l/deathban toggle &a- toggle custom event after death" no_player: "&cPlayer &l{PLAYER} &cis offline" no_permission: "&cHey! You don't have permission!" console: "&cHey! Only player can use that command!" noupdate: "&cHey! There is not a new update available." update: "&cHey! There is a new update available. You can download it here https://www.spigotmc.org/resources/deathban.91723/"# Or down here ofc :D # Still need help? See my Github (https://github.com/BoyBACKS/DeathBan) or the plugin at spigot.org (https://www.spigotmc.org/resources/deathban.91723/)