[INACTIVE][MECH] Gastronomic v1.4 - Adding realism through hunger. [798]

Discussion in 'Inactive/Unsupported Plugins' started by chernobyl360, May 22, 2011.

  1. Offline

    chernobyl360

    [​IMG]
    The first specialised hunger plugin for Bukkit!
    Now with Thirst - open GastronomicWater Spoiler!
    Original Thread:
    http://forums.bukkit.org/threads/in...1-3-4-adding-realism-through-hunger-766.2685/

    Download:
    http://dl.dropbox.com/u/1015938/Gastronomic.jar -CB798

    Permissions:
    http://forums.bukkit.org/threads/ad...ow-with-real-multiworld-permissions-766.5974/

    Ever felt like something was missing from Bukkit? A sense of immersion, of depth? Ever felt like people shouldn't be able to survive for weeks without a single piece of food? Gastronomic provides a reason to kill those pigs, catch that fish, and cook that bread. So gather up your [wheatpicked], [redmushroom] and [meat], and keep reading.

    Features:
    • User-specified hunger intervals, increments, and damage amounts.
    • Per-item hunger restoration amounts.
    • 'Effects' system allowing very customisable health restoration/damage effects.
    • Permissions support.
    Permissions:
    Give gastronomic.admin.* support to trusted players, and gastronomic.player.* permissions to all, or configure permissions manually from the list below.

    Code:
    gastronomic.admin.enable - gives access to the /gastronomic command.
    gastronomic.admin.reload - gives access to the /gastronomic reload command.
    gastronomic.admin.sethunger - gives access to the /sethunger command.
    gastronomic.player.checkhunger - gives access to the /hunger command.
    gastronomic.player.checkfood - gives access to the /food command.
    gastronomic.disablehunger - give this permission to disable hunger for the user/group.
    Commands:

    Code:
    /gastronomic - enables and disables plugin.
    /gastronomic reload - reloads all configuration files.
    /hunger - checks your current hunger level.
    /sethunger [player name] [hunger level] - sets player's hunger to the specified amount.
    /food [id] - tells the player how much hunger the id restores.
    /food list - lists how much hunger each food id restores.
    Known issues:
    • If configuration files are deleted for any reason, the server may show some scary messages. Don't worry, it should work out fine! If not, report please :).
    • In GastronomicWater, users must left click to empty buckets (bug with bukkit not calling correct events on bucket use)
    Planned Features:
    • Iconomy Support?
    Mechanics
    Each player is given a hunger value, starting at 0. Every so often, at a user-specified interval, every user's hunger level goes up by a specified increment. This goes on until their hunger level reaches 100, and they begin to starve. At every following interval, damage will be taken until food is eaten, restoring hunger levels back to 0.

    Credits

    • Firstly to this thread for inspiring the creation of Gastronomic. Thanks to Bashur and the other posters in that thread!
    • Secondly to TimberJaw, whose Hey0 mod (here) served as ideas for some of my plugin's functionality.
    • A Very Special Thanks To FullWall To Allow me To Continue This Amazing Plugin!

    Config


    Code:
    #Minecraft Properties File
    #Sun May 22 10:26:48 EDT 2011
    hunger-increment=20
    enforce-limit=true
    message-40=Your stomach rumbles.
    hunger-respawn=0
    message-eat=You feel better after eating. Your hunger is now +hunger+.
    message-100=You are starving\! Eat something, anything\!
    active=true
    restore-health=false
    message-health-restore=You feel full and your vitality increases. Your health is restored by +healthr+
    initial-hunger=0
    message-check-hunger=Your current hunger is +hunger+.
    health-restore-limit=20
    message-20=You feel a bit peckish.
    message-stuffed=You feel stuffed, like you couldn't eat another bite.
    message-80=Your stomach aches from hunger.
    health-restore-amount=1
    disable-world-guard=false
    message-no-permission=You don't have permission to use that command.
    starve-damage=1
    message-60=You're getting hungry.
    interval=2000
    reset-hunger-respawn=true
    


    Changelog:
    V1.4 - Updated to CB798
    v1.3.4 - compatibility, bugfixes.

    Ill Be Working on Gastronomic Water..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
    Kingjarrad and kahlilnc like this.
  2. Offline

    Zothen

    Thanks - seems I overread that! And it seems to be one of the test releases when you look at the messed up properties file it generates. The last 1.3.x version I had creates a cleaner file.

    If anybody had downloaded the 1.4 before the link went down - please re-upload it somewhere! Thanks alot!
     
  3. Offline

    azngamerzer

    i downloaded the drop box file and uploaded it onto 4shared that's all
     
  4. Offline

    T4L_Goose

    Also, can you please put something in the config that tells us exactly what "2000" is for the interval? Seconds, minutes, etc?
     
  5. Offline

    azngamerzer

    From an educated guess i think it's 2000 ticks
     
  6. Offline

    jbMurdock

    Post #19
     
  7. Offline

    Moe041991

    link is down
     
  8. Offline

    Cobrand

    Hey man you're wrong : 20 ticks = 1 second :p
    You're right. Hope this will up soon :p
     
  9. Offline

    Metonymia

    This would be really great if hunger would also increase by using tools. The maximum "belly" value should be much higher to keep it realistic, though. If you can implement this feature, I think Notch will have little trouble implementing it in the game for Realistic mode. They mentioned hunger before...
     
  10. Offline

    jbMurdock

    Right, I quoted fullwalls post, hmpf :rolleyes:
     
  11. Offline

    HadrienM

    What setting must be changed to disable auto-regenerating health ?
     
  12. Offline

    xPeetey

    Will this be available for b818?
     
  13. Offline

    Tealk

    hi is it possible to add a feature that works together with Jail so that prisoners dont get hungry and die?
     
    TheBarkingFrog likes this.
  14. Offline

    pyraetos

    how come health regenerates in this for admins? no god mode, mobs on? i want myself to be hungry too
     
  15. Offline

    BioRage

    Derp, set permissions don't use '*'

    Go back a few pages

    add
    #If true, player will restore health as defined in the variables below.
    restore-health=false

    to config.yml in your gastronmic folder.

    If your an admin set the right permissions.
     
  16. Offline

    pyraetos

    alright, can do
     
  17. Offline

    jtlcr777

    I hope someone picks this one up. If anyone does, theres a glitch where if you right click a hatch with food, you will reduce your hunger without eating the food item.
     
  18. Offline

    Spycoclown

    is it over with this plugin?
     
  19. Offline

    Redem

    This needs to be forked ASAP. It is essential for many servers.
     
  20. Offline

    Hitman4Hire

    818 support?

    Could someone c/p their foodstuffs file? Mine generated this

    #Minecraft Properties File
    #Thu Jun 09 18:06:14 WST 2011

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

    MaximeGagne442

    Is the dowload link broken or it simply don't work with me?
     
  22. Offline

    jonathanyc

    I would like to pick this plugin up, but unfortunately the source does not seem available.
    Would anyone happen to have a link?

    Thanks.

    EDIT: Started a fork, available at http://forums.bukkit.org/threads/mech-gastronomic-1-5-other-thread-inactive-818.20724/. The main priority will be bugfixes, and I have already fixed the bug related to trapdoors as well as other errors. Based on the version of Gastronomic in the Dropbox link previously in this thread.
     
    Xaostica likes this.
  23. Offline

    Xaostica

    I miss this plugin. Was a great addition for a survival oriented sever!
     
  24. Offline

    jtlcr777

  25. Offline

    Dangirdas

    Somebody needs to take up this plugin.
    One of the best out there!
     
  26. Offline

    jtlcr777

    Click on the link right above your post...
     
  27. Offline

    MisanthropX

    please update this!
    my food and effect file is always empty

    and when I use the old foodstuff list, It simply does not work! hunger keeps the same leevel

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

    Nitnelave

  29. Offline

    Bengu

    Maybe you have monsters turned off.
     
  30. Offline

    AriesT

  31. Offline

    jtlcr777

Share This Page