Advertisement
CREAMPAN0408

Untitled

Mar 29th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. Options:
  2. tab_top: %nl%&9- &8&lこんぺいとう&2RPG&6サーバー &9-%nl%
  3. tab_under: %nl%&6%number of all players%&8/&950%nl%&ePing&9: &a%ping of player%%nl%
  4.  
  5. pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
  6. notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
  7. pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
  8. nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
  9. otherdeathmessage: &8[&4Death&8] &c%victim%
  10.  
  11. p: &f[&e&lTAB&8]
  12. perm: tablist.use
  13. noperm: &f[&e&lTAB&8] &cNo permission!
  14.  
  15. on break:
  16. player do not have permission "skript.admin"
  17. cancel event
  18.  
  19. on place:
  20. player do not have permission "skript.admin"
  21. cancel event
  22.  
  23. on explode:
  24. cancel event
  25.  
  26. on craft:
  27. player do not have permission "skript.craft"
  28. cancel event
  29.  
  30. command /close:
  31. permission: skript.admin
  32. trigger:
  33. command "/whitelist on"
  34. loop all players:
  35. loop-player is not an op
  36. kick the loop-player due to "this server is not open to pulic"
  37. message "this server is not open to public now"
  38.  
  39. command /c:
  40. trigger:
  41. give command block to player
  42.  
  43. On death of player:
  44. attacker is a player:
  45. if name of attacker's tool is set:
  46. set the death message to "{@pvpdeathmessage}"
  47. else:
  48. set the death message to "{@notooldeathmessage}"
  49. stop
  50. attacker is an entity:
  51. if attacker's name is set:
  52. set the death message to "{@pvedeathmessage}"
  53. else:
  54. set the death message to "{@nonamepvedeathmessage}"
  55. stop
  56. set the death message to "{@otherdeathmessage}"
  57.  
  58. on damage:
  59. victim is a monster
  60. set {_victim-name::*} to name of victim split by "?"
  61. loop {_victim-name::*}:
  62. set {_mob-name} to loop-value
  63. stop loop
  64. set name of victim to "%{_mob-name}%&c?&f%health of victim%"
  65.  
  66. on click on beacon block:
  67. block under the event-block is obsidian
  68. cancel event
  69. set {checkpoint.%player%} to location of block
  70. set player's health to player's max health
  71. set player's food level to 10
  72. message "<magenta>リスポーンポイントを更新しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement