nabe0929

Untitled

Jun 21st, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. options:
  2. #Permission
  3. perm:autorespawn.default
  4. #DeathMessage
  5. deathmessage:&a[&f%victim%&a] Had &cKilled &aBy
  6. player-killer:&4%attacker% &7-&7%attacker's health%&4?
  7. lava-message:&a[&f%victim%&a] &7Tried To Swim In &6Lava&7.
  8. drowning-message:&a[&f%victim%&a] &bdrowned&7.
  9. fall-message:&a[&f%victim%&a] &7Had Fell Down.
  10. explosion-message:&a[&f%victim%&a] &6Blown Up&7.
  11. void-message:&a[&f%victim%&a] &7Fell Out Of The &0World&7.
  12. suffocation-message:&a[&f%victim%&a] &7suffocated in the &fwall&7.
  13. magic-message:&a[&f%victim%&a] &7killed by &DMagic.
  14. #AutoRespawn
  15. on death:
  16. wait 3 tick
  17. if player has the permission "{@perm}":
  18. force respawn player
  19. #Death Message
  20. on death of player:
  21. if attacker is not lava and water and fire and fall and entity explosion and block explosion and void and suffocation:
  22. set death message to "{@deathmessage} {@player-killer}"
  23. stop
  24. if damage cause is lava:
  25. wait 2 tick
  26. set death message to "{@lava-message}"
  27. stop
  28. if damage cause is drowning:
  29. set death message to "{@drowning-message}"
  30. delete death message
  31. stop
  32. if damage cause is fall:
  33. set death message to "{@fall-message}"
  34. stop
  35. if damage cause is entity explosion:
  36. set death message to "{@explosion-message}"
  37. stop
  38. if damage cause is block explosion:
  39. set death message to "{@explosion-message}"
  40. delete death message
  41. stop
  42. if damage cause is void:
  43. set death message to "{@void-message}"
  44. stop
  45. if damage cause is suffocation:
  46. set death message to "{@suffocation-message}"
  47. stop
  48. if damage was caused by potion:
  49. set the death message to "{@magic-message}"
Add Comment
Please, Sign In to add comment