Advertisement
kuragonn

Untitled

Nov 26th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. #option
  2.  
  3. options:
  4. Title: &6&l[&bKFGL&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-KFGL-" 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-KFGL-" 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.  
  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.  
  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.  
  87. #score
  88.  
  89.  
  90. every 1 second:
  91. loop all players:
  92. set the text of id "%loop-player%10" to "&e"
  93. set the text of id "%loop-player%9" to "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15"
  94. set the text of id "%loop-player%8" to "&f"
  95. set the text of id "%loop-player%7" to "&e&lGame &8&l> &6%{game.%loop-player%}%"
  96. set the text of id "%loop-player%6" to "&1"
  97. set the text of id "%loop-player%5" to "&e&lKLCoin &8&l> &6%{coin.%loop-player%}%"
  98. set the text of id "%loop-player%4" to "&b"
  99. set the text of id "%loop-player%3" to "&e&lInfo &8&l> &6%{Information1}%"
  100. set the text of id "%loop-player%2" to "&c"
  101.  
  102.  
  103. #score 設定
  104.  
  105. command /applyboard:
  106. permission: admin
  107. trigger:
  108. create a new stylish scoreboard named "%player%"
  109. set title of stylish scoreboard "%player%" to "&7&l《&6&l-KFGL-&7&l》"
  110. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  111. 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%"
  112. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  113. create a new id based score "%player%7" with text "&e&lGame &8&l> &6%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  114. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  115. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  116. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  117. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  118. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  119. set stylish scoreboard of player to "%player%"
  120.  
  121.  
  122. command /updatescores:
  123. permission: admin
  124. trigger:
  125. set the text of id "%player%10" to "&e"
  126. set the text of id "%player%9" to "&e&lPlayer &8&l> &e&l%amount of all players%&7/&e&l15"
  127. set the text of id "%player%8" to "&f"
  128. set the text of id "%player%7" to "&e&lGame &8&l> &6%{game.%player%}%"
  129. set the text of id "%player%6" to "&1"
  130. set the text of id "%player%5" to "&e&lKLCoin &8&l> &6%{coin.%player%}%"
  131. set the text of id "%player%4" to "&b"
  132. set the text of id "%player%3" to "&e&lInfo &8&l> &6%{Information1}%"
  133. set the text of id "%player%2" to "&c"
  134.  
  135. command /removeboard:
  136. permission: admin
  137. trigger:
  138. reset stylish scoreboard of player
  139. delete stylish scoreboard named "%player%"
  140.  
  141.  
  142. #sidebar on join
  143.  
  144. on join:
  145. wait 0.2 seconds
  146. create a new stylish scoreboard named "%player%"
  147. set title of stylish scoreboard "%player%" to "&7&l《&6&l-KFGL-&7&l》"
  148. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  149. 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%"
  150. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  151. create a new id based score "%player%7" with text "&e&lGame &8&l> &6%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  152. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  153. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  154. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  155. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  156. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  157. set stylish scoreboard of player to "%player%"
  158.  
  159.  
  160.  
  161. on respawn:
  162. wait 2 ticks
  163. create a new stylish scoreboard named "%player%"
  164. set title of stylish scoreboard "%player%" to "&7&l《&6&l-KFGL-&7&l》"
  165. create a new id based score "%player%10" with text "&e" slot 10 for stylish scoreboard "%player%"
  166. 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%"
  167. create a new id based score "%player%8" with text "&f" slot 8 for stylish scoreboard "%player%"
  168. create a new id based score "%player%7" with text "&e&lGame &8&l> &6%{game.%player%}%" slot 7 for stylish scoreboard "%player%"
  169. create a new id based score "%player%6" with text "&1" slot 6 for stylish scoreboard "%player%"
  170. create a new id based score "%player%5" with text "&e&lKLCoin &8&l> &6%{coin.%player%}%" slot 5 for stylish scoreboard "%player%"
  171. create a new id based score "%player%4" with text "&b" slot 4 for stylish scoreboard "%player%"
  172. create a new id based score "%player%3" with text "&e&lInfo &8&l> &6%{Information1}%" slot 3 for stylish scoreboard "%player%"
  173. create a new id based score "%player%2" with text "&c" slot 2 for stylish scoreboard "%player%"
  174. set stylish scoreboard of player to "%player%"
  175.  
  176. command /setstatus [<text>] [<text>] [<text>] :
  177. permission: admin
  178. trigger:
  179. if arg 2 is "coin":
  180. set {coin.%arg 1%} to arg 3
  181. send "{@Title} &6%arg 1% の %arg 2% を %arg 3% に設定しました"
  182. stop
  183. if arg 2 is "game":
  184. set {game.%arg 1%} to arg 3
  185. send "{@Title} &6%arg 1% の %arg 2% を %arg 3% に設定しました"
  186. stop
  187. else:
  188. send "&4Skript error"
  189. stop
  190. #Info
  191.  
  192. command /Information [<text>]:
  193. permission: admin
  194. trigger:
  195. set {Information1} to arg 1
  196. send "{@Title} &6Information を %arg 1% に設定しました"
  197. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement