New food

Discussion in 'Archived: Plugin Requests' started by xtext42, Aug 31, 2014.

  1. Offline

    VG.Developments

    This taken? Doesn't look to hard.
     
  2. Offline

    xtext42

    VG.Developments likes this.
  3. VG.Developments I haven't got the most time right now if you want to take it you can.
     
  4. Offline

    xtext42

  5. Offline

    15987632

    xtext42 there is no yellow dye but i assume you mean dandelion yellow. PS i will make this
     
  6. 15987632 likes this.
  7. Offline

    15987632

  8. 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.
     
  9. Offline

    xtext42

    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.
     
    Last edited by a moderator: Jun 10, 2016
  10. Offline

    15987632

    Last edited by a moderator: Jun 10, 2016
  11. Offline

    xtext42

    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.
     
    Last edited by a moderator: Jun 10, 2016
  12. Offline

    15987632

    xtext42 wat... both things are the same
     
  13. Offline

    xtext42

    15987632 Wait I just found it see it says HealLapis 2 times so it doesn't work on the config
     
  14. Offline

    15987632

    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
     
  15. Offline

    xtext42

    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.
     
    Last edited by a moderator: Jun 10, 2016
    15987632 likes this.
  16. Offline

    15987632

  17. Offline

    xtext42

    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.
     
    Last edited by a moderator: Jun 10, 2016
  18. Offline

    15987632

  19. Offline

    xtext42

    15987632 It works but is the time measured in secounds? If so can you make the spam time in ticks instead
     
  20. Offline

    15987632

  21. Offline

    xtext42

    15987632 likes this.

Share This Page