[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

    MrTeapot

    This plugin seems to be exactly what I was looking for!
    But please, how can I download it?

    Would love to have this on my server
    Regards
     
  3. Offline

    BioRage

    It seemed he was hack, according tot he other pages, I can upload one that Fullwall made before this one came out, should be fine up to 798.
     
  4. Offline

    MrTeapot

    Please do that; but I implented an other version and it works fine^^
     
  5. Offline

    thernztrom

    It might work with the old vers somehow, but seems like chernobyl is getting back pretty soon. (hopefully) And then he will for sure post some working links to the updated version.
     
  6. Offline

    jbMurdock

    The old version is buggy as hell on cb803!!! First I ate some cookies and had -245689710 hunger!!! Then I ate a bread or something and my hunger went straight up to +1000!!!!!!!!!!!
     
  7. Offline

    G1R Productions

    Link is broken
     
  8. Offline

    jbMurdock

    Really? No kidding? :confused:
     
  9. Offline

    VietCookie

    Did you upload it yet?
     
  10. Offline

    BioRage

  11. Offline

    Plague

    If someone want to rerelease it, forking is the way to go.
     
  12. Offline

    VietCookie

    How come my hunger doesn't change? It stay at zero. :confused:
     
  13. Offline

    jtlcr777

    gastronomic.disablehunger

    You have this on if you have the permissions '*'
     
  14. Offline

    acetech09

    Perhaps adding support for a varied diet? Each player having their own custom config file with hunger restoring values, and each time a player eats some food it subtracts its effectiveness by some proportional value. So, just like in real life, you can't eat pork for breakfast, lunch, and dinner, for 2 weeks, and still be as healthy as before... albeit with a chunkier frame :).

    Now to find a mod that makes you heal over time instead of food... then it'd be REALLY immersive :).
     
  15. Offline

    Nitnelave

    Or you could have it so you heal over time (and it's the only way) ONLY when you're not too hungry! And it would be a part of the same plugin!
     
  16. Offline

    thernztrom

    Someone with knowledge about plugins should really fork this :)
    Since chernobyl doesnt seem to come back :/
     
  17. Offline

    Tealk

  18. Offline

    srsdude

    Suggestion: add a configurable player walk speed decrease when hungry and when the player ate too much.
     
  19. Offline

    BioRage

    My download link? It works, unless you meant the Original Post one.

    It's running on 817, MC 1.6.6? Great!
     
  20. Offline

    HadrienM

    How to make health static ? (not regenerating)
    Because it's annoying :p
    (i'm not on peaceful, but health regenerates itslef)
     
  21. Offline

    Tealk

    i have mean the orginal link
    Error (404)

    We can't find the page you're looking for. Check out our FAQ or forums for help. Or maybe you should try heading home.
     
  22. Offline

    Moe041991

    what about 818
     
  23. Offline

    jbMurdock

    The "old" version seems to work well on 818 (including the bug concerning hunger limitations :) )
     
  24. Offline

    BioRage

    Great!
     
  25. Offline

    azngamerzer

    well i'm still noob at coding but i can have a crack at forking =)
     
  26. Offline

    $p!k3

    i dont see the donwald. since im in china dropbox doesnt work. but when i use vvd1.net it does. when i tried that it said it cant find the page
     
  27. Offline

    azngamerzer

  28. anyone tested this mod on bukkit 818 ?
    btw @chernobyl360 - really nice idea for a plugin :)
     
  29. Offline

    HadrienM

    How stop health from being regenerated ? i'm on normal but what to change in config file ?
     
  30. Offline

    BioRage

Share This Page