Satoru7135

Untitled

May 23rd, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.59 KB | None | 0 0
  1. #created by kirbyno1
  2. #license kirbyno1 v1.4
  3. #このSkriptの改造を禁止します
  4. #このSkript二次頒布を禁止し、使用はlicenseに定める範囲内とし、確認は各自の責任で行ってください。
  5. #KirbyEssentialsXはまだまだ試作品です!
  6. #ここから下はいじらないでくれぇ!
  7. options:
  8. essx: &2[&dkirby&aESS&b&lX&2]
  9. prefix: &b&lSign&9&lEdit &8&l>>
  10. command /kirbyhelp [<text>]:
  11. permission: kirby.help
  12. permission message: {@essx}&c権限がありません
  13. aliases: /kh
  14. trigger:
  15. if arg 1 is "1":
  16. message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
  17. send "&b❖&a移動系"
  18. send "&5- &b/&3tp &2<プレイヤー名> &6指定したプレイヤーの元へテレポートします。"
  19. send "&5- &b/&3tpl &2<X> <Y> <Z> &6指定した座標へテレポートします。"
  20. send "&5- &b/&3tphere &2<プレイヤー名> &6指定したプレイヤーを自分の元へ引き寄せます。"
  21. send "&5- &b/&3speed &2<速度> &6移動速度を変更します。 Fly時には飛行スピードを、歩行時には歩行スピードを変更します。"
  22. send "&bTips: &6デフォルトの歩行速度は&a0.2&6、飛行速度は&a0.1&6です。"
  23. send "&5- &b/&3spawn &6スポーン地点へ移動します。"
  24. send "&5- &b/&3setspawn &6現在位置をスポーン地点に指定します。"
  25. send "&5- &b/&3fly &6飛行モードを&a有効&6/&c無効化します。"
  26. message centered "&9Help 1/4" to player
  27. message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
  28. stop
  29. if arg 1 is "2":
  30. message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
  31. send "&b❖&a便利系"
  32. send "&5- &b/&3calc &6最新型高性能計算機GUIを開きます。" to player
  33. send "&5- &b/&3skull &2<プレイヤー名> &6指定したプレイヤーの頭を入手します。 プレイヤーを指定しなければ自分の頭を入手します。"
  34. send "&5- &b/&3timer &2<秒数> &6指定した秒数のタイマーを設定します。"
  35. send "&5- &b/&3heal &2<プレイヤー名> &6プレイヤーの体力を回復します。 プレイヤー名を指定しなければ自分を回復します。"
  36. send "&5- &b/&3rename &2<名前> &6手に持っているアイテムの名前を変更します。"
  37. send "&5- &b/&3relore &2<行> <説明文> &6手に持っているアイテムの説明文を変更します。"
  38. message centered "&9Help 2/4" to player
  39. message centered "&6-----&a&l⚒&a[&dKirby&aEssentials&b&lX&a]&a&l⚒&6-----" to player
  40. stop
  41. if arg 1 is "3":
  42. message centered "&6-----&a&l⚒&a[&dKirby&aEssentials&b&lX&a]&a&l⚒&6-----" to player
  43. send "&b❖&a表示系"
  44. send "&5- &b/&3kh &2<ページ> &dKirby&aEssentials&b&lX&6のヘルプを表示します。"
  45. send "&5- &b/&3list &6現在サーバーにいるプレイヤーリストを表示します。"
  46. send "&5- &b/&3craft &6作業台を開きます。"
  47. send "&5- &b/&3furnace &6竈を開きます。"
  48. send "&5- &b/&3brewing &6酸造台を開きます。"
  49. send "&5- &b/&3anvil &6金床を開きます。"
  50. send "&5- &b/&3ec &2<プレイヤー名> &6指定したプレイヤーのエンダーチェストを開きます。 プレイヤー名を指定しなければ自分のエンダーチェストを開きます。"
  51. send "&5- &b/&3broadcast &2<文字> &6全ワールドに放送します。"
  52. send "&5- &b/&3realtime &6現在時刻を表示します。"
  53. send "&5- &b/&3hide &6透明化モードを&a有効&6/&c無効化します。"
  54. send "&5- &6/&akx &3<data/updata/check/disable/reload/addon> &6&dKirby&aEssentials&b&lX&6管理メニューを表示します。"
  55. message centered "&9Help 3/4" to player
  56. message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
  57. stop
  58. if arg 1 is "4":
  59. message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
  60. send "&b❖ゲームシステム系"
  61. send "&5- &b/&3mine &6ブロック一撃破壊モードを&a有効&6/&c無効化&6します。"
  62. send "&5- &b/&3gamemode &2<ゲームモード> <プレイヤー> &6プレイヤーを指定したゲームモードへ変更します。プレイヤーを指定しない場合は自分に適用されます。"
  63. send "&bTips: &20 survival&6でサバイバル、&b1 creative&6でクリエイティブ、&c2 adventure&6でアドベンチャー、 &a3 spectator&6でスペイテクターとなります。"
  64. send "&5- &b/&3entityclear &2<半径> &6自分を中心とした指定した半径のブロック内にいるエンティティを&c削除&6します。&9(プレイヤーは含まれません)"
  65. send "&5- &b/&3signedit &2<edit/remove/delete> <行> <テキスト> &6看板をターゲットした状態でコマンドを使用すると看板を編集できます。&aサーバーのパケット送信により/signedit editで看板編集を開く事ができます。"
  66. send "&5- &b/&3repair &6修理したいツールを手に持てば修復できます。"
  67. send "&5- &b/&3clearchat &6チャットをクリアーできます。"
  68. send "&bTips: &6時計を持つと時間が確認できます。"
  69. message centered "&9Help 4/4" to player
  70. message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
  71. stop
  72. if arg 1 is "all":
  73. send "&b❖&a移動系"
  74. send "&5- &b/&3tp &2<プレイヤー名> &6指定したプレイヤーの元へテレポートします。"
  75. send "&5- &b/&3tpl &2<X> <Y> <Z> &6指定した座標へテレポートします。"
  76. send "&5- &b/&3tphere &2<プレイヤー名> &6指定したプレイヤーを自分の元へ引き寄せます。"
  77. send "&5- &b/&3speed &2<速度> &6移動速度を変更します。 Fly時には飛行スピードを、歩行時には歩行スピードを変更します。"
  78. send "&bTips: &6デフォルトの歩行速度は&a0.2&6、飛行速度は&a0.1&6です。"
  79. send "&5- &b/&3spawn &6スポーン地点へ移動します。"
  80. send "&5- &b/&3setspawn &6現在位置をスポーン地点に指定します。"
  81. send "&5- &b/&3fly &6飛行モードを&a有効&6/&c無効化します。"
  82. send "&b❖&a便利系"
  83. send "&5- &b/&3calc &6最新型高性能計算機GUIを開きます。" to player
  84. send "&5- &b/&3skull &2<プレイヤー名> &6指定したプレイヤーの頭を入手します。 プレイヤーを指定しなければ自分の頭を入手します。"
  85. send "&5- &b/&3timer &2<秒数> &6指定した秒数のタイマーを設定します。"
  86. send "&5- &b/&3heal &2<プレイヤー名> &6プレイヤーの体力を回復します。 プレイヤー名を指定しなければ自分を回復します。"
  87. send "&5- &b/&3rename &2<名前> &6手に持っているアイテムの名前を変更します。"
  88. send "&5- &b/&3relore &2<行> <説明文> &6手に持っているアイテムの説明文を変更します。"
  89. send "&5- &6/&3shine &6手に持っているアイテムを光らせます。"
  90. send "&b❖&a表示系"
  91. send "&5- &b/&3kh &2<ページ> &dKirby&aEssentials&b&lX&6のヘルプを表示します。"
  92. send "&5- &b/&3list &6現在サーバーにいるプレイヤーリストを表示します。"
  93. send "&5- &b/&3craft &6作業台を開きます。"
  94. send "&5- &b/&3furnace &6竈を開きます。"
  95. send "&5- &b/&3brewing &6酸造台を開きます。"
  96. send "&5- &b/&3anvil &6金床を開きます。"
  97. send "&5- &b/&3ec &2<プレイヤー名> &6指定したプレイヤーのエンダーチェストを開きます。 プレイヤー名を指定しなければ自分のエンダーチェストを開きます。"
  98. send "&5- &b/&3broadcast &2<文字> &6全ワールドに放送します。"
  99. send "&5- &b/&3realtime &6現在時刻を表示します。"
  100. send "&5- &b/&3hide &6透明化モードを&a有効&6/&c無効化します。"
  101. send "&5- &6/&akx &3<data/updata/check/disable/reload/addon> &6&dKirby&aEssentials&b&lX&6管理メニューを表示します。"
  102. send "&b❖ゲームシステム系"
  103. send "&5- &b/&3mine &6ブロック一撃破壊モードを&a有効&6/&c無効化&6します。"
  104. send "&5- &b/&3gamemode &2<ゲームモード> <プレイヤー> &6プレイヤーを指定したゲームモードへ変更します。プレイヤーを指定しない場合は自分に適用されます。"
  105. send "&bTips: &20 survival&6でサバイバル、&b1 creative&6でクリエイティブ、&c2 adventure&6でアドベンチャー、 &a3 spectator&6でスペイテクターとなります。"
  106. send "&5- &b/&3entityclear &2<半径> &6自分を中心とした指定した半径のブロック内にいるエンティティを&c削除&6します。&9(プレイヤーは含まれません)"
  107. send "&5- &b/&3signedit &2<edit/remove/delete> <行> <テキスト> &6看板をターゲットした状態でコマンドを使用すると看板を編集できます。&aサーバーのパケット送信により/signedit editで看板編集を開く事ができます。"
  108. send "&5- &b/&3repair &6修理したいツールを手に持てば修復できます。"
  109. send "&5- &b/&3clearchat &6チャットをクリアーできます。"
  110. send "&bTips: &6時計を持つと時間が確認できます。"
  111. message centered "&9Help All" to player
  112. message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
  113. stop
  114. if arg 1 is not set:
  115. send "{@essx}&b/&3kh &2<1|2|3|4|all> &6を使用してください。"
  116. else:
  117. send "{@essx}&b/&3kh &2<1|2|3|4|all> &6を使用してください。"
  118. sign change:
  119. set {_colors::*} to integers from 0 to 9, "a", "b", "c", "d", "e", "f", "o", "n", "m", "r", "k" and "l"
  120. loop 4 times:
  121. set {_l.%loop-num%::*} to line loop-num of event-block split by ""
  122. loop {_colors::*}:
  123. line loop-num of event-block contains "&%loop-value-2%"
  124. player doesn't have permission "signedit.color.&%loop-value-2%" or "signedit.colors"
  125. loop {_l.%loop-num%::*}:
  126. "%loop-value-3%" is "&"
  127. "%{_l.%loop-num%::%loop-index-2 parsed as int + 1%}%" is "%loop-value-2%"
  128. delete {_l.%loop-num%::%loop-index-2%}
  129. delete {_l.%loop-num%::%loop-index-2 parsed as int + 1%}
  130. set {_line.%loop-num%} to join {_l.%loop-num%::*} by ""
  131. loop 4 times:
  132. set line loop-num of event-block to colored {_line.%loop-num%}
  133. rightclick on sign:
  134. player has permission "signedit.edit"
  135. player is sneaking
  136. set {signedit.%player%} to true
  137. set {_p} to new play_server_open_sign_editor packet
  138. set location pinfo 0 of {_p} to clicked block's location
  139. send player packet {_p}
  140. send "{@prefix} &e看板を編集します… &6Location: &7%round clicked block's x-pos%&7, &6%round clicked block's y-pos%&7, &6%round clicked block's z-pos%"
  141. packet event play_client_update_sign:
  142. {signedit.%player%} is set
  143. set {_loc} to location pinfo 0 of event-packet
  144. set {_line::*} to string array pinfo 0 of event-packet
  145. loop 4 times:
  146. set line loop-num of block at {_loc} to colored {_line::%loop-num%}
  147. command /signedit [<text>] [<int>] [<text>]:
  148. aliases: se, sign, signedit
  149. trigger:
  150. if arg-1 is "edit":
  151. if arg-2 is set:
  152. if arg-3 is set:
  153. if target block is sign:
  154. if player has permission "signedit.edit":
  155. set {_colors::*} to integers from 0 to 9, "a", "b", "c", "d", "e", "f", "o", "n", "m", "r", "k" and "l"
  156. set {_l::*} to arg-3 split by ""
  157. loop {_colors::*}:
  158. arg-3 contains "&%loop-value%"
  159. player doesn't have permission "signedit.color.&%loop-value%" or "signedit.colors"
  160. loop {_l::*}:
  161. "%loop-value-2%" is "&"
  162. "%{_l::%loop-index-2 parsed as int + 1%}%" is "%loop-value-1%"
  163. delete {_l::%loop-index-2%}
  164. delete {_l::%loop-index-2 parsed as int + 1%}
  165. set {_line} to join {_l::*} by ""
  166. set line arg-2 of target block to colored {_line}
  167. send "{@essx} &e%arg-2%行目を編集しました。 &6Location: &7%round target block's x-pos%&7, &6%round target block's y-pos%&7, &6%round target block's z-pos%"
  168. else:
  169. send "{@essx} &7権限がありません。"
  170. else:
  171. send "{@essx} &7看板をターゲットしてから使用してください。"
  172. else:
  173. send "{@essx} &7使用法&8: &0/&7signedit &8<&7edit&8/&7remove&8/&7delete&8> [&7行&8]"
  174. else:
  175. if target block is sign:
  176. if player has permission "signedit.edit":
  177. set {signedit.%player%} to true
  178. set {_p} to new play_server_open_sign_editor packet
  179. set location pinfo 0 of {_p} to target block's location
  180. send player packet {_p}
  181. send "{@essx} &e看板を編集します… &6Location: &7%round target block's x-pos%&7, &6%round target block's y-pos%&7, &6%round target block's z-pos%"
  182. else:
  183. send "{@essx} &7権限がありません。"
  184. else:
  185. send "{@essx} &7看板をターゲットしてから使用してください。"
  186. else if arg-1 is "delete" or "remove":
  187. if target block is sign:
  188. if player has permission "signedit.edit":
  189. if arg-2 is set:
  190. set line arg-2 of target block to ""
  191. send "{@essx} &e全ての行を削除しました。 &6Location: &7%round target block's x-pos%&7, &6%round target block's y-pos%&7, &6%round target block's z-pos%"
  192. else:
  193. loop 4 times:
  194. set line loop-num of target block to ""
  195. send "{@essx} &e全ての行を削除しました。 &6Location: &7%round target block's x-pos%&7, &6%round target block's y-pos%&7, &6%round target block's z-pos%"
  196. else:
  197. send "{@essx} &7権限がありません。"
  198. else:
  199. send "{@essx} &7看板をターゲットしてから使用してください。"
  200. else:
  201. send "{@essx} &7使用法&8: &0/&7signedit &8<&7edit&8/&7remove&8/&7delete&8> [&7行&8]"
  202. command /tp [<player>]:
  203. permission: kirby.tp
  204. permission message: {@essx}&c権限がありません
  205. executable by: players
  206. trigger:
  207. if arg 1 is not set:
  208. send "{@essx}&9使用法: &6/tp &2<プレイヤー>"
  209. stop
  210. else:
  211. if arg 1 is online:
  212. teleport player to argument 1
  213. send "{@essx}&b%arg 1%にテレポートしました。"
  214. if argument 1 is offline:
  215. send "{@essx}&c%arg 1%はオフラインであるか名前が間違っています。"
  216. command /tpl [<num>] [<num>] [<num>]:
  217. permission: kirby.tpl
  218. executable by: players
  219. permission message: {@essx}&c権限がありません
  220. trigger:
  221. if arg 1 is not set:
  222. send "{@essx}&9使用法: &6/tpl &2<整数のX> <整数のY> <整数のZ>"
  223. stop
  224. else:
  225. run player command "/minecraft:tp %arg 1% %arg 2% %arg 3%" as op
  226. send "{@essx}&bX %arg 1% Y %arg 2% Z %arg 3%にテレポートしました。"
  227. command /tphere [<player>]:
  228. permission: kirby.tphere
  229. executable by: players
  230. permission message: {@essx}&c権限がありません
  231. trigger:
  232. if arg 1 is not set:
  233. send "{@essx}&9使用法: &6/tphere &2<プレイヤー>"
  234. stop
  235. else:
  236. if arg 1 is online:
  237. teleport arg 1 to player
  238. send "{@essx}&b%arg 1%を引き寄せました。"
  239. if arg 1 is offline:
  240. send "{@essx}&c%arg 1%はオフラインであるか名前が間違っています。"
  241. command /speed [<num>]:
  242. permission: kirby.speed
  243. executable by: players
  244. permission message: {@essx}&c権限がありません
  245. trigger:
  246. arg 1 is not set:
  247. send "{@essx}&9使用法: &6/speed &2<数値>"
  248. stop
  249. if player is flying:
  250. set the player's fly speed to arg-1
  251. send "{@essx}&6飛行速度を &a%arg-1% &6に設定しました。"
  252. else:
  253. set the player's walk speed to arg-1
  254. send "{@essx}&6歩行速度を &a%arg-1% &6に設定しました。"
  255. command /list:
  256. trigger:
  257. loop all players:
  258. add loop-player to {_online::*}
  259. set {_online} to "%{_online::*}%"
  260. replace all ", " in {_online} with " &9| "
  261. replace all "and" in {_online} with " &9| "
  262. send "{@essx}&6現在のオンラインユーザー: &a%{_online}%"
  263. command /gamemode [<text>] [<player>]:
  264. aliases: gm
  265. permission: kirby.gamemode
  266. permission message: {@essx}&c権限がありません
  267. trigger:
  268. arg 1 is not set:
  269. send "{@essx}&9使用法: &6/gamemode &2<ゲームモード> <プレイヤー>&9(この項目が無い場合は自分に適用します。)"
  270. send "{@essx}&9Tips: &20 survival&6でサバイバル &b1 creative&6でクリエイティブ &c2 adventure&6でアドベンチャー &53 spectator&6でスペクテイターモードとなります。"
  271. arg 1 is "0" or "survival":
  272. player do not have permission "kirby.gamemode.survival":
  273. send "{@essx}&c権限がありません"
  274. stop
  275. arg 2 is set:
  276. arg 2 is offline:
  277. send "{@essx}&cプレイヤーが見つかりません。"
  278. stop
  279. set arg-2's gamemode to survival
  280. send "{@essx}&a%arg-2%&6のゲームモードを&cサバイバル&6モードに変更しました。"
  281. stop
  282. set player's gamemode to survival
  283. send "{@essx}&a%player%&6のゲームモードを&cサバイバル&6モードに変更しました。"
  284. arg 1 is "1" or "creative":
  285. player do not have permission "kirby.gamemode.creative":
  286. send "{@essx}&c権限がありません"
  287. arg 2 is set:
  288. arg 2 is offline:
  289. send "{@essx}&cプレイヤーが見つかりません。"
  290. stop
  291. set arg-2's gamemode to creative
  292. send "{@essx}&a%arg-2%&6のゲームモードを&cクリエイティブ&6モードに変更しました。"
  293. stop
  294. set player's gamemode to creative
  295. send "{@essx}&a%player%&6のゲームモードを&cクリエイティブ&6モードに変更しました。"
  296. arg 1 is "2" or "adventure":
  297. player do not have permission "kirby.gamemode.adventure":
  298. send "{@essx}&c権限がありません"
  299. arg 2 is set:
  300. arg 2 is offline:
  301. send "{@essx}&cプレイヤーが見つかりません。"
  302. stop
  303. set arg-2's gamemode to adventure
  304. send "{@essx}&a%arg-2%&6のゲームモードを&cアドベンチャー&6モードに変更しました。"
  305. stop
  306. set player's gamemode to adventure
  307. send "{@essx}&a%player%&6のゲームモードを&cアドベンチャー&6モードに変更しました。"
  308. arg 1 is "3" or "spectator":
  309. player do not have permission "kirby.gamemode.spectator":
  310. send "{@essx}&c権限がありません"
  311. arg 2 is set:
  312. arg 2 is offline:
  313. send "{@essx}&cプレイヤーが見つかりません。"
  314. stop
  315. set arg-2's gamemode to spectator
  316. send "{@essx}&a%arg-2%&6のゲームモードを&cスペクテイター&6モードに変更しました。"
  317. stop
  318. set player's gamemode to spectator
  319. send "{@essx}&a%player%&6のゲームモードを&cスペクテイター&6モードに変更しました。"
  320. command /ec [<player>]:
  321. executable by: players
  322. permission: kirby.ec
  323. permission message: {@essx}&c権限がありません
  324. trigger:
  325. arg-1 is not set:
  326. open the player's ender chest to player
  327. play "ENDERMAN_TELEPORT" specifically to player with pitch 0.75 and volume 2
  328. send "{@essx}&5エンダーチェストを開きました。" to player
  329. stop
  330. arg-1 is online:
  331. open the arg 1's ender chest to player
  332. play "ENDERMAN_TELEPORT" specifically to player with pitch 0.75 and volume 2
  333. send "{@essx}&5%arg 1%のエンダーチェストを開きました。" to player
  334. stop
  335. arg-1 is offline:
  336. send "{@essx}&cプレイヤーが見つかりません。"
  337. command /calculator:
  338. aliases: /calc
  339. executable by: players
  340. trigger:
  341. open chest with 6 rows named "&c&l計算機" to player
  342. wait 3 ticks
  343. set {_num} to 0
  344. loop 9 times:
  345. set slot {_num} of player's current inventory to gray stained glass named "&0"
  346. add 1 to {_num}
  347. set {_num} to 45
  348. loop 9 times:
  349. set slot {_num} of player's current inventory to gray stained glass named "&0"
  350. add 1 to {_num}
  351. set slot 11 of player's current inventory to paper named "&a&l1"
  352. set slot 12 of player's current inventory to paper named "&a&l2"
  353. set slot 13 of player's current inventory to paper named "&a&l3"
  354. set slot 20 of player's current inventory to paper named "&a&l4"
  355. set slot 21 of player's current inventory to paper named "&a&l5"
  356. set slot 22 of player's current inventory to paper named "&a&l6"
  357. set slot 29 of player's current inventory to paper named "&a&l7"
  358. set slot 30 of player's current inventory to paper named "&a&l8"
  359. set slot 31 of player's current inventory to paper named "&a&l9"
  360. set slot 39 of player's current inventory to paper named "&a&l0"
  361. set slot 15 of player's current inventory to blue stained clay named "&a&l+"
  362. set slot 16 of player's current inventory to light blue stained clay named "&a&l-"
  363. set slot 24 of player's current inventory to green stained clay named "&a&l*"
  364. set slot 25 of player's current inventory to light green stained clay named "&a&l/"
  365. set slot 33 of player's current inventory to emerald named "&a&l="
  366. set slot 34 of player's current inventory to emerald named "&a&l="
  367. on inventory click:
  368. if inventory name of player's current inventory is "&c&l計算機":
  369. cancel event
  370. if clicked item is a paper:
  371. if {numbers::%player%} is not set:
  372. set {numbers::%player%} to ""
  373. if "%uncoloured name of clicked item%" is "1":
  374. set {numbers::%player%} to "%{numbers::%player%}%1"
  375. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  376. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  377. if "%uncoloured name of clicked item%" is "2":
  378. set {numbers::%player%} to "%{numbers::%player%}%2"
  379. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  380. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  381. if "%uncoloured name of clicked item%" is "3":
  382. set {numbers::%player%} to "%{numbers::%player%}%3"
  383. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  384. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  385. if "%uncoloured name of clicked item%" is "4":
  386. set {numbers::%player%} to "%{numbers::%player%}%4"
  387. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  388. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  389. if "%uncoloured name of clicked item%" is "5":
  390. set {numbers::%player%} to "%{numbers::%player%}%5"
  391. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  392. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  393. if "%uncoloured name of clicked item%" is "6":
  394. set {numbers::%player%} to "%{numbers::%player%}%6"
  395. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  396. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  397. if "%uncoloured name of clicked item%" is "7":
  398. set {numbers::%player%} to "%{numbers::%player%}%7"
  399. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  400. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  401. if "%uncoloured name of clicked item%" is "8":
  402. set {numbers::%player%} to "%{numbers::%player%}%8"
  403. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  404. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  405. if "%uncoloured name of clicked item%" is "9":
  406. set {numbers::%player%} to "%{numbers::%player%}%9"
  407. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  408. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  409. if "%uncoloured name of clicked item%" is "0":
  410. set {numbers::%player%} to "%{numbers::%player%}%0"
  411. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  412. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  413. if clicked item is blue stained clay:
  414. if "%uncoloured name of clicked item%" is "+":
  415. set {numbers::%player%} to "%{numbers::%player%}%+"
  416. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  417. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  418. if clicked item is light blue stained clay:
  419. if "%uncoloured name of clicked item%" is "-":
  420. set {numbers::%player%} to "%{numbers::%player%}%-"
  421. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  422. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  423. if clicked item is green stained clay:
  424. if "%uncoloured name of clicked item%" is "*":
  425. set {numbers::%player%} to "%{numbers::%player%}%*"
  426. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  427. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  428. if clicked item is light green stained clay:
  429. if "%uncoloured name of clicked item%" is "/":
  430. set {numbers::%player%} to "%{numbers::%player%}%/"
  431. set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  432. set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
  433. if clicked item is an emerald:
  434. if "%uncoloured name of clicked item%" is "=":
  435. set {_equation} to "%{numbers::%player%}%"
  436. evaluate "set {_calc} to %{_equation}%"
  437. close player's inventory
  438. message "{@essx}%{numbers::%player%}% = %{_calc}%"
  439. delete {numbers::%player%}
  440. delete {_calc}
  441. command /timer <number>:
  442. executable by: players
  443. trigger:
  444. send "{@essx}&a%arg-1%&6秒のタイマーを設定しました。"
  445. set {_time} to "%arg-1% seconds" parsed as timespan
  446. wait {_time}
  447. send player title "&6>>&a時間です!&6<<" with subtitle "&7%arg 1%秒前に設定したタイマーです。" for 5 seconds
  448. loop 3 times:
  449. loop 4 times:
  450. play "SUCCESSFUL_HIT" specifically to player with pitch 1 and volume 2
  451. wait 2 ticks
  452. wait 10 tick
  453. command /heal [<player>]:
  454. permission: kirby.heal
  455. executable by: players
  456. permission message: {@essx}&c権限がありません
  457. trigger:
  458. if arg 1 is set:
  459. heal the arg 1
  460. set the arg 1's food level to 20
  461. send "{@essx}&a%arg 1%&6の体力を完全回復しました。"
  462. stop
  463. else:
  464. heal the player
  465. set the player's food level to 20
  466. send "{@essx}&a%player%&6の体力を回復しました。"
  467. stop
  468. command /setspawn:
  469. permission: kirby.setspawn
  470. executable by: players
  471. permission message: {@essx}&c権限がありません
  472. trigger:
  473. set {kirby.spawn} to location of player
  474. send "{@essx}&bスポーン地点を &6X%round player's x-pos% Y%round player's y-pos% Z%round player's z-pos% &bに設定しました"
  475. command /spawn:
  476. permission: kirby.spawn
  477. executable by: players
  478. permission message: {@essx}&c権限がありません
  479. trigger:
  480. {kirby.spawn} is not set:
  481. send "&f[&dカービィ&f]&cSpawnの情報が無いようだ。運営に報告を頼む。"
  482. stop
  483. if {spawn.%player%} is true:
  484. send "&f[&dカービィ&f]&cもう少し待ってくれ…。あと%{wait.%player%}%秒だ…。"
  485. stop
  486. set {_loc.%player%} to location of player
  487. set {spawn.%player%} to true
  488. set {wait.%player%} to 10
  489. send "&f[&dカービィ&f]&aSpawnに行くぞ!%{wait.%player%}%秒その場で止まってくれ!"
  490. while {wait.%player%} is not 0:
  491. subtract 1 from {wait.%player%}
  492. wait 1 second
  493. if player is offline:
  494. set {spawn.%player%} to false
  495. set {wait.%player%} to 0
  496. stop
  497. {_loc.%player%} is not location of player:
  498. set {spawn.%player%} to false
  499. set {wait.%player%} to 0
  500. send "&f[&dカービィ&f]&cくっ…動いてしまったか…。中止だ…。"
  501. stop
  502. send "&f[&dカービィ&f]&bよし、良く持ち応えた!拠点に行くぞ!"
  503. teleport the player to {kirby.spawn}
  504. set {spawn.%player%} to false
  505. set {wait.%player%} to 0
  506. stop
  507. command /rename [<text>]:
  508. permission: kirby.rename
  509. executable by: players
  510. permission message: {@essx}&c権限がありません
  511. trigger:
  512. arg-1 is not set:
  513. send "{@essx}&9使用法: &6/rename &2<名前>"
  514. stop
  515. player is holding air:
  516. send "{@essx}&c名前を変更したいアイテムを手に持ってください。"
  517. stop
  518. set name of player's tool to coloured "%arg 1%"
  519. send "{@essx}&b%arg 1%に改名しました。"
  520. command /relore [<integer>] [<text>]:
  521. permission: kirby.relore
  522. executable by: players
  523. permission message: {@essx}&c権限がありません
  524. trigger:
  525. if player is holding air:
  526. send "{@essx}&c説明文を変更したいアイテムを手に持ってください。"
  527. stop
  528. if arg-1 is not set:
  529. send "{@essx}&9使用法 &6/relore &2<行> <説明文>"
  530. stop
  531. if arg-2 is not set:
  532. send "{@essx}&9使用法 &6/relore &2<行> <説明文>"
  533. stop
  534. else:
  535. set line arg-1 of the lore of player's tool to "%colored arg-2%"
  536. send "{@essx}&a%arg-1%&6行目に&a%colored arg 2%&6の説明文を追加しました。"
  537. command /shine:
  538. permission: kirby.shine
  539. executable by: players
  540. permission message: {@essx}&c権限がありません
  541. trigger:
  542. if player is holding air:
  543. send "{@essx}&c名前を変更したいアイテムを手に持ってください。"
  544. stop
  545. if player's tool is enchanted:
  546. send "{@essx}&c既にエンチャントされています。"
  547. stop
  548. if player's tool is not enchanted:
  549. set {_i} to player's tool
  550. set player's tool to shiny {_i}
  551. send "{@essx}&6アイテムを光らせました+ (o゚・∀・) +"
  552. stop
  553. command /repair:
  554. aliases: /fix
  555. permission: kirby.repair
  556. executable by: players
  557. permission message: {@essx}&c権限がありません
  558. trigger:
  559. player is not holding any sword or any axe or any spade or any pickaxe or any hoe or any helmet or any chestplate or any leggings or any boots or bow:
  560. send "{@essx}&c修復できるツールを手に持ってください。"
  561. stop
  562. repair tool of player
  563. send "{@essx} &b修復完了!"
  564. command /fly:
  565. permission: kirby.fly
  566. executable by: players
  567. permission message: {@essx}&c権限がありません
  568. trigger:
  569. if {fly.%player%} is not set:
  570. message "{@essx}&6飛行モードを&a有効化&6しました。"
  571. set player's flight mode to true
  572. set {fly.%player%} to true
  573. else:
  574. message "{@essx}&6飛行モードを&c無効化&6しました。"
  575. set player's flight mode to false
  576. delete {fly.%player%}
  577. command /skull [<text>]:
  578. permission: kirby.skull
  579. executable by: players
  580. permission message: {@essx}&c権限がありません
  581. trigger:
  582. if arg 1 is set:
  583. make player execute command "/give %player% minecraft:skull 1 3 {SkullOwner:%arg 1%}"
  584. send "{@essx}&b%arg 1%の頭を入手しました。"
  585. stop
  586. else:
  587. make player execute command "/give %player% minecraft:skull 1 3 {SkullOwner:%player%}"
  588. send "{@essx}&bあなたの頭を入手しました。"
  589. stop
  590. command /anvil:
  591. permission: kirby.anvil
  592. executable by: players
  593. permission message: {@essx}&c権限がありません
  594. trigger:
  595. open anvil to the player
  596. play "ANVIL_LAND" specifically to player with pitch 0.85 and volume 2
  597. send "{@essx}&6金床を開きました。"
  598. command /brewing:
  599. permission: kirby.brewing
  600. executable by: players
  601. permission message: {@essx}&c権限がありません
  602. trigger:
  603. open brewer inventory to player with name "&e&l醸造台"
  604. play "SPLASH" specifically to player with pitch 0 and volume 2
  605. send "{@essx}&b醸造台を開きました。"
  606. command /furnace:
  607. permission: kirby.furnace
  608. executable by: players
  609. permission message: {@essx}&c権限がありません
  610. trigger:
  611. open furnace to the player
  612. play "FIRE_IGNITE" specifically to player with pitch 0.7 and volume 2
  613. send "{@essx}&bかまどを開きました。"
  614. command /craft:
  615. permission: kirby.craft
  616. executable by: players
  617. permission message: {@essx}&c権限がありません
  618. trigger:
  619. open crafting inventory to player
  620. play "PISTON_EXTEND" specifically to player with pitch 2 and volume 2
  621. send "{@essx}&b作業台を開きました"
  622. command /broadcast [<text>]:
  623. executable by: players and console
  624. aliases: bc
  625. permission: kirby.broadcast
  626. permission message: {@essx}&c権限がありません
  627. trigger:
  628. arg-1 is not set:
  629. send "{@essx}&9使用法 &6/broadcast &2<文字>"
  630. stop
  631. if command sender is console:
  632. broadcast coloured "&a[&c放送&6-&aConsole&a]&r%arg 1%"
  633. stop
  634. if command sender is player:
  635. broadcast coloured "&a[&c放送&6-&b%player%&a]&r%arg 1%"
  636. command /mine:
  637. permission: kirby.mine
  638. executable by: players
  639. permission message: {@essx}&c権限がありません
  640. trigger:
  641. if {mine.%uuid of player%} is not set:
  642. set {mine.%uuid of player%} to true
  643. send "{@essx}&bブロック一撃破壊モードをONにしました。" to player
  644. stop
  645. else:
  646. delete {mine.%uuid of player%}
  647. send "{@essx}&bブロック一撃破壊モードをOFFにしました。" to player
  648. on block damage:
  649. if {mine.%uuid of player%} is true:
  650. set event-block to air
  651. play "ITEM_BREAK" specifically to player with pitch 0 and volume 2
  652. command /hide:
  653. permission: kirby.hide
  654. permission message: {@essx}&c権限がありません
  655. executable by: players
  656. trigger:
  657. if {hide.%uuid of player%} is not set:
  658. send "{@essx}&b透明化しました。"
  659. hide player from all players
  660. set {hide.%uuid of player%} to true
  661. else:
  662. send "{@essx}&b透明化モードを解除しました。"
  663. reveal player to all players
  664. delete {hide.%uuid of player%}
  665. command /kirbyessx [<text>]:
  666. permission: kirbyessx.admin
  667. permission message: {@essx}&c権限がありません
  668. aliases: kx
  669. trigger:
  670. if arg 1 is not set:
  671. message centered "&6❖{@essx}&6❖" to player
  672. send "&6* &b/kirbyessxの使用方法 *" to player
  673. send "&5- &6/kirbyessx reload &dKirby&aEssentials&b&lX&6を再読み込みします。かなりラグくなります。" to player
  674. send "&5- &6/kirbyessx check &dKirby&aEssentials&b&lX&6の最新版があるかどうか確認します。" to player
  675. send "&5- &6/kirbyessx updata &dKirby&aEssentials&b&lX&6をアップデートします。かなりラグくなります。" to player
  676. send "&5- &6/kirbyessx data &aバージョン情報と今回のアップデートで修正や追加されたものが確認できます。" to player
  677. send "&5- &6/kirbyessx addon &dKirby&aEssentials&b&lX&6に必要なアドオンを表示します。" to player
  678. if arg 1 is "reload":
  679. send "{@essx}&dKirby&aEssentials&b&lX&6をリロードします…"
  680. wait 10 tick
  681. run player command "/skript reload kirbyessentialsx" as op
  682. if arg 1 is "disable":
  683. send "{@essx}&dKirby&aEssentials&b&lX&6を無効化します。有効にするときは/sk enable kirbyessentialsxを実行して下さい。"
  684. run player command "/skript disable kirbyessentialsx" as op
  685. if arg 1 is "check":
  686. if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
  687. send "{@essx}&a新しいバージョンがあります!アップデートしましょう!"
  688. else:
  689. send "{@essx}&b新しいバージョンはありません。"
  690. if arg 1 is "updata":
  691. if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
  692. send "{@essx}&akirbyEssentialsXをアップデートします。"
  693. download from "http://pastebin.com/raw/TPn95V3u" to "plugins/Skript/scripts/kirbyessentialsx.sk"
  694. wait 1 second
  695. execute console command "skript reload kirbyessentialsx"
  696. send "{@essx}&akirbyEssentialsXの更新が完了しました!"
  697. else:
  698. send "{@essx}&b新しいバージョンを確認します…"
  699. wait 1 second
  700. send "{@essx}&b新しいバージョンはありません。"
  701. if arg 1 is "addon":
  702. message centered "&6&dKirby&aEssentials&b&lX&6に必要なアドオンです。" to player
  703. send "&b&lExtrasSK created by Darren10Lim"
  704. send "&b&lMundoSK created by Tlatoani"
  705. send "&b&lSharpSK created by Sharpjaws"
  706. send "&b&lskDragon created by Sashie"
  707. send "&b&lSkellett created by LimeGlass"
  708. send "&b&lSkMorkaz created by piter909"
  709. send "&b&lskQuery created by destroyer4017"
  710. send "&b&lskRayFall created by eyesniper2"
  711. send "&b&lUmbaska & WildSkript created by nfell2009"
  712. send "&b&lExertSK created by xXAndrew28Xx"
  713. if arg 1 is "data":
  714. message centered "&6❖{@essx}&6❖" to player
  715. send "&9- &b更新情報 &6Version 1.4 &9-" to player
  716. send "&b! 修正: &6/ecコマンド等の音が他人にも聞こえる不具合を修正しました。"
  717. if arg 1 is not "data" or "updata" or "check" or "disable" or "reload" or "addon":
  718. message centered "&6❖{@essx}&6❖" to player
  719. send "&6* &b/kirbyessxの使用方法 *" to player
  720. send "&5- &6/kirbyessx reload &dKirby&aEssentials&b&lX&6を再読み込みします。かなりラグくなります。" to player
  721. send "&5- &6/kirbyessx check &dKirby&aEssentials&b&lX&6の最新版があるかどうか確認します。" to player
  722. send "&5- &6/kirbyessx updata &dKirby&aEssentials&b&lX&6をアップデートします。かなりラグくなります。" to player
  723. send "&5- &6/kirbyessx data &aバージョン情報と今回のアップデートで修正や追加されたものが確認できます。" to player
  724. send "&5- &6/kirbyessx addon &dKirby&aEssentials&b&lX&6に必要なアドオンを表示します。" to player
  725. on load:
  726. loop all players:
  727. if loop-player has permission "kirby.updata":
  728. send "{@essx}&b新しいバージョンを確認します…" to loop-player
  729. if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
  730. send "{@essx}&a新しいバージョンがあります!アップデートしましょう!" to loop-player
  731. else:
  732. send "{@essx}&b新しいバージョンはありません。" to loop-player
  733. command /realtime:
  734. aliases: rt
  735. trigger:
  736. send "{@essx}&6%year%年%month%月%day%日%hour%時%minutes%分%second%秒です。"
  737. command /clearchat:
  738. permission: clearchat.use
  739. permission message: {@essx}&c権限がありません
  740. trigger:
  741. loop 1000 times:
  742. broadcast "&r"
  743. broadcast "&7&l%player%がチャットをクリアーしました。ブーンε=ε((( っ・ω・)っ"
  744. stop
  745. every 1 second:
  746. loop all players:
  747. loop-player is holding a clock
  748. send action bar from "&d&l現在時刻: &6%year%年%month%月%day%日%hour%時%minutes%分%second%秒" to loop-player
  749. command /entityclear [<number>]:
  750. aliases: /mobclear
  751. executable by: players
  752. permission: kirby.mobclear
  753. permission message: {@essx}&c権限がありません
  754. trigger:
  755. arg-1 is not set:
  756. send "&9使用法 &6/entityclear &2<範囲>"
  757. stop
  758. kill all entities in radius arg of player where [entity input is not a player]
  759. send "{@essx}&b%arg 1%ブロック内のエンティティを削除しました。" to player
  760. command /emote [<text>]:
  761. trigger:
  762. if arg 1 is "cool":
  763. emote cool on player
  764. if arg 1 is "cheeky":
  765. emote cheeky on player
  766. if arg 1 is "frown":
  767. emote frown on player
  768. if arg 1 is "grin":
  769. emote grin on player
  770. if arg 1 is "rage":
  771. emote rage on player
  772. if arg 1 is "sleepy":
  773. emote sleepy on player
  774. if arg 1 is "smile":
  775. emote smile on player
  776. if arg 1 is "wink":
  777. emote wink on player
  778. if arg 1 is "stop":
  779. stop emote player
  780. if arg 1 is "help":
  781. send "&a&l&m=====&b[&a&lkirbyEMOTE&b]&a&m&l=====" to player
  782. send "&2/emote '&bcool&2' &6(゚∇^d)Cool!!" to player
  783. send "&2'&bcheeky&2' &6アッカン(σ-`д・´)ベェェェ" to player
  784. send "&2'&bfrown&2' &6(´;д;`)ウッ" to player
  785. send "&2'&bgrin&2' &6( ^∀^ )ニコニコ" to player
  786. send "&2'&brage&2' &6(「゚益゚)「 がおー" to player
  787. send "&2'&bsleepy&2' &6( ˘ω˘)スヤァ…" to player
  788. send "&2'&bsmile&2' &6(。>∀<。)ニコッ" to player
  789. send "&2'&bwink&2' &6(^_-)-☆" to player
  790. send "&2'&cstop&2' &6エモートを停止します。" to player
  791. send "&a&l&m=====&b[&a&lkirbyEMOTE&b]&a&m&l=====" to player
  792. if arg 1 is not "cool" or "cheeky" or "frown" or "grin" or "rage" or "sleepy" or "slime" or "wink" or "stop" or "help":
  793. send "{@essx}&9不明なエモートです。 /emote helpを参照にしてください。" to player
  794. if arg 1 is not set:
  795. send "{@essx}&9不明なエモートです。 /emote helpを参照にしてください。" to player
Advertisement
Add Comment
Please, Sign In to add comment