[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. But the new hungry plug-in sucks?
     
  3. Offline

    Celtic Minstrel

    Be patient, and it won't.
     
    jtlcr777 likes this.
  4. Offline

    Percefane

    Does it work with 1.7?
     
  5. Offline

    BioRage

    No, use the alternative "Hungry" plugin.

    It's not the best, nor close to what Gastro was, but it works.
     
  6. Offline

    Percefane

    Okay, thank. :)
     
  7. Offline

    Misoa

    If in permissions I type
    gastronomic.admin.disablehunger , will it disable hunger for me? because I have to Vampires plugin and the people in my server dont like having to deal with keeping their hunger and blood up..
     

Share This Page