Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. options:
  2. # =========================================== #
  3. # config #
  4. # =========================================== #
  5.  
  6. other: %player% is dead.
  7. potion: &f
  8. fall: &f
  9. blockexplosion: &f
  10. entityexplosion: &f
  11. lava: &f
  12. drown: &f
  13.  
  14. # %player% - playername
  15. # %attacker% - attackername
  16. # %attacker's health% - attackerhealth
  17.  
  18.  
  19. # # # # # # # # # # # # # # # # # # # # # # # #
  20. # ____ _ _____ _ _ _ #
  21. # | _ \ ___ _ __ | |_ | ____|__| (_) |_ #
  22. # | | | |/ _ \| '_ \| __| | _| / _` | | __| #
  23. # | |_| | (_) | | | | |_ | |__| (_| | | |_ #
  24. # |____/ \___/|_| |_|\__| |_____\__,_|_|\__| #
  25. # #
  26. # # # # # # # # # # # # # # # # # # # # # # # #
  27. on death of player:
  28. if arg-1 is not set:
  29. if victim is player:
  30. set the death message to "{@other}"
  31. if damage was caused by attack:
  32. if victim is player:
  33. set the death message to "&c%player%&7&l<< &f%attacker%'s HP &e&l%attacker's health%"
  34. if damage was caused by potion:
  35. if victim is player:
  36. set the death message to "{@potion}"
  37. if damage was caused by fall:
  38. if victim is player:
  39. set the death message to "{@fall}"
  40. if damage was caused by block explosion:
  41. if victim is player:
  42. set the death message to "{@blockexplosion}"
  43. if damage was caused by entity explosion:
  44. if victim is player:
  45. set the death message to "{@entityexplosion}"
  46. if damage was caused by lava:
  47. if victim is player:
  48. set the death message to "{@lava}"
  49. if damage was caused by drown:
  50. if victim is player:
  51. set the death message to "{@drown}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement