7mm

汎用Sk. 1

7mm
Jul 26th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. command /setjlocation:
  2. permission: skript.admin
  3. trigger:
  4. set {tplocation} to player's location
  5. message "&a参加時テレポート先の座標を%{tplocation}%に設定しました"
  6.  
  7. command /resetjlocation:
  8. permission: skript.admin
  9. trigger:
  10. clear {tplocation}
  11. message "&a参加時テレポート先の座標をリセットしました"
  12.  
  13. command /setfjlocation:
  14. permission: skript.admin
  15. trigger:
  16. set {fjlocation} to player's location
  17. message "&a初回参加時テレポート先の座標を%{fjlocation}%に設定しました"
  18.  
  19. command /resetfjlocation:
  20. permission: skript.admin
  21. trigger:
  22. clear {fjlocation}
  23. message "&a初回参加時テレポート先の座標をリセットしました"
  24.  
  25. on join:
  26. if {serverjoin::%player%} is not set:
  27. set join message to "&2&lEntrance&f: &dFirstJoin: %player%"
  28. command "execute @a ~ ~ ~ playsound entity.player.levelup master @s ~ ~ ~ 1 0.5"
  29. add 1 to {serverjoin::%player%}
  30. teleport player to {fjlocation}
  31. stop
  32. add 1 to {serverjoin::%player%}
  33. set join message to "&2&lEntrance&f: &eJoin: %player%"
  34. command "execute @a ~ ~ ~ playsound entity.player.levelup master @s"
  35. teleport player to {tplocation}
  36. if mod({serverjoin::%player%},50) is 0:
  37. broadcast "&d&l%{serverjoin::%player%}%th Join!"
  38.  
  39. on quit:
  40. set quit message to "&2&lEntrance&f: &cQuit: %player%"
  41. command "execute @a ~ ~ ~ playsound entity.creeper.primed master @s"
  42.  
  43. command /prsec <boolean>:
  44. trigger:
  45. if arg 1 is true:
  46. player is an op
  47. command "pex user %player% add playerrealms.security"
  48. if arg 1 is false:
  49. command "pex user %player% add -playerrealms.security"
  50.  
  51. command /checkid:
  52. permission: skript.admin
  53. trigger:
  54. message "%player's held item%"
Advertisement
Add Comment
Please, Sign In to add comment