WalkDamage [1.8 -> 1.17.1] Lost health when walking on the block damage icon

WalkDamage [1.8 -> 1.17.1] Lost health when walking on the block damage -----

You will be lost health if you're walking on the block is damaged



Add more feature
- Add random damaged block from minium to maxium. Remember all the number must be integer positive else your config.yml will be broken.
- Changed more config.yml. Sorry everyone who installed this plugin!

(!) Copy this 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"

#Send a message for player about that player is damaged by the block:
#true will be send a message for that player is damaged else false is not send message.
allow-message: true
message-damaged-player: "&eYou were damaged by the block"

#Reload config.yml file:
reload-config: "&aReloaded config!"

#If the config.yml is broken, send this message in console.
broken-config-message: "&cThere are something wrong in config.yml! Please check."

#Allow for all gammode is damaged also CREATIVE!
#true, player who are their gamode SURVIVAL or CREATIVE is still damaged, false just only SURVIVAL is damaged!
#value only: true or false
damaged-all-gamemode: true

#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)
#      default:
#         allow: <true/false>   (<-- This line about allow the value damaged is default) (true player will be lost health with default value, false health lost will be random min to max)
#         value: <integer positive number>    (<-- This line is the damaged default value)
#      health-lost:
#         max: <integer positive number>    (<-- The value which is the maxium random)
#         min: <integer positive number>    (<-- The value which is the minium random)
#
#
List-block:
    GRASS:
       default:
          allow: true
          value: 1
       health-lost:
          max: 2
          min: 1
Remember like and give me 5 stars for all my plugins. Thanks so much :love: :love:
----------, Oct 9, 2021
Resource Information
Author:
----------
Total Downloads: 247
First Release: Oct 7, 2021
Last Update: Oct 29, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings