- Change the edi value lost health in command.
- Change config.yml about edit block.
- Add permission
(!) Config.yml has changed please copy this config.yml file for your server if you're using the previous version.
Config.yml
Code (Text):
#Prefix-plugin:
prefix-plugin: "&e[&cWalkDamaged&e]"
#The command is not exist:
command-not-exist: "&4The command is not exist. Please use &e/wd help&4 to see"
#When the player or someone using the command set a value health lost, send them a message that set value success:
set-value-success: "&eNow the value health lost has set to"
#Set a value lost health for the block, some method player input not correct the name block:
block-not-exist: "&eThe name block is not exist. Make sure the name block must be &cUPCASE &eand &cexist in config.yml&e!"
#If the sender don't have permission, send them a message:
no-permission: "&4You don't have permission to do that"
#Reload config.yml file:
reload-config: "&aReloaded config!"
#Check all the block that player move above them is damaging:
#This is syntax, you can use it to custom your block:
#
#List-block:
# <block_name>: (<-- This line is about the name block, the name block must be UPCASE)
# health-lost: <value-number> (<-- This is is the value health lost, the number maybe the "real number". Player's max health is 20)
#
#
List-block:
GRASS:
health-lost: 1
STONE:
health-lost: 2
Permission:
Code (Text):
walkdamage.command.admin: Allow use the admin's command
walkdamage.damage.bypass: No damage when you move above the block damage