- Add feature heal, lost health player when they are eat!
- Add more permission. (change permission: foodteleport.player.health)
(!) Config.yml hasn't changed, but it has add more something new! Please coppy all this line in your config.yml file.
Code (Text):
#If player lost the health or heal the health when they teleport by eat. Send them a message for that player!
allow-send-messge: true
heal-message: "&aYou were heal &e<value> &ahealth!"
lost-message: "&4You were lost &c<value> &4health!"
(!) Config.yml default!
Code (Text):
#Prefix-plugin:
prefix-plugin: "&e[&dFoodTeleport&e]"
#Command not exist:
command-not-exist: "&4The command is not exist. Please use &e/ft help&4 to see all"
#If the player can teleport send this message for that player:
teleport-success: "&aTeleport success!"
#Safe mode is turn off, and the player teleport to the block which move above the block air (void):
no-safe-mode-void-block: "&4Safe mode is turn off in this block! Becarefull you will be fell in the void"
#If the player can't teleport because the safe-mode is true, send them a message:
safe-teleport: "&eStop teleport! Safe teleport is true"
#Move up 1 block because you are teleport is not safe, you will be stuck but luckily is not damage:
safe-teleport-move1-block: "&eSafe teleport! You have moved up 1 block to avoid stuck"
#Reload plugin:
reload-plugin: "&aReload plugin!"
#If something is not player execute maybe a console or commandblock, send this message for sender:
not-player: "&4You're not a player"
#If the config.yml file is broken, send this command in console:
broken-config-message: "&4The block is not edit successfully, please check and fix it!"
#If player lost the health or heal the health when they teleport by eat. Send them a message for that player!
allow-send-messge: true
heal-message: "&aYou were heal &e<value> &ahealth!"
lost-message: "&4You were lost &c<value> &4health!"
#This is a part about edit block move.
#This is sytanx, you can follow it to edit yourself about food teleport
#
#List-block:
# <name_food>: (<-- This line about the name food can teleport, the name food must be UPCASE, remember some food are only support your version, but it can't support lower version)
# move:
# x: <integer_number> (<-- The number maybe positive or negative number, if postive number will be add else negative number will be abstract)
# y: <integer_number> (<-- The number maybe positive or negative number, if postive number will be add else negative number will be abstract)
# z: <integer_number> (<-- The number maybe positive or negative number, if postive number will be add else negative number will be abstract)
# option:
# safe-mode: <true/false> (<-- Safe teleport when you fell a void or stuck in the block, if this line don't have, default will be false)
# health: <value> (<-- Health's player maybe add or abstract is depend on the value, the value can be positive or negative number!)
# type: <heal/lost> (<-- The value for this line only heal or lost, heal is mean add more hp for player else lost will be take amount hp from player)
# max: <integer_number> (<-- Maximum for the range heal or lost health player)
# min: <integer_number> (<-- Minimum for the range heal or lost health player)
#
#If the value max and min same as the value. Example the value 5 in the type "heal", the player will be heal with value is 5!
#If you don't know about x, y, z you can search on google or say some your friend's to know about this.
List-block:
COOKED_BEEF:
move:
x: 5
y: 0
z: 0
option:
safe-mode: false
health:
type: "heal"
max: 3
min: 1