Lower Food Bar Upon Death (not fully fed like deafult)

Discussion in 'Archived: Plugin Requests' started by jazzman170, Jan 4, 2013.

  1. Offline

    jazzman170

    Is there a plugin that will change it so i can configure a number in the .yml it generates, to the food bar after death?

    So instead of killing yourself and becoming fully fed, when a player dies or kills themself in any way, when they respawn, they only have X food bar, where X = the config's number.

    1 = 1 food bar
    2 = 2 food bars

    If one doesnt exist, can somebody make this? Would be nice to help control food market a bit more, also a permission to bypass this plugin (for donators and admin/mods and such)

    If created:

    Name: FoodBarControl
    Permissions: foodbar.exempt

    Bump ^_^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 8, 2016
    penguinben likes this.
  2. Offline

    nicho96

    It's been a while since I've coded a Bukkit plugin, so I'm a bit rusty, but I think this is feasible. I'll message you when I'm finished. Anything else you would like added while I'm at it?
     
  3. Offline

    lcpvp

    I will give it a try as well, if nicho needs help.
     
  4. Offline

    jazzman170

    Nope i cant think of anything else to add to it :) Should be a fairly simplistic plugin i think :D And thank you very much both of you :)
     
  5. Offline

    lcpvp

    No problem. I am starting now.
     
  6. Offline

    chasechocolate

    For the devs who are interested, you might want to try using PlayerRespawnEvent.
     
  7. Offline

    jazzman170

    How goes it? :)
     
  8. Offline

    EdenCampo

    jazzman170

    I'll look into it, ill try to make it asap.
     
  9. Offline

    jazzman170

  10. Offline

    EdenCampo

    jazzman170
    Okay, I'll look into removing mob drops.
     
  11. Offline

    jazzman170

    tyvm :D
     
  12. Offline

    Plaze_Demon

    config pathways and all that confuse me, I try to stay clear of them xD
     
  13. Offline

    Eikester

Share This Page