Advertisement
CREAMPAN0408

Untitled

Mar 29th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. Options:
  2. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  3. #Log and Permission
  4. perm: RPG.admin
  5. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  6. #TAB
  7. tab_top: %nl%&9- &8&lこんぺいとう&2RPG&6サーバー &9-%nl%
  8. tab_under: %nl%&6%number of all players%&8/&950%nl%&ePing&9: &a%ping of player%%nl%
  9. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  10. #Death Message
  11. pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
  12. notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
  13. pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
  14. nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
  15. otherdeathmessage: &8[&4Death&8] &c%victim%
  16. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  17. On death of player:
  18. attacker is a player:
  19. if name of attacker's tool is set:
  20. set the death message to "{@pvpdeathmessage}"
  21. else:
  22. set the death message to "{@notooldeathmessage}"
  23. stop
  24. attacker is an entity:
  25. if attacker's name is set:
  26. set the death message to "{@pvedeathmessage}"
  27. else:
  28. set the death message to "{@nonamepvedeathmessage}"
  29. stop
  30. set the death message to "{@otherdeathmessage}"
  31. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  32. every 2 second:
  33. loop all players:
  34. send action bar "&e製作中です(´・ω・`)" to loop-player
  35. wipe loop-player's sidebar
  36. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  37. command /close:
  38. permission: skript.admin
  39. trigger:
  40. command "/whitelist on"
  41. loop all players:
  42. loop-player is not an op
  43. kick the loop-player due to "this server is not open to pulic"
  44. message "this server is not open to public now"
  45. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  46. command /c:
  47. trigger:
  48. give command block to player
  49. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  50. on break:
  51. player do not have permission "skript.admin"
  52. cancel event
  53.  
  54. on place:
  55. player do not have permission "skript.admin"
  56. cancel event
  57.  
  58. on explode:
  59. cancel event
  60.  
  61. on craft:
  62. player do not have permission "skript.craft"
  63. cancel event
  64. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  65. function createHolo(l: Location, t: Text, length: Timespan):
  66. create hologram "%{_t}%" at {_l} for {_length}
  67. on damage:
  68. loop blocks in radius 1 around head of victim:
  69. add location of loop-block to {_blocks::*}
  70. set {_bl} to random element of {_blocks::*}
  71. createHolo({_bl}, "&4%damage%", 25 ticks)
  72. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement