Solved Custom Death-Screen

Discussion in 'Plugin Development' started by MisterErwin, Dec 25, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    MisterErwin

    Hello together,

    How can I make a custom deathscreen, e.g. that the dead player spectate an other player.

    Is this possible?

    Thanks,
    MisterErwin
     
  2. Offline

    fireblast709

    Sadly enough, the deadscreen is clientside
     
  3. Offline

    MisterErwin

    Yes... but can I teleport him, that he spectates other players?
     
  4. Offline

    fireblast709

    I think that is possible
     
  5. Offline

    MisterErwin

    Ok, I'll try it tomorrow...
     
  6. Offline

    RainoBoy97

    1. onPlayerRespawn make the player fly
    2. Vanish the player
    2. Teleport him to the player to spectate
     
  7. Offline

    MisterErwin

    No... I mean, that he spectates, while he has to click Respawn.
     
  8. Offline

    Barinade

    It'd be buggy and you wouldn't be able to change the look of the death gui, but you could teleport a player after death...
     
  9. Offline

    CeramicTitan

    this is your best option.
     
  10. Offline

    MisterErwin

    Ok...thanks.

    but can I change his view a second before he dies? So that his death-screen shows another "world"?
     
  11. Offline

    kingBS11

    I'm really not sure what your looking for. I know for a fact you cannot edit the gui, that is all client side mods. You can teleport players after death though and make them invisible, fly, etc.
     
  12. Offline

    chasechocolate

    Like when you get sniped in TF2, your screen zooms up to the player who sniped you?
     
  13. Offline

    Unknowncmbk

    What if you could task the dead player to the one that killed them or the nearest player for 5 seconds and then respawn them?
     
  14. Offline

    CeramicTitan

    Can you respawn players automatically?
     
  15. Offline

    MisterErwin

    A little bit.
    But can we do it with spout?

    For that you have to cancel the PlayerDeathEvent, or not? So I think, that's not possible.
     
  16. Offline

    xGamingDudex

    You could maybe on something like EntityDamageEvent check if it is a player, then if it is check if it is going to die, if it is teleport it then kill him/her?
     
  17. Offline

    MisterErwin

    Yes... thats an idea.

    So... I think it's half-solved.

    Thanks
     
Thread Status:
Not open for further replies.

Share This Page