7mm

reosyou鯖skript

7mm
Feb 14th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. #===============================================
  2. #reosyou氏BAN回避コマンド
  3. #===============================================
  4. on command "/ban reosyou":
  5. cancel event
  6. broadcast "&c&l&n%player%がreosyouをBANしようとしたぞー!こいつ悪人だー!"
  7.  
  8. #===============================================
  9. #/warpコマンド
  10. #===============================================
  11. command /warp <number>:
  12. usage: /warp <1|2|3> ... 設定したワープポイントへワープします
  13. trigger:
  14. if arg 1 is 1:
  15. if {%player%-warppoint-1} is not set:
  16. message "&a&lワープポイント1&eがセットされていません!"
  17. stop
  18. teleport player to {%player%-warppoint-1}
  19. message "&a&lワープポイント1&eへテレポートしました"
  20. else if arg 1 is 2:
  21. if {%player%-warppoint-2} is not set:
  22. message "&a&lワープポイント2&eがセットされていません!"
  23. stop
  24. teleport player to {%player%-warppoint-2}
  25. message "&a&lワープポイント2&eへテレポートしました"
  26. else if arg 1 is 3:
  27. if {%player%-warppoint-3} is not set:
  28. message "&a&lワープポイント3&eがセットされていません!"
  29. stop
  30. teleport player to {%player%-warppoint-3}
  31. message "&a&lワープポイント3&eへテレポートしました"
  32.  
  33. #===============================================
  34. #ジャンプ地点登録
  35. #===============================================
  36. on rightclick on a piston:1:
  37. play sound "block.note.pling" at player
  38. open chest with 1 rows named "&9&lSave WarpPoint" to player
  39. format slot 2 of player with wool:2 named "&e&lWP1にセーブ" to run "swp %player% 1"
  40. format slot 4 of player with wool:3 named "&e&lWP2にセーブ" to run "swp %player% 2"
  41. format slot 6 of player with wool:4 named "&e&lWP3にセーブ" to run "swp %player% 3"
  42.  
  43. #===============================================
  44. #/setwarppointコマンド
  45. #===============================================
  46. command /setwarppoint <offline player> <number>:
  47. permission: skript.admin
  48. aliases: /swp
  49. trigger:
  50. if arg 2 is 1:
  51. set {%arg 1%-warppoint-1} to location of arg 1
  52. message "&6&lワープポイント1&eにセットしました" to arg 1
  53. else if arg 2 is 2:
  54. set {%arg 1%-warppoint-2} to location of arg 1
  55. message "&6&lワープポイント2&eにセットしました" to arg 1
  56. else if arg 2 is 3:
  57. set {%arg 1%-warppoint-3} to location of arg 1
  58. message "&6&lワープポイント3&eにセットしました" to arg 1
Add Comment
Please, Sign In to add comment