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 new file .yml, heal player (new feature), Support 1.17 and 1.17.1
- This update will be create a new file .yml, please remove all the custom block in "config.yml" old file and try the new file with the name "datablock.yml"
- Add heal player who is waking above the block can heal.
- Support last version minecraft (1.17 and 1.17.1)
(!) Config.yml add new line and remove custom block, the default config.yml file look like this, you can add some line is new or copy all and paste.
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"
message-healed-player: "&aYou were heal 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."

#If the sender is not a player. Send them a message:
not-player: "&4You're not a player!"

#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  
(!) datablock.yml file:
Code (Text):
#This file is talking about custom the block damaged or heal the player's health
#This is sytanx, you can follow it to make a block can damaged to player
#
#Block:
#   <name_block>:                                 (<-- The name block can damaged or heal health's player when the player's moving above this block, the name block must be UPCASE)
#         type-damage: "<lost/heal>"              (<-- Type of the damage for that player, the damage just only 2 type is: lost and heal)
#         change-health:
#            min: <integer number>                (<-- The minimum value the plugin can automatically generate a number for type-damage)
#            max: <integer number>                (<-- The maximum value the plugin can automatically generate a number for type-damage)
#
#If the value min and max is same as, the block will be damage (lost/heal) with the value default.

Block:
   STONE:
      type-damage: "lost"
      change-health:
         min: 1
         max: 2
   IRON_BLOCK:
      type-damage: "heal"
      change-health:
         min: 1
         max: 3
----------, Oct 29, 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