Inactive [MECH] HealthyHungryDeath v1.0 - Set health and hunger after death [1060]

Discussion in 'Inactive/Unsupported Plugins' started by dkramer, Sep 18, 2011.

  1. Offline

    dkramer

    HealthyHungryDeath, A Plugin Inspired by this Reddit post.
    Version: 1.0
    (Please donate here if you like what I do. This is my only job.)

    Description:
    Server owners can set how much health and minimum amount of food you spawn with. If someone died with more food than the configurable minimum value, they will spawn with how much of the food bar was filled before they died.​
    Customizing:
    HealthyHungryDeath.yml will be created after you start up the server. This will be where you can customize health and food. Both variables have a maximum value of 20 and can only be integers.​
    Download:

    Changelog:
    1.0: Release!​
     
  2. Offline

    Shortee

    Nice! We are not using bukkit atm but i will definitely try this soon. Thx
     
  3. Offline

    dkramer

    No problem! Tell me if you have any issues.
     
  4. Offline

    FrAz

    Neat plugin, I'll check it out.
    Also, does anyone know if /heal heals hunger meter or just hearts? If it doesn't is there a plugin?
     
  5. Offline

    BrilZliaN

    Hello, dkramer!
    Can you make Permissions (3.1.6, not Bukkit default perms) support?
    For ex. player from "Default" group will respawn with 3 hearts, player from "VIP" group will respawn with 9 hearts etc.
     
  6. Offline

    Moromillas

    Nice plugin. As a possible feature for the to-do, how about remembering what the hunger level of the player is upon death, and changing it to that value on respawn? You know, instead of a set amount.
     
  7. Offline

    dkramer

    Sorry guys, I just made this plugin quickly because it was suggested by some folks, so I won't further production on it since I'm already working on a lot of plugins, but I will stick up the source code if anyone wants it.
     
  8. Offline

    BrilZliaN

    Ummm... :(
    Can I have source code please?
     
  9. Offline

    alexmack929

    Yes!FINALLY!

    I've been looking and looking for a plugin that would stop people from simply puttin their items in a chest and then dying to escape hunger!

    THANK YOU!
     
    dkramer likes this.
  10. Offline

    Kovna

    Possibly a long shot but worth asking, is there a possibility of a 1.1 with only 1 change?

    You comment out the "respawned" message that hits the console and recompile? It causes in-game spam of the chat stream.
     
  11. Offline

    Clucky

    dkramer does not currently work with 1.2.3

    Code:
    20:54:07 [SEVERE] Could not load 'plugins/HealthyHungryDeathV1.0.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at me.dalton.healthyhungrydeath.Main.<init>(Main.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
        ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 26 more
    
     
  12. Offline

    houba1970

    please uppdate this plugin
     
  13. Offline

    Steffion

    Updateeee!!! :(
     
  14. Offline

    amsedal

    update please... theres nothing out there like this yet is there?? The search continues!
     
  15. Offline

    NightmareGR

    I deadly need it plz update it ...
     

Share This Page