Player incapacitation

Discussion in 'Archived: Plugin Requests' started by blaxout1213, Jun 12, 2014.

  1. Offline

    blaxout1213

    Heres what i need:

    Upon reaching 0 health the player is locked in a sleeping position unable to do anything. Said players health will be set to full as a "Temporary" health bar, this bar will decrease until it once again hits 0 than the player truley dies. While the incapacitated player is in this state he can be revived by right-clicking on him/her 3 times than they will be revived with 3 hearts and some sort of cool-down timer prevents them from being incapacitated again for some time.

    I need this for my arena server but death-ban faction servers might find this interesting.

    I don't need this done by any particular time but sooner is always nicer ;)

    Thanks for reading the entire thing and even more hugs and kisses if you develop it.
     
  2. Offline

    yoft

    blaxout1213
    Interesting concept, I'll have a look into it, no promises though :)
     
  3. Offline

    blaxout1213


    I'll keep my hopes up
     
  4. Offline

    Desle

    blaxout1213

    When putting someone to sleep, without a bed, they'll float above the ground (like.. 0.5 blocks above it).
     
  5. Offline

    blaxout1213


    Nothing is without imperfections
     
  6. Offline

    yoft

    Interesting... Thanks for the info :)

    Desle
    Do you happen to have the code for this handy? :)
     
  7. Offline

    Desle

    yoft
    Nop, sorry. I have resetted my computer... forgot to backup my eclipse file. x[

    EDIT:

    What I do know, is that you use packets for it. PayOutWorldAnimation I think.

    http://wiki.vg/Protocol#Use_Bed
     
  8. Offline

    yoft

    Desle blaxout1213
    I've never used NMS before :( I don't think I'm up for this one, sorry :/
     
  9. Offline

    blaxout1213

    Awwwww :(
    this makes me sad
     
  10. Offline

    blaxout1213

    im going to learn "Plugins" just for this, i already mod minecraft with forge iv'e just never jumped the gap
     
  11. Offline

    timtower Administrator Administrator Moderator

    Starting with bukkit and jumping straight into NMS isn't the best idea
     
  12. Offline

    blaxout1213

    Well im going to try the worst that can happen is me failing right?
     
  13. Offline

    timtower Administrator Administrator Moderator

    Have fun
     
  14. Offline

    blaxout1213

    I (in a manner of speaking) finished this but its missing a cool-down timer, a config and the laying down animation
     

Share This Page