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



Others plugin

1. ExpBreakBlock (Free) break any blocks to get experience.
[​IMG]
2. FoodTeleport (Free) Eating food to teleport!
[​IMG]
3. WalkDamged (Free) You will be hurt if you're walking above the block which that block can make damaged
[​IMG]

Read Carefully

This plugin just only support for 1.8 -> 1.17.1. No supported for belower than 1.8
If my plugin has errored, please send that error in conversation or if you want to send that error in comments, put it in some web like: hatebin, pastebin,... And i never reported for someone who put that error in comments ;);)
No advertise, bad comments, ... in my plugins. Thanks :)

WalkDamaged
Walking on the block that the blocks are damaged, you will be lost the health. Advanced about not only the block "Magma Block" made damage also all the block other can make damage if you config.yml.

Config.yml
You can copy and paste it in your file if you can't file this config.yml or the file config.yml has broken

[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"
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]​
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
Command
Code (Text):
/wd reload: Reload the plugin[code][/LEFT]
[CENTER]
Permissions[/CENTER]
[LEFT][code]
walkdamage.command.admin: Allow use the admin's command
walkdamage.damage.bypass: No damage when you move above the block damage

Vote 5 stars for my plugins. Thank you so much!!!
About language suppport, you can edit the message in config.yml for yourself but the main language is English.
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