[MECH] Hungry v0.3.1 - Yet another hunger plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by tr4656, Jun 14, 2011.

  1. Offline

    tr4656

    [​IMG]

    Hungry
    Authors: jonathanyc and tr4656
    Version: v0.3.1

    Hungry adds immersion to Minecraft! There is a reason to actually eat food in order to survive making it more realistic - so gather your food and actually eat so you won’t go hungry.

    Highlights:
    • There is actually a need to eat food (like real life)
    • Custom Language support
    Resources:
    Download Plugin
    Contribute at Bitbucket!
    Github Mirror

    Instructions, Permissions and FAQ:
    Our wiki is hosted at Bitbucket, and is available here.
    Quick Links
    To-do list and Known Bugs:
    See our Bitbucket issues page.

    Changelog:
    v0.3.1
    • Fixed eating events not registering when right-clicking on air.
    Credits:
    • Thanks to Fullwall, for his Gastronomic plugin (off which many parts of this plugin were based!)
    • Thanks to chernobyl360, for maintaining Gastronomic after Fullwall stopped (until he got hacked)
     
  2. Offline

    TelephoneKiosk

    It was working fine at first, then hunger just stopped increasing all of a sudden. I didn't get any error messages when it stopped working. I'll try deleting the config and then reloading it like you suggested. I'm using Essentials GroupManager btw.

    EDIT I deleted the player names in the config file and did a server reload and it's working now.
     
  3. Offline

    jonathanyc

    Alright - though that not alone is a sign of it going to continue working. If you downloaded the faulty version that was up for a moment, hunger may stop increasing for some players when a player alphabetically before them disconnects (or before them in the list in config.json)

    Hope it stays working. :p

    Setting resetHungerAtRespawn to false should do the trick. ;)

    I'll try to add documentation at the wiki.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  4. Offline

    TelephoneKiosk

    Hunger stopped working again. I downloaded the latest version, and it was working for a few minutes, then stopped raising my hunger level again. :(

    EDIT I think it stops working when I use /poof, but I'm not sure.
     
  5. Offline

    jonathanyc

    Alright - I'll cook up a "verbose" version so we can see what's going wrong.

    EDIT: The "verbose" version is available at http://icebrg.us/dl/HungryDebug.jar - it'll print a lot of messages to the server console prefixed with [Hungry] during the player-check-increment loop. If you notice something obvious, could you post back here? If you don't, and if it isn't too much of a bother, could you copy all things printed by HungryDebug and post them back here?

    Thanks. :)
     
  6. Offline

    TelephoneKiosk

    All right. Do I Install this one along with Hungry, or do I uninstall Hungry and replace it with this?
     
  7. Offline

    jonathanyc

    This is Hungry, except with more messages added - so you can disable Hungry and drop this in.
     
  8. Offline

    TelephoneKiosk

    Should I be getting the messages "In player loop for AbraciousPanda!" and "Putting AbraciousPanda's PlayerHunger back into storage"?
     
  9. Offline

    jonathanyc

    Yep - if you're getting "Putting <name here>'s PlayerHunger back into storage", that means that their hunger was at least updated.
    Are you getting other messages in between? Do players whose hungers don't increment get the same messages as those who do?
     
  10. Offline

    TelephoneKiosk

    It refuses to break now.
     
  11. Offline

    jonathanyc

    Heh, alright. Just post back when it does.
    If the problem is intermittent, it might be another timing issue (I'll investigate further along that line tomorrow)
     
  12. Offline

    Spycoclown

    is it posible to change the message of the command /hunger?

    I dont want that they see what hunger level the have. But they should see the hungerLevelNotifications message when they use the command /hunger?

    Code:
    "VAR_CURRENT_HUNGER_IS": "§aYour current hunger level is §f%s",


    to change to:

    Code:
    "VAR_CURRENT_HUNGER_IS": hungerLevelNotifications ,
     
  13. Offline

    jonathanyc

    [/FONT][/SIZE][/COLOR]
    [/CODE][/quote]
    Not at the moment, but that's an interesting idea. I'll look into ways of implementing that.[/CODE][/FONT][/SIZE][/FONT][/COLOR][/quote]
     
  14. Offline

    Tealk

    checkInterval
    in seconds?

    i would make a seperate data for the player hungry, because if you edit the config you have all time there the hungry of the player
     
  15. Offline

    spunkiie

    I can confirm 0.2.1 still has the stalled values problem.

    Good luck solving it guys. Don't give up please :)
     
  16. Offline

    Plague

    so is this the working thread or the gastronomic one?
     
  17. Offline

    spunkiie

    Hmm..

    AFAIK this is a new dev plugin
     
  18. Offline

    tr4656


    set "resetHungerAtRespawn":true to false in the config for making it not reset hunger at respawn.

    This is the working thread since we aren't working on gastronomic atm.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  19. Offline

    Plague

    soo, this is to be released and that one is to be considered inactive?
     
  20. Offline

    tr4656

    Yah.
     
  21. Offline

    Plague

    add a description to the title then ;)
     
  22. Offline

    tr4656

    Jonathanyc has control of the other thread. :/
     
  23. Offline

    Plague

    no, this thread is missing info in the title, I moved the other one
     
  24. Offline

    tr4656

    Fixed.
     
  25. Offline

    spunkiie

    FYI: With 280 users online hungry values are stalling WAY less than before. About 10%

    Hope it helps
     
  26. Offline

    jonathanyc

    Yeah, that's a good idea. Probably going to do that.

    Thanks. ;) Could you post a dump of your config.json file, and tell us the names of the players whose hungers aren't incrementing? All this information could help us find out what is causing this.

    Also, what Permissions plugin are you using?
     
  27. Offline

    Tealk

    and the intervall what time is it seconds?
     
  28. Offline

    jonathanyc

    Yep.
     
  29. Offline

    Tealk

    ok that what i need^^
     
  30. Offline

    jythri

    Heya,

    I'm considering this plug-in for our RP-based server, but would like the option of having 'being hungry' slow down your digging speed rather than lower your health.

    OR...at least, can you give an option where you don't go below 1 heart from hunger? I love the idea of it crippling you, but I'm not sure that we're ready to be killed by hunger yet. :)
     
  31. Offline

    jonathanyc

    I'll add that as soon as we fix some of these bugs. ;)
     

Share This Page