Others plugin
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.