xtext42 done https://www.dropbox.com/s/idgt3lpw48aiof5/NewFood.jar?dl=0 if you have any errors or find errors just tahg me and i will fix
15987632 Looked at the code and he doesn't want it to feed you he wants it to heal you eg hearts rather than hunger bars.
15987632 yea bwfcwalshy is right I need it to heal health which can be edited in the config also have a spam time bwfcwalshy Could you put out a demo version of the plugin? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
xtext42 i thought u wanted hunger? well ill fix that xtext42 updated for health https://www.dropbox.com/s/idgt3lpw48aiof5/NewFood.jar?dl=0 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
15987632 OMG thanks! hope this works I'm testing it now! forgot to tag u xD 15987632 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
xtext42 just change it to CoolDownYellow: 5 HealYellow: 5 CoolDownOrange: 5 HealOrange: 5 CoolDownBoneMeal: 5 HealBoneMeal:5 CoolDownLapis: 5 HealLapis: 5 and it should work fine ill upload a new version same link but the only different will be the generated config https://www.dropbox.com/s/idgt3lpw48aiof5/NewFood.jar?dl=0
Thanks 15987632 I'm trying this now 15987632 This is my console and again it didn't work ( I think i has something to do with the first 5 lines [19:43:02 ERROR]: Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key in "<string>", line 6, column 1: HealBoneMeal:5 ^ could not found expected ':' in "<string>", line 7, column 1: CoolDownLapis: 5 ^ at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[craftbukkit-1.7.2-R0.4-20140212.071124-2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:149) ~[craftbukkit-1.7.2-R0.4-20140212.071124-2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks] at EDIT by Moderator: merged posts, please use the edit button instead of double posting.
15987632 ok thanks 15987632 I found this as well (btw my server is running 1.7.2) [21:04:41 ERROR]: Could not pass event PlayerInteractEvent to NewFood v1.0.0 org.bukkit.event.EventException EDIT by Moderator: merged posts, please use the edit button instead of double posting.
xtext42 fixed everything and tested it myself. PS you need to delete ur config again https://www.dropbox.com/s/idgt3lpw48aiof5/NewFood.jar?dl=0
15987632 It works but is the time measured in secounds? If so can you make the spam time in ticks instead