[INACTIVE][MECH] Gastronomic v1.3.4 - Adding realism through hunger. [766]

Discussion in 'Inactive/Unsupported Plugins' started by fullwall, Jan 28, 2011.

  1. Offline

    fullwall

    [​IMG]
    The first specialised hunger plugin for Bukkit!
    Now with Thirst - open GastronomicWater Spoiler!

    Download latest release: v1.3.4 (Uses Permissions)
    Older Versions: 1.33, 1.31, 1.3, 1.26, 1.25, 1.2, 1.1, 1.0, 0.1
    Direct link to latest: here

    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:
    • Suggest some!
    Changelog:
    v1.3.4 - compatibility, bugfixes.
    Older Versions (open)

    v1.33 - bugfixes, permissions are now opt-out
    v1.31
    • Finally fixed hunger saving (!)
    v1.3
    • Lotsa bugfixes (tm)
    v1.26
    • Incremented version number to reflect amount of bugfixes/new features added to 1.2.
    v1.2
    • Player hunger resets to initial-hunger after death.
    • Added enforce-limit setting to stop hunger going below 0 after death.
    • Added hunger restoration settings.
    • Allowed eating cake.
    • Added /food [id] command to get food hunger restoration value. Add gastronomic.player.checkfood to allow access.
    • Messages are now only sent to the player upon reaching the threshold.
    • Lots of bugfixes.
    • Changed the way players are added/removed on join/quit.
    v1.1
    • Added /gastronomic reload command.
    • Added initial-hunger setting to allow users to start at varying levels of hunger.
    v1.0
    • Added Permissions support.
    • Changed versioning scheme to reflect this.
    • Added support for messages with colour codes, as defined in the properties file.
    • Fixed miscellaneous bugs.
    • Hunger values can go below 100.
    v0.1 - initial release.
    Mechanics (open)

    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 (open)

    • 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.
    GastronomicWater (open)
    Please note - this is not updated for 766 yet.
    Download link: 1.11, 1.0

    GastronomicWater has exactly the same features as Gastronomic, but with a separated config file.
    Commands are:
    /drink [id]
    /drinks
    /gastronomicwater (reload)
    /thirst
    /setthirst [player name] [thirst]
    gastronomic.admin.enable - gives access to the /gastronomicwater command.
    gastronomic.admin.reload - gives access to the /gastronomic reload command.
    gastronomic.admin.setthirst - gives access to the /setthirst command.
    gastronomic.player.checkthirst - gives access to the /thirst command.
    gastronomic.player.checkdrink - gives access to the /drink command.
    gastronomic.disablethirst - give this permission to disable hunger for the user/group.

    As this is an early release (and my first actual plugin), please report any bugs or issues, and also features you'd like to be added - I'm always open to suggestions! Also taking suggestions for my next plugin.
     
  2. Offline

    fullwall

    Can you please post the errors on pastebin, so I can debug?
     
  3. Offline

    Shanev

    I've tried to redownload 1.32 and the hunger level still isn't raising :( my server feels miserable without your plugin, help it ;)


    edit: ok, I think I've found the problem. It's only me whose hunger level won't rise. Other player's hunger level works fine up to now. I've got the permissions plugin and am an Admin user. Maybe here lies the problem?
     
  4. Offline

    fullwall

    Yes, that is the problem. Try redownloading one more time please :).
     
  5. Offline

    Shanev

    @fullwall

    sorry, it still doesn't work for me. Maybe it has nothing to do with the "Group" you are in, but with the "Permissions" you've got?
    I've tried to put myself into the "Default" group with all permissions ('*') and it did not work. BUT it worked, when I deleted my user completely from the Permissions file and automatically became an "anonymous" Default user with only the 'gastronomic.player.*" permissions.

    So, maybe the error lies in the "gastronomic.admin.*' permission? ^^
     
  6. Offline

    KinaNeko

    (This was done with the NEW 1.32 that you released earlier. I downloaded it and set it up.)

    Alright well I did a bunch more testing and I have more bugs I have to explain. The right click bug is fixed (somewhat?) however now there's a new bug with food disappearing. It seems that whenever you use a food THEN right click on something to use it or actually even just try to move the food around in your inventory, all the foods of that SAME TYPE will disappear (i.e You're holding raw pork and apples. You eat a raw pork then try to use a work bench or move the raw pork inside your inventory and all the raw pork disappears, leaving the apples in your inventory.) however it happens with all food types. I'm not sure what causes this to happen however I did notice that when I gave myself food in a STACK using /item, the plug in would eat 2 food for only one use (only right clicking once and only for one hunger decrease even though it uses 2) and if there was 2 food to eat then your food wouldn't disappear when you tried to right click on something or move it in your inventory. However it seems to ONLY work if the food is in a stack, it will not work if you just try to eat 2 food separately like normal and will still make the food disappear.

    I'm not sure if anyone else is having this next problem as no ones said anything, however when using +hunger+ in messages to tell players however hungry they were every increment (20, 40, 60, 80, 100) for some reason my server always seems to be behind when telling people they are hungry. For example say you reach the 20 increment, my server is set to go by 5 and would say "You feel a bit peckish: 15" where as 15 SHOULD say 20 as defined by +hunger+ however that persons hunger level IS really 20, it's just the message is wrong. I THINK the problem here is that the plug in gives you this message before your hunger level actually gets to update, I suggest trying to place some sort of time delay in between hunger updates and the messages to allow the server to update your hunger first BEFORE giving you the messages saying you're hungry.

    Last but not least, simply enough... cookies don't seem to be anywhere in the foodstuffs file, all the foods are there except cookies even with the new 1.32 you released (even going as far as replacing my foodstuffs file with the new one from the zip). There's nothing to configure and also the cookies will not decrease hunger and just act normally. As mentioned below, just add cookies to the file yourself.

    If you want help with bug testing, I seem to have a thing for finding and explaining bugs and if you'd like help finding them or if you just want me to explain the above bugs better to you in person (sort of in person?), then send me a PM to let me know you're interested and I can give you the IP for my server (Which right now is private as I'm gathering and testing plug ins with a small group of people over time before going public.) as well as some sort of messenger name? I use Steam (Best way to reach me), Windows Live Messenger, and on occasion AIM. I don't expect anything special for helping you find bugs, I just want to help in order to get things working and I feel I could help you this way since I can even show you the bugs and you can see from my servers perspective how things are with your latest releases of gastronomic.
     
  7. Offline

    Shanev

    Have you tried to simpy add the cookies manually into the foodstuffs file?
     
  8. Offline

    KinaNeko

    I simply...did not.
     
  9. Offline

    xGONExCRAZYx

    I am constantly being kicked, it says Kicked by server. Internal error. Is this Gastronomic's fault?
    Code:
    2011-04-05 16:12:41 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:12:57 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:13:00 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:13:01 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:13:10 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:13:15 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:14:02 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:14:05 [SEVERE] Could not pass event PLAYER_INTERACT to Gastronomic
    java.lang.NullPointerException
        at com.fullwall.Gastronomic.Listener.handlePlayerItem(Listener.java:200)
        at com.fullwall.Gastronomic.Listener.onPlayerInteract(Listener.java:160)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-05 16:16:35 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Entity is already tracked!
    java.lang.IllegalStateException: Entity is already tracked!
        at net.minecraft.server.EntityTracker.a(EntityTracker.java:72)
        at net.minecraft.server.EntityTracker.a(EntityTracker.java:62)
        at net.minecraft.server.EntityTracker.a(EntityTracker.java:51)
        at net.minecraft.server.WorldManager.a(WorldManager.java:17)
        at net.minecraft.server.World.b(World.java:750)
        at net.minecraft.server.WorldServer.b(WorldServer.java:94)
        at net.minecraft.server.World.a(World.java:1590)
        at net.minecraft.server.Chunk.d(Chunk.java:470)
        at net.minecraft.server.ChunkProviderServer.c(ChunkProviderServer.java:75)
        at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:33)
        at net.minecraft.server.PlayerManager.a(PlayerManager.java:37)
        at net.minecraft.server.PlayerManager.c(PlayerManager.java:141)
        at net.minecraft.server.ServerConfigurationManager.b(ServerConfigurationManager.java:111)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:268)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    Right at the end, it kicks me.
     
  10. Offline

    Komavok

    help me please, I want every 5 hunger was a message indicating the number ofhunger, I am writing in the config "message-5\10\15\20\25\30\35\40\45\50\55\60\65\70\75\80\85\90\95 = ยง dhunger + hunger +. "
    But in the game at 5 hunger message is presented that do?
     
  11. Offline

    Dangirdas

    Yes these errors are both pissing me of and my server!
    Please fix this fullwall :D
     
  12. Offline

    fullwall

    Komavok: its ยงdhunger +hunger+. - no spaces between +s. Looking into problems now.

    Have a try of 1.33 please.

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

    Dangirdas

    Still same errors and kicks D:
     
  14. Offline

    fullwall

    Still unable to reproduce :S. Can you tell me what exactly is happening at these times?
     
  15. Offline

    Shanev

    hunger level still not raising for admins with version 1.33
     
  16. Offline

    fullwall

    Oh... you will have to do -gastronomic.players.disablehunger

    Redownload please. Now, if you have gastronomic.admin.enable, having the disablehunger permission won't take effect.

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

    Suda

    Food no longer disappears when you left click on a single food item after eating one before, Thank you so much for fixing this! Really wanted to use this plugin but the disappearing food was a deal breaker.
     
  18. Offline

    Dangirdas

    I have no idea to be honest :D
    The problem here is that it spams the console and that's really annoying+ that people get kicked for no reason because of some random internal error D:
     
  19. Offline

    fullwall

    What plugins are you running?
     
  20. Offline

    Jessicadawn

    Does this effect godmode?
     
  21. Well, latest version seems to work fine so far. Can I request a change so eating while below hunger 0 does not reset hunger to 0? Our noobs constantly spoil their advantage with that (they start with -100 when they join the server).
    thx
     
  22. Offline

    Dangirdas

    I run
    AngryWolves
    Bandages
    Essentials
    Gastronomic
    GastronomicWater
    Growbie
    HeroChat
    HeroSneak
    mcMMO
    NaturalGiants
    Permissions
    Powerarmor
    Vampire
    WorldEdit
    WorldGuard

    Thats all of them..
    I run them on 617 craftbukkit
     
  23. Offline

    Monkah

    I get an error too, I edited out the plugins I don't use.
     
  24. Offline

    fullwall

    To both of you, can you try just running Gastronomic by itself? Then, see if the error still occurs. @Zothen - do you have the setting 'enforce-limit' set to true? That might be the cause...
     
  25. Offline

    Celtic Minstrel

    I second this. <_<

    @fullwall - I was going to suggest you look at General's implementation of the /take command for the problems people have been having with food disappearing, but it looks like you've solved it already. Still, if you want to, be my guest. :)
     
  26. Yes, thats right, cos we dont want that our players can "stuck up" hunger. Thats possible when "enforce-limit" is off, right?
     
  27. Offline

    fullwall

    Yeah... I want to merge the two, just haven't had the time :S. I'll look into your problem Zothen now.

    Hmmm... that's a tricky one Zothen :S. I'm unsure how to stop players from not going under 0, and yet still making them increase hunger... I might just have to do a threshold thing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  28. Something is fucked up with the recent release! When my players have - gastronomic.player.* they have access to all their hunger commands but hunger does not raise. When I add - gastronomic.admin.enable to their group their hunger is raising but they also have access to /gastronomic... narf... (using the recent Essentials GM + its fakeperm plugin for my permissions).
     
  29. Offline

    fullwall

    You've given them the disablehunger permission XD.
     
  30. Since when have you changed that? does it replace the former gastronomic.player.* to enable hunger for a group?

    No wait, seems Ive misunderstood your reply.. How do I now enable hunger for a group? gastronomic.player.* did it before but doesnt do it now

    Of course, I import .disable with the *... So using - gastronomic.player.checkhunger and - gastronomic.player.checkfood only is the right way, now! (edit: It is - working now!phew)

    Back to my previous request. Imo you can simply add my requested feature by checking if hunger is below 0 when "enforce-limit" is on. So it will stay at its current value and dont reset to 0. Its just a simple check that saves the "close season" of our newcommers. (acutally I wouldnt even care if the food is consumed or not - if you let it still be consumed it can also heal even when below 0, which is appreciated)

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

    Dangirdas

    Well can you please do so that we don't need to see the epic spam because i have it disabled?
     

Share This Page