siso_

Untitled

Apr 25th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. on rightclick holding stone:
  2. stop
  3.  
  4. command /ranking:
  5. trigger:
  6. set {_ser} to max player count of server with host "playerrealms.com" port 25565
  7. broadcast "%{_ser}%"
  8. command /flux <text> <number>:
  9. permission: admin
  10. trigger:
  11. add arg 2 to {asd::%arg 1%}
  12. options:
  13. count: 5
  14.  
  15. command /rank:
  16. trigger:
  17. set {_high} to 0
  18. loop {sp::*}:
  19. set {_list::%loop-index%} to loop-value
  20. loop {@count} times:
  21. loop {_list::*}:
  22. loop-value-2 > {_high}
  23. set {_high} to loop-value-2
  24. set {_highplayer} to loop-index
  25. message "%loop-number%位%{_highplayer}%さんの%{_high}%ポイント!"
  26. set {_high} to 0
  27. delete {_list::%{_highplayer}%}
  28. if loop-number is 1:
  29. send "You いちい!!" to {_highplayer}
  30. stop
  31. command /create [<text>]:
  32. trigger:
  33. if arg 1 is not set:
  34. send "&6====================================="
  35. send "&6/create (サーバー名)"
  36. stop
  37. if {serverset.%uuid of player%} is set:
  38. send "&6あなたは既にサーバーを構えてます"
  39. stop
  40. set {serverlist::%player%} to "%arg 1%"
  41. add 1000 to {globallocation}
  42. set {serverlocation.%player%} to "%{globallocation}% 20 %{globallocation}%"
  43. send "&6サーバーを作りました &a(%arg 1%)"
  44. execute console command "/tp %player% %{serverlocation.%player%}%"
  45. set {server.%uuid of player%} to true
  46. wait 15 seconds
  47. send "&6/lobbyで最初の地点に戻れます"
  48. stop
  49. command /ser:
  50. trigger:
  51. set {slotnum} to 9
  52. open chest with 6 row named "&aRealm" to player
  53. format slot 0 of player with ender chest named "&eMiniRealm" to close
  54. loop {serverlist::*}:
  55. add 1 to {slotnum}
  56. format slot {slotnum} of player with emerald block named "&6&l%loop-value%" with lore "主:&7%loop-index%" to close then run [execute console command "/tp %player% %{serverlocation.%loop-index%}%"]
  57.  
  58. command /tt:
  59. trigger:
  60. open chest with 6 row named "&aRealm" to player
  61. format slot 1 of player with emerald block named "&6&lasd" with lore "主:&7sad" to close then run [teleport player to location at (0, 4, 0)]
  62. command /ea <text>:
  63. trigger:
  64. name of player is "siso_AZ"
  65. evaluate "%arg 1%"
  66. on join:
  67. if {server.%uuid of player%} is set:
  68. delete {server.%uuid of player%}
  69. command "/gamemode 1 %player%"
  70. teleport player to location at (0, 4, 0)
  71. broadcast "&e%player% join"
  72. on respawn:
  73. set respawn location to location at (0, 4, 0)
  74. command /lobby:
  75. trigger:
  76. teleport player to location at (0, 4, 0)
  77. every 5 minutes:
  78. command "/weather clear"
  79. command "/time set day"
  80. broadcast "/lobbyでロビーに戻れます"
  81.  
  82. options:
  83. c: &e[くーぽん]&6
  84. command /coupon [<text>] [<text>] [<text>]:
  85. trigger:
  86. if arg 1 is not set:
  87. if player has permission "admin":
  88. send "{@c} &c/coupon (couponname/create/delete/check)"
  89. stop
  90. else:
  91. send "{@c} /coupon (クーポンの名前) で引き換えできます!!"
  92. stop
  93. if arg 1 is "delete":
  94. if arg 2 is set:
  95. delete {coupon::%arg 2%}
  96. send "{@c} %arg 2%のクーポンを削除しました。"
  97. stop
  98. else:
  99. send "{@c} &c/coupon delete (name)"
  100. stop
  101. if arg 1 is "check":
  102. if arg 2 is set:
  103. loop {coupon::*}:
  104. if loop-index contain arg 2:
  105. send "{@c} &a%arg 2%のクーポンは存在しています。"
  106. stop
  107. else:
  108. send "{@c} &c%arg 2%のクーポンは存在していません。"
  109. stop
  110. else:
  111. send "{@c} &c/coupon check (name)"
  112. stop
  113. if arg 1 is "list":
  114. loop {coupon::*}:
  115. send "&bName:&6%loop-index% &bPoint:&a%loop-value%"
  116. stop
  117.  
  118. command /get [<text>]:
  119. trigger:
  120. if arg 1 is set:
  121. loop {coupon::*}:
  122. if loop-index contain arg 1:
  123. if {getcoupon.%loop-index%} is true:
  124. send "{@c} &cそのクーポンは既に引き換えされています!"
  125. stop
  126. add loop-value to {xp.%player%}
  127. send "{@c} クーポンの引き換えに成功しました!! &a(+%loop-value%XP)"
  128. set {getcoupon.%loop-index%} to true
  129. stop
  130. else:
  131. send "{@c} &cおっと、そのクーポンはなかったようだ!"
  132. stop
  133. else:
  134. send "{@c} /coupon (クーポンの名前) で引き換えできます!!"
  135. stop
  136.  
  137. command /created [<text>] [<number>]:
  138. trigger:
  139. if arg 1 is set:
  140. if arg 2 is set:
  141. set {coupon::%arg 1%} to arg 2
  142. send "{@c} クーポン&a(%arg 1%)&6を作成しました。&a(ポイント:%arg 2%)"
  143. loop {coupon::*}:
  144. send "%loop-index% value %loop-value%"
  145. stop
  146. else:
  147. send "{@c} &c/coupon create (name) (point)"
  148. stop
  149. else:
  150. send "{@c} &c/coupon create (name) (point)"
  151. stop
Add Comment
Please, Sign In to add comment