Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. #option
  2.  
  3. options:
  4. Title: &6&l[&bBeee&6&l]
  5.  
  6. #SK reload
  7.  
  8. on load:
  9. broadcast "{@Title} &6スクリプトのリロードが完了しました"
  10.  
  11. #TAB
  12.  
  13. on join:
  14. loop all players:
  15. set tab header to "&6&l-Beee-" and footer to "&eOnline players &7: &e%amount of all players%&7/&e15" for loop-player
  16.  
  17.  
  18. on quit:
  19. loop all players:
  20. wait 0.5 ticks
  21. set tab header to "&6&l-Beee-" and footer to "&eOnline players &7: &e%amount of all players%&7/&e15" for loop-player
  22.  
  23.  
  24.  
  25. #Join&Quitメッセージ表示
  26. on join:
  27. set join message to "&7[&a+&7] &7%player%"
  28.  
  29.  
  30. on quit:
  31. set quit message to "&7[&c-&7] &7%player%"
  32.  
  33.  
  34. on first join:
  35. set join message to "&7[&a+&7] &7%player% &e-&6New&e-"
  36. set {coin.%player%} to 100
  37. set {rank.%arg 1%} to Member
  38.  
  39. #command log
  40.  
  41. on command:
  42. sender is player
  43. loop all players:
  44. loop-player have permission "admin"
  45. message "&7[&bCommandLog&7] &b%player%&7 /%full command%" to loop-player
  46.  
  47.  
  48. #item name and lore
  49.  
  50. command /itemname [<text>]:
  51. permission: admin
  52. trigger:
  53. set the name of held item to colored arg
  54. send "{@Title} &6変更が完了しました"
  55.  
  56.  
  57. command /itemlore [<number>] [<text>]:
  58. permission: admin
  59. trigger:
  60. set line arg 1 of lore of held item to colored "%arg 2%"
  61. send "{@Title} &6変更が完了しました"
  62.  
  63.  
  64. #serverSpawn
  65.  
  66. command /setserverspawn:
  67. permission: admin
  68. trigger:
  69. set {server.spawn} to location of player
  70. send "{@Title} &6サーバースポーンを変更しました"
  71.  
  72. on join:
  73. wait 2 ticks
  74. teleport the player to {server.spawn}
  75. set {Game.%player%} to "Lobby"
  76.  
  77. on command:
  78. if full command is "pl":
  79. player do not have permission "admin"
  80. send "{@Title} &6あなたはこのコマンド使う権限を持っていません"
  81. cancel event
  82. if full command is "plugins":
  83. player do not have permission "admin"
  84. send "{@Title} &6あなたはこのコマンド使う権限を持っていません"
  85. cancel event
  86. if full command is "help":
  87. player do not have permission "admin"
  88. send "{@Title} &6あなたはこのコマンド使う権限を持っていません"
  89. cancel event
  90.  
  91.  
  92.  
  93. #score
  94.  
  95.  
  96. every 1 second:
  97. loop all players:
  98. set the text of id "%loop-player%10" to "&e"
  99. set the text of id "%loop-player%9" to "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15"
  100. set the text of id "%loop-player%8" to "&f"
  101. set the text of id "%loop-player%7" to "&e&lGame &8&l> &6&l%{game.%loop-player%}%"
  102. set the text of id "%loop-player%6" to "&1"
  103. set the text of id "%loop-player%5" to "&e&lKLCoin &8&l> &6%{coin.%loop-player%}%"
  104. set the text of id "%loop-player%4" to "&b"
  105. set the text of id "%loop-player%3" to "&e&lInfo &8&l> &6%{Information1}%"
  106. set the text of id "%loop-player%2" to "&c"
  107.  
  108.  
  109. #score 設定
  110.  
  111. command /applyboard:
  112. permission: admin
  113. trigger:
  114. create a new stylish scoreboard named "%player%"
  115. set title of stylish scoreboard "%player%" to "&7&l《&6&l-Beee-&7&l》"
  116. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  117. create a new id based score "%player%9" with text "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15" slot 9 for stylish scoreboard "%player%"
  118. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  119. create a new id based score "%player%7" with text "&e&lGame &8&l> &6&l%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  120. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  121. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  122. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  123. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  124. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  125. set stylish scoreboard of player to "%player%"
  126.  
  127.  
  128. command /updatescores:
  129. permission: admin
  130. trigger:
  131. set the text of id "%player%10" to "&e"
  132. set the text of id "%player%9" to "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15"
  133. set the text of id "%player%8" to "&f"
  134. set the text of id "%player%7" to "&e&lGame &8&l> &6&l%{game.%player%}%"
  135. set the text of id "%player%6" to "&1"
  136. set the text of id "%player%5" to "&e&lKLCoin &8&l> &6%{coin.%player%}%"
  137. set the text of id "%player%4" to "&b"
  138. set the text of id "%player%3" to "&e&lInfo &8&l> &6%{Information1}%"
  139. set the text of id "%player%2" to "&c"
  140.  
  141. command /removeboard:
  142. permission: admin
  143. trigger:
  144. reset stylish scoreboard of player
  145. delete stylish scoreboard named "%player%"
  146.  
  147.  
  148. #sidebar on join
  149.  
  150. on join:
  151. wait 0.2 seconds
  152. create a new stylish scoreboard named "%player%"
  153. set title of stylish scoreboard "%player%" to "&7&l《&6&l-Beee-&7&l》"
  154. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  155. create a new id based score "%player%9" with text "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15" slot 9 for stylish scoreboard "%player%"
  156. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  157. create a new id based score "%player%7" with text "&e&lGame &8&l> &6&l%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  158. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  159. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  160. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  161. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  162. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  163. set stylish scoreboard of player to "%player%"
  164.  
  165.  
  166.  
  167. on respawn:
  168. wait 2 ticks
  169. create a new stylish scoreboard named "%player%"
  170. set title of stylish scoreboard "%player%" to "&7&l《&6&l-Beee-&7&l》"
  171. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  172. create a new id based score "%player%9" with text "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15" slot 9 for stylish scoreboard "%player%"
  173. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  174. create a new id based score "%player%7" with text "&e&lGame &8&l> &6&l%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  175. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  176. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  177. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  178. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  179. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  180. set stylish scoreboard of player to "%player%"
  181.  
  182. command /setstatus [<text>] [<text>] [<text>] :
  183. permission: admin
  184. trigger:
  185. if arg 2 is "coin":
  186. set {coin.%arg 1%} to arg 3
  187. send "{@Title} &6%arg 1% の %arg 2% を %arg 3% に設定しました"
  188. stop
  189. if arg 2 is "game":
  190. set {game.%arg 1%} to arg 3
  191. send "{@Title} &6%arg 1% の %arg 2% を %arg 3% に設定しました"
  192. stop
  193. else:
  194. send "&4Skript error"
  195. stop
  196. #Info
  197.  
  198. command /Information [<text>]:
  199. permission: admin
  200. trigger:
  201. set {Information1} to arg 1
  202. send "{@Title} &6Information を %arg 1% に設定しました"
  203. stop
  204.  
  205. #rank
  206. command /setrank [<text>] [<text>]:
  207. permission: admin
  208. trigger:
  209. set {rank.%arg 1%} to arg 2
  210. send "{@Title} &6%arg 1% のランクを %arg 1% に設定しました"
  211. stop
  212.  
  213. on chat:
  214. cancel event
  215. if player do not have permission "admin":
  216. broadcast "&6&l[&a%{rank.%player%}%&6&l] &f%player% &a: &f%message%"
  217. stop
  218. else:
  219. broadcast "&6&l[&cAdmin&6&l] &f%player% &a: &f%message%"
  220. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement