Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #created by kirbyno1
- #license kirbyno1 v1.4
- #このSkriptの改造を禁止します
- #このSkript二次頒布を禁止し、使用はlicenseに定める範囲内とし、確認は各自の責任で行ってください。
- #KirbyEssentialsXはまだまだ試作品です!
- #ここから下はいじらないでくれぇ!
- options:
- essx: &2[&dkirby&aESS&b&lX&2]
- prefix: &b&lSign&9&lEdit &8&l>>
- command /kirbyhelp [<text>]:
- permission: kirby.help
- permission message: {@essx}&c権限がありません
- aliases: /kh
- trigger:
- if arg 1 is "1":
- message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
- send "&b❖&a移動系"
- send "&5- &b/&3tp &2<プレイヤー名> &6指定したプレイヤーの元へテレポートします。"
- send "&5- &b/&3tpl &2<X> <Y> <Z> &6指定した座標へテレポートします。"
- send "&5- &b/&3tphere &2<プレイヤー名> &6指定したプレイヤーを自分の元へ引き寄せます。"
- send "&5- &b/&3speed &2<速度> &6移動速度を変更します。 Fly時には飛行スピードを、歩行時には歩行スピードを変更します。"
- send "&bTips: &6デフォルトの歩行速度は&a0.2&6、飛行速度は&a0.1&6です。"
- send "&5- &b/&3spawn &6スポーン地点へ移動します。"
- send "&5- &b/&3setspawn &6現在位置をスポーン地点に指定します。"
- send "&5- &b/&3fly &6飛行モードを&a有効&6/&c無効化します。"
- message centered "&9Help 1/4" to player
- message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
- stop
- if arg 1 is "2":
- message centered "&6-----&c⚒&a[&dKirby&aEssentials&b&lX&a]&c⚒&6-----" to player
- send "&b❖&a便利系"
- send "&5- &b/&3calc &6最新型高性能計算機GUIを開きます。" to player
- send "&5- &b/&3skull &2<プレイヤー名> &6指定したプレイヤーの頭を入手します。 プレイヤーを指定しなければ自分の頭を入手します。"
- send "&5- &b/&3timer &2<秒数> &6指定した秒数のタイマーを設定します。"
- send "&5- &b/&3heal &2<プレイヤー名> &6プレイヤーの体力を回復します。 プレイヤー名を指定しなければ自分を回復します。"
- send "&5- &b/&3rename &2<名前> &6手に持っているアイテムの名前を変更します。"
- send "&5- &b/&3relore &2<行> <説明文> &6手に持っているアイテムの説明文を変更します。"
- message centered "&9Help 2/4" to player
- message centered "&6-----&a&l⚒&a[&dKirby&aEssentials&b&lX&a]&a&l⚒&6-----" to player
- stop
- if arg 1 is "3":
- message centered "&6-----&a&l⚒&a[&dKirby&aEssentials&b&lX&a]&a&l⚒&6-----" to player
- send "&b❖&a表示系"
- send "&5- &b/&3kh &2<ページ> &dKirby&aEssentials&b&lX&6のヘルプを表示します。"
- send "&5- &b/&3list &6現在サーバーにいるプレイヤーリストを表示します。"
- send "&5- &b/&3craft &6作業台を開きます。"
- send "&5- &b/&3furnace &6竈を開きます。"
- send "&5- &b/&3brewing &6酸造台を開きます。"
- send "&5- &b/&3anvil &6金床を開きます。"
- send "&5- &b/&3ec &2<プレイヤー名> &6指定したプレイヤーのエンダーチェストを開きます。 プレイヤー名を指定しなければ自分のエンダーチェストを開きます。"
- send "&5- &b/&3broadcast &2<文字> &6全ワールドに放送します。"
- send "&5- &b/&3realtime &6現在時刻を表示します。"
- send "&5- &b/&3hide &6透明化モードを&a有効&6/&c無効化します。"
- send "&5- &6/&akx &3<data/updata/check/disable/reload/addon> &6&dKirby&aEssentials&b&lX&6管理メニューを表示します。"
- message centered "&9Help 3/4" to player
- message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
- stop
- if arg 1 is "4":
- message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
- send "&b❖ゲームシステム系"
- send "&5- &b/&3mine &6ブロック一撃破壊モードを&a有効&6/&c無効化&6します。"
- send "&5- &b/&3gamemode &2<ゲームモード> <プレイヤー> &6プレイヤーを指定したゲームモードへ変更します。プレイヤーを指定しない場合は自分に適用されます。"
- send "&bTips: &20 survival&6でサバイバル、&b1 creative&6でクリエイティブ、&c2 adventure&6でアドベンチャー、 &a3 spectator&6でスペイテクターとなります。"
- send "&5- &b/&3entityclear &2<半径> &6自分を中心とした指定した半径のブロック内にいるエンティティを&c削除&6します。&9(プレイヤーは含まれません)"
- send "&5- &b/&3signedit &2<edit/remove/delete> <行> <テキスト> &6看板をターゲットした状態でコマンドを使用すると看板を編集できます。&aサーバーのパケット送信により/signedit editで看板編集を開く事ができます。"
- send "&5- &b/&3repair &6修理したいツールを手に持てば修復できます。"
- send "&5- &b/&3clearchat &6チャットをクリアーできます。"
- send "&bTips: &6時計を持つと時間が確認できます。"
- message centered "&9Help 4/4" to player
- message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
- stop
- if arg 1 is "all":
- send "&b❖&a移動系"
- send "&5- &b/&3tp &2<プレイヤー名> &6指定したプレイヤーの元へテレポートします。"
- send "&5- &b/&3tpl &2<X> <Y> <Z> &6指定した座標へテレポートします。"
- send "&5- &b/&3tphere &2<プレイヤー名> &6指定したプレイヤーを自分の元へ引き寄せます。"
- send "&5- &b/&3speed &2<速度> &6移動速度を変更します。 Fly時には飛行スピードを、歩行時には歩行スピードを変更します。"
- send "&bTips: &6デフォルトの歩行速度は&a0.2&6、飛行速度は&a0.1&6です。"
- send "&5- &b/&3spawn &6スポーン地点へ移動します。"
- send "&5- &b/&3setspawn &6現在位置をスポーン地点に指定します。"
- send "&5- &b/&3fly &6飛行モードを&a有効&6/&c無効化します。"
- send "&b❖&a便利系"
- send "&5- &b/&3calc &6最新型高性能計算機GUIを開きます。" to player
- send "&5- &b/&3skull &2<プレイヤー名> &6指定したプレイヤーの頭を入手します。 プレイヤーを指定しなければ自分の頭を入手します。"
- send "&5- &b/&3timer &2<秒数> &6指定した秒数のタイマーを設定します。"
- send "&5- &b/&3heal &2<プレイヤー名> &6プレイヤーの体力を回復します。 プレイヤー名を指定しなければ自分を回復します。"
- send "&5- &b/&3rename &2<名前> &6手に持っているアイテムの名前を変更します。"
- send "&5- &b/&3relore &2<行> <説明文> &6手に持っているアイテムの説明文を変更します。"
- send "&5- &6/&3shine &6手に持っているアイテムを光らせます。"
- send "&b❖&a表示系"
- send "&5- &b/&3kh &2<ページ> &dKirby&aEssentials&b&lX&6のヘルプを表示します。"
- send "&5- &b/&3list &6現在サーバーにいるプレイヤーリストを表示します。"
- send "&5- &b/&3craft &6作業台を開きます。"
- send "&5- &b/&3furnace &6竈を開きます。"
- send "&5- &b/&3brewing &6酸造台を開きます。"
- send "&5- &b/&3anvil &6金床を開きます。"
- send "&5- &b/&3ec &2<プレイヤー名> &6指定したプレイヤーのエンダーチェストを開きます。 プレイヤー名を指定しなければ自分のエンダーチェストを開きます。"
- send "&5- &b/&3broadcast &2<文字> &6全ワールドに放送します。"
- send "&5- &b/&3realtime &6現在時刻を表示します。"
- send "&5- &b/&3hide &6透明化モードを&a有効&6/&c無効化します。"
- send "&5- &6/&akx &3<data/updata/check/disable/reload/addon> &6&dKirby&aEssentials&b&lX&6管理メニューを表示します。"
- send "&b❖ゲームシステム系"
- send "&5- &b/&3mine &6ブロック一撃破壊モードを&a有効&6/&c無効化&6します。"
- send "&5- &b/&3gamemode &2<ゲームモード> <プレイヤー> &6プレイヤーを指定したゲームモードへ変更します。プレイヤーを指定しない場合は自分に適用されます。"
- send "&bTips: &20 survival&6でサバイバル、&b1 creative&6でクリエイティブ、&c2 adventure&6でアドベンチャー、 &a3 spectator&6でスペイテクターとなります。"
- send "&5- &b/&3entityclear &2<半径> &6自分を中心とした指定した半径のブロック内にいるエンティティを&c削除&6します。&9(プレイヤーは含まれません)"
- send "&5- &b/&3signedit &2<edit/remove/delete> <行> <テキスト> &6看板をターゲットした状態でコマンドを使用すると看板を編集できます。&aサーバーのパケット送信により/signedit editで看板編集を開く事ができます。"
- send "&5- &b/&3repair &6修理したいツールを手に持てば修復できます。"
- send "&5- &b/&3clearchat &6チャットをクリアーできます。"
- send "&bTips: &6時計を持つと時間が確認できます。"
- message centered "&9Help All" to player
- message centered "&6-----&a&l⚒&a[&6kirbyESSX&a]&a&l⚒&6-----" to player
- stop
- if arg 1 is not set:
- send "{@essx}&b/&3kh &2<1|2|3|4|all> &6を使用してください。"
- else:
- send "{@essx}&b/&3kh &2<1|2|3|4|all> &6を使用してください。"
- sign change:
- set {_colors::*} to integers from 0 to 9, "a", "b", "c", "d", "e", "f", "o", "n", "m", "r", "k" and "l"
- loop 4 times:
- set {_l.%loop-num%::*} to line loop-num of event-block split by ""
- loop {_colors::*}:
- line loop-num of event-block contains "&%loop-value-2%"
- player doesn't have permission "signedit.color.&%loop-value-2%" or "signedit.colors"
- loop {_l.%loop-num%::*}:
- "%loop-value-3%" is "&"
- "%{_l.%loop-num%::%loop-index-2 parsed as int + 1%}%" is "%loop-value-2%"
- delete {_l.%loop-num%::%loop-index-2%}
- delete {_l.%loop-num%::%loop-index-2 parsed as int + 1%}
- set {_line.%loop-num%} to join {_l.%loop-num%::*} by ""
- loop 4 times:
- set line loop-num of event-block to colored {_line.%loop-num%}
- rightclick on sign:
- player has permission "signedit.edit"
- player is sneaking
- set {signedit.%player%} to true
- set {_p} to new play_server_open_sign_editor packet
- set location pinfo 0 of {_p} to clicked block's location
- send player packet {_p}
- 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%"
- packet event play_client_update_sign:
- {signedit.%player%} is set
- set {_loc} to location pinfo 0 of event-packet
- set {_line::*} to string array pinfo 0 of event-packet
- loop 4 times:
- set line loop-num of block at {_loc} to colored {_line::%loop-num%}
- command /signedit [<text>] [<int>] [<text>]:
- aliases: se, sign, signedit
- trigger:
- if arg-1 is "edit":
- if arg-2 is set:
- if arg-3 is set:
- if target block is sign:
- if player has permission "signedit.edit":
- set {_colors::*} to integers from 0 to 9, "a", "b", "c", "d", "e", "f", "o", "n", "m", "r", "k" and "l"
- set {_l::*} to arg-3 split by ""
- loop {_colors::*}:
- arg-3 contains "&%loop-value%"
- player doesn't have permission "signedit.color.&%loop-value%" or "signedit.colors"
- loop {_l::*}:
- "%loop-value-2%" is "&"
- "%{_l::%loop-index-2 parsed as int + 1%}%" is "%loop-value-1%"
- delete {_l::%loop-index-2%}
- delete {_l::%loop-index-2 parsed as int + 1%}
- set {_line} to join {_l::*} by ""
- set line arg-2 of target block to colored {_line}
- 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%"
- else:
- send "{@essx} &7権限がありません。"
- else:
- send "{@essx} &7看板をターゲットしてから使用してください。"
- else:
- send "{@essx} &7使用法&8: &0/&7signedit &8<&7edit&8/&7remove&8/&7delete&8> [&7行&8]"
- else:
- if target block is sign:
- if player has permission "signedit.edit":
- set {signedit.%player%} to true
- set {_p} to new play_server_open_sign_editor packet
- set location pinfo 0 of {_p} to target block's location
- send player packet {_p}
- 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%"
- else:
- send "{@essx} &7権限がありません。"
- else:
- send "{@essx} &7看板をターゲットしてから使用してください。"
- else if arg-1 is "delete" or "remove":
- if target block is sign:
- if player has permission "signedit.edit":
- if arg-2 is set:
- set line arg-2 of target block to ""
- 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%"
- else:
- loop 4 times:
- set line loop-num of target block to ""
- 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%"
- else:
- send "{@essx} &7権限がありません。"
- else:
- send "{@essx} &7看板をターゲットしてから使用してください。"
- else:
- send "{@essx} &7使用法&8: &0/&7signedit &8<&7edit&8/&7remove&8/&7delete&8> [&7行&8]"
- command /tp [<player>]:
- permission: kirby.tp
- permission message: {@essx}&c権限がありません
- executable by: players
- trigger:
- if arg 1 is not set:
- send "{@essx}&9使用法: &6/tp &2<プレイヤー>"
- stop
- else:
- if arg 1 is online:
- teleport player to argument 1
- send "{@essx}&b%arg 1%にテレポートしました。"
- if argument 1 is offline:
- send "{@essx}&c%arg 1%はオフラインであるか名前が間違っています。"
- command /tpl [<num>] [<num>] [<num>]:
- permission: kirby.tpl
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if arg 1 is not set:
- send "{@essx}&9使用法: &6/tpl &2<整数のX> <整数のY> <整数のZ>"
- stop
- else:
- run player command "/minecraft:tp %arg 1% %arg 2% %arg 3%" as op
- send "{@essx}&bX %arg 1% Y %arg 2% Z %arg 3%にテレポートしました。"
- command /tphere [<player>]:
- permission: kirby.tphere
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if arg 1 is not set:
- send "{@essx}&9使用法: &6/tphere &2<プレイヤー>"
- stop
- else:
- if arg 1 is online:
- teleport arg 1 to player
- send "{@essx}&b%arg 1%を引き寄せました。"
- if arg 1 is offline:
- send "{@essx}&c%arg 1%はオフラインであるか名前が間違っています。"
- command /speed [<num>]:
- permission: kirby.speed
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- arg 1 is not set:
- send "{@essx}&9使用法: &6/speed &2<数値>"
- stop
- if player is flying:
- set the player's fly speed to arg-1
- send "{@essx}&6飛行速度を &a%arg-1% &6に設定しました。"
- else:
- set the player's walk speed to arg-1
- send "{@essx}&6歩行速度を &a%arg-1% &6に設定しました。"
- command /list:
- trigger:
- loop all players:
- add loop-player to {_online::*}
- set {_online} to "%{_online::*}%"
- replace all ", " in {_online} with " &9| "
- replace all "and" in {_online} with " &9| "
- send "{@essx}&6現在のオンラインユーザー: &a%{_online}%"
- command /gamemode [<text>] [<player>]:
- aliases: gm
- permission: kirby.gamemode
- permission message: {@essx}&c権限がありません
- trigger:
- arg 1 is not set:
- send "{@essx}&9使用法: &6/gamemode &2<ゲームモード> <プレイヤー>&9(この項目が無い場合は自分に適用します。)"
- send "{@essx}&9Tips: &20 survival&6でサバイバル &b1 creative&6でクリエイティブ &c2 adventure&6でアドベンチャー &53 spectator&6でスペクテイターモードとなります。"
- arg 1 is "0" or "survival":
- player do not have permission "kirby.gamemode.survival":
- send "{@essx}&c権限がありません"
- stop
- arg 2 is set:
- arg 2 is offline:
- send "{@essx}&cプレイヤーが見つかりません。"
- stop
- set arg-2's gamemode to survival
- send "{@essx}&a%arg-2%&6のゲームモードを&cサバイバル&6モードに変更しました。"
- stop
- set player's gamemode to survival
- send "{@essx}&a%player%&6のゲームモードを&cサバイバル&6モードに変更しました。"
- arg 1 is "1" or "creative":
- player do not have permission "kirby.gamemode.creative":
- send "{@essx}&c権限がありません"
- arg 2 is set:
- arg 2 is offline:
- send "{@essx}&cプレイヤーが見つかりません。"
- stop
- set arg-2's gamemode to creative
- send "{@essx}&a%arg-2%&6のゲームモードを&cクリエイティブ&6モードに変更しました。"
- stop
- set player's gamemode to creative
- send "{@essx}&a%player%&6のゲームモードを&cクリエイティブ&6モードに変更しました。"
- arg 1 is "2" or "adventure":
- player do not have permission "kirby.gamemode.adventure":
- send "{@essx}&c権限がありません"
- arg 2 is set:
- arg 2 is offline:
- send "{@essx}&cプレイヤーが見つかりません。"
- stop
- set arg-2's gamemode to adventure
- send "{@essx}&a%arg-2%&6のゲームモードを&cアドベンチャー&6モードに変更しました。"
- stop
- set player's gamemode to adventure
- send "{@essx}&a%player%&6のゲームモードを&cアドベンチャー&6モードに変更しました。"
- arg 1 is "3" or "spectator":
- player do not have permission "kirby.gamemode.spectator":
- send "{@essx}&c権限がありません"
- arg 2 is set:
- arg 2 is offline:
- send "{@essx}&cプレイヤーが見つかりません。"
- stop
- set arg-2's gamemode to spectator
- send "{@essx}&a%arg-2%&6のゲームモードを&cスペクテイター&6モードに変更しました。"
- stop
- set player's gamemode to spectator
- send "{@essx}&a%player%&6のゲームモードを&cスペクテイター&6モードに変更しました。"
- command /ec [<player>]:
- executable by: players
- permission: kirby.ec
- permission message: {@essx}&c権限がありません
- trigger:
- arg-1 is not set:
- open the player's ender chest to player
- play "ENDERMAN_TELEPORT" specifically to player with pitch 0.75 and volume 2
- send "{@essx}&5エンダーチェストを開きました。" to player
- stop
- arg-1 is online:
- open the arg 1's ender chest to player
- play "ENDERMAN_TELEPORT" specifically to player with pitch 0.75 and volume 2
- send "{@essx}&5%arg 1%のエンダーチェストを開きました。" to player
- stop
- arg-1 is offline:
- send "{@essx}&cプレイヤーが見つかりません。"
- command /calculator:
- aliases: /calc
- executable by: players
- trigger:
- open chest with 6 rows named "&c&l計算機" to player
- wait 3 ticks
- set {_num} to 0
- loop 9 times:
- set slot {_num} of player's current inventory to gray stained glass named "&0"
- add 1 to {_num}
- set {_num} to 45
- loop 9 times:
- set slot {_num} of player's current inventory to gray stained glass named "&0"
- add 1 to {_num}
- set slot 11 of player's current inventory to paper named "&a&l1"
- set slot 12 of player's current inventory to paper named "&a&l2"
- set slot 13 of player's current inventory to paper named "&a&l3"
- set slot 20 of player's current inventory to paper named "&a&l4"
- set slot 21 of player's current inventory to paper named "&a&l5"
- set slot 22 of player's current inventory to paper named "&a&l6"
- set slot 29 of player's current inventory to paper named "&a&l7"
- set slot 30 of player's current inventory to paper named "&a&l8"
- set slot 31 of player's current inventory to paper named "&a&l9"
- set slot 39 of player's current inventory to paper named "&a&l0"
- set slot 15 of player's current inventory to blue stained clay named "&a&l+"
- set slot 16 of player's current inventory to light blue stained clay named "&a&l-"
- set slot 24 of player's current inventory to green stained clay named "&a&l*"
- set slot 25 of player's current inventory to light green stained clay named "&a&l/"
- set slot 33 of player's current inventory to emerald named "&a&l="
- set slot 34 of player's current inventory to emerald named "&a&l="
- on inventory click:
- if inventory name of player's current inventory is "&c&l計算機":
- cancel event
- if clicked item is a paper:
- if {numbers::%player%} is not set:
- set {numbers::%player%} to ""
- if "%uncoloured name of clicked item%" is "1":
- set {numbers::%player%} to "%{numbers::%player%}%1"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "2":
- set {numbers::%player%} to "%{numbers::%player%}%2"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "3":
- set {numbers::%player%} to "%{numbers::%player%}%3"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "4":
- set {numbers::%player%} to "%{numbers::%player%}%4"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "5":
- set {numbers::%player%} to "%{numbers::%player%}%5"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "6":
- set {numbers::%player%} to "%{numbers::%player%}%6"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "7":
- set {numbers::%player%} to "%{numbers::%player%}%7"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "8":
- set {numbers::%player%} to "%{numbers::%player%}%8"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "9":
- set {numbers::%player%} to "%{numbers::%player%}%9"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if "%uncoloured name of clicked item%" is "0":
- set {numbers::%player%} to "%{numbers::%player%}%0"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if clicked item is blue stained clay:
- if "%uncoloured name of clicked item%" is "+":
- set {numbers::%player%} to "%{numbers::%player%}%+"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if clicked item is light blue stained clay:
- if "%uncoloured name of clicked item%" is "-":
- set {numbers::%player%} to "%{numbers::%player%}%-"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if clicked item is green stained clay:
- if "%uncoloured name of clicked item%" is "*":
- set {numbers::%player%} to "%{numbers::%player%}%*"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if clicked item is light green stained clay:
- if "%uncoloured name of clicked item%" is "/":
- set {numbers::%player%} to "%{numbers::%player%}%/"
- set slot 33 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- set slot 34 of player's current inventory to emerald named "&a&l=" with lore "&e%{numbers::%player%}%"
- if clicked item is an emerald:
- if "%uncoloured name of clicked item%" is "=":
- set {_equation} to "%{numbers::%player%}%"
- evaluate "set {_calc} to %{_equation}%"
- close player's inventory
- message "{@essx}%{numbers::%player%}% = %{_calc}%"
- delete {numbers::%player%}
- delete {_calc}
- command /timer <number>:
- executable by: players
- trigger:
- send "{@essx}&a%arg-1%&6秒のタイマーを設定しました。"
- set {_time} to "%arg-1% seconds" parsed as timespan
- wait {_time}
- send player title "&6>>&a時間です!&6<<" with subtitle "&7%arg 1%秒前に設定したタイマーです。" for 5 seconds
- loop 3 times:
- loop 4 times:
- play "SUCCESSFUL_HIT" specifically to player with pitch 1 and volume 2
- wait 2 ticks
- wait 10 tick
- command /heal [<player>]:
- permission: kirby.heal
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if arg 1 is set:
- heal the arg 1
- set the arg 1's food level to 20
- send "{@essx}&a%arg 1%&6の体力を完全回復しました。"
- stop
- else:
- heal the player
- set the player's food level to 20
- send "{@essx}&a%player%&6の体力を回復しました。"
- stop
- command /setspawn:
- permission: kirby.setspawn
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- set {kirby.spawn} to location of player
- send "{@essx}&bスポーン地点を &6X%round player's x-pos% Y%round player's y-pos% Z%round player's z-pos% &bに設定しました"
- command /spawn:
- permission: kirby.spawn
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- {kirby.spawn} is not set:
- send "&f[&dカービィ&f]&cSpawnの情報が無いようだ。運営に報告を頼む。"
- stop
- if {spawn.%player%} is true:
- send "&f[&dカービィ&f]&cもう少し待ってくれ…。あと%{wait.%player%}%秒だ…。"
- stop
- set {_loc.%player%} to location of player
- set {spawn.%player%} to true
- set {wait.%player%} to 10
- send "&f[&dカービィ&f]&aSpawnに行くぞ!%{wait.%player%}%秒その場で止まってくれ!"
- while {wait.%player%} is not 0:
- subtract 1 from {wait.%player%}
- wait 1 second
- if player is offline:
- set {spawn.%player%} to false
- set {wait.%player%} to 0
- stop
- {_loc.%player%} is not location of player:
- set {spawn.%player%} to false
- set {wait.%player%} to 0
- send "&f[&dカービィ&f]&cくっ…動いてしまったか…。中止だ…。"
- stop
- send "&f[&dカービィ&f]&bよし、良く持ち応えた!拠点に行くぞ!"
- teleport the player to {kirby.spawn}
- set {spawn.%player%} to false
- set {wait.%player%} to 0
- stop
- command /rename [<text>]:
- permission: kirby.rename
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- arg-1 is not set:
- send "{@essx}&9使用法: &6/rename &2<名前>"
- stop
- player is holding air:
- send "{@essx}&c名前を変更したいアイテムを手に持ってください。"
- stop
- set name of player's tool to coloured "%arg 1%"
- send "{@essx}&b%arg 1%に改名しました。"
- command /relore [<integer>] [<text>]:
- permission: kirby.relore
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if player is holding air:
- send "{@essx}&c説明文を変更したいアイテムを手に持ってください。"
- stop
- if arg-1 is not set:
- send "{@essx}&9使用法 &6/relore &2<行> <説明文>"
- stop
- if arg-2 is not set:
- send "{@essx}&9使用法 &6/relore &2<行> <説明文>"
- stop
- else:
- set line arg-1 of the lore of player's tool to "%colored arg-2%"
- send "{@essx}&a%arg-1%&6行目に&a%colored arg 2%&6の説明文を追加しました。"
- command /shine:
- permission: kirby.shine
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if player is holding air:
- send "{@essx}&c名前を変更したいアイテムを手に持ってください。"
- stop
- if player's tool is enchanted:
- send "{@essx}&c既にエンチャントされています。"
- stop
- if player's tool is not enchanted:
- set {_i} to player's tool
- set player's tool to shiny {_i}
- send "{@essx}&6アイテムを光らせました+ (o゚・∀・) +"
- stop
- command /repair:
- aliases: /fix
- permission: kirby.repair
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- 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:
- send "{@essx}&c修復できるツールを手に持ってください。"
- stop
- repair tool of player
- send "{@essx} &b修復完了!"
- command /fly:
- permission: kirby.fly
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if {fly.%player%} is not set:
- message "{@essx}&6飛行モードを&a有効化&6しました。"
- set player's flight mode to true
- set {fly.%player%} to true
- else:
- message "{@essx}&6飛行モードを&c無効化&6しました。"
- set player's flight mode to false
- delete {fly.%player%}
- command /skull [<text>]:
- permission: kirby.skull
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if arg 1 is set:
- make player execute command "/give %player% minecraft:skull 1 3 {SkullOwner:%arg 1%}"
- send "{@essx}&b%arg 1%の頭を入手しました。"
- stop
- else:
- make player execute command "/give %player% minecraft:skull 1 3 {SkullOwner:%player%}"
- send "{@essx}&bあなたの頭を入手しました。"
- stop
- command /anvil:
- permission: kirby.anvil
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- open anvil to the player
- play "ANVIL_LAND" specifically to player with pitch 0.85 and volume 2
- send "{@essx}&6金床を開きました。"
- command /brewing:
- permission: kirby.brewing
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- open brewer inventory to player with name "&e&l醸造台"
- play "SPLASH" specifically to player with pitch 0 and volume 2
- send "{@essx}&b醸造台を開きました。"
- command /furnace:
- permission: kirby.furnace
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- open furnace to the player
- play "FIRE_IGNITE" specifically to player with pitch 0.7 and volume 2
- send "{@essx}&bかまどを開きました。"
- command /craft:
- permission: kirby.craft
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- open crafting inventory to player
- play "PISTON_EXTEND" specifically to player with pitch 2 and volume 2
- send "{@essx}&b作業台を開きました"
- command /broadcast [<text>]:
- executable by: players and console
- aliases: bc
- permission: kirby.broadcast
- permission message: {@essx}&c権限がありません
- trigger:
- arg-1 is not set:
- send "{@essx}&9使用法 &6/broadcast &2<文字>"
- stop
- if command sender is console:
- broadcast coloured "&a[&c放送&6-&aConsole&a]&r%arg 1%"
- stop
- if command sender is player:
- broadcast coloured "&a[&c放送&6-&b%player%&a]&r%arg 1%"
- command /mine:
- permission: kirby.mine
- executable by: players
- permission message: {@essx}&c権限がありません
- trigger:
- if {mine.%uuid of player%} is not set:
- set {mine.%uuid of player%} to true
- send "{@essx}&bブロック一撃破壊モードをONにしました。" to player
- stop
- else:
- delete {mine.%uuid of player%}
- send "{@essx}&bブロック一撃破壊モードをOFFにしました。" to player
- on block damage:
- if {mine.%uuid of player%} is true:
- set event-block to air
- play "ITEM_BREAK" specifically to player with pitch 0 and volume 2
- command /hide:
- permission: kirby.hide
- permission message: {@essx}&c権限がありません
- executable by: players
- trigger:
- if {hide.%uuid of player%} is not set:
- send "{@essx}&b透明化しました。"
- hide player from all players
- set {hide.%uuid of player%} to true
- else:
- send "{@essx}&b透明化モードを解除しました。"
- reveal player to all players
- delete {hide.%uuid of player%}
- command /kirbyessx [<text>]:
- permission: kirbyessx.admin
- permission message: {@essx}&c権限がありません
- aliases: kx
- trigger:
- if arg 1 is not set:
- message centered "&6❖{@essx}&6❖" to player
- send "&6* &b/kirbyessxの使用方法 *" to player
- send "&5- &6/kirbyessx reload &dKirby&aEssentials&b&lX&6を再読み込みします。かなりラグくなります。" to player
- send "&5- &6/kirbyessx check &dKirby&aEssentials&b&lX&6の最新版があるかどうか確認します。" to player
- send "&5- &6/kirbyessx updata &dKirby&aEssentials&b&lX&6をアップデートします。かなりラグくなります。" to player
- send "&5- &6/kirbyessx data &aバージョン情報と今回のアップデートで修正や追加されたものが確認できます。" to player
- send "&5- &6/kirbyessx addon &dKirby&aEssentials&b&lX&6に必要なアドオンを表示します。" to player
- if arg 1 is "reload":
- send "{@essx}&dKirby&aEssentials&b&lX&6をリロードします…"
- wait 10 tick
- run player command "/skript reload kirbyessentialsx" as op
- if arg 1 is "disable":
- send "{@essx}&dKirby&aEssentials&b&lX&6を無効化します。有効にするときは/sk enable kirbyessentialsxを実行して下さい。"
- run player command "/skript disable kirbyessentialsx" as op
- if arg 1 is "check":
- if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
- send "{@essx}&a新しいバージョンがあります!アップデートしましょう!"
- else:
- send "{@essx}&b新しいバージョンはありません。"
- if arg 1 is "updata":
- if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
- send "{@essx}&akirbyEssentialsXをアップデートします。"
- download from "http://pastebin.com/raw/TPn95V3u" to "plugins/Skript/scripts/kirbyessentialsx.sk"
- wait 1 second
- execute console command "skript reload kirbyessentialsx"
- send "{@essx}&akirbyEssentialsXの更新が完了しました!"
- else:
- send "{@essx}&b新しいバージョンを確認します…"
- wait 1 second
- send "{@essx}&b新しいバージョンはありません。"
- if arg 1 is "addon":
- message centered "&6&dKirby&aEssentials&b&lX&6に必要なアドオンです。" to player
- send "&b&lExtrasSK created by Darren10Lim"
- send "&b&lMundoSK created by Tlatoani"
- send "&b&lSharpSK created by Sharpjaws"
- send "&b&lskDragon created by Sashie"
- send "&b&lSkellett created by LimeGlass"
- send "&b&lSkMorkaz created by piter909"
- send "&b&lskQuery created by destroyer4017"
- send "&b&lskRayFall created by eyesniper2"
- send "&b&lUmbaska & WildSkript created by nfell2009"
- send "&b&lExertSK created by xXAndrew28Xx"
- if arg 1 is "data":
- message centered "&6❖{@essx}&6❖" to player
- send "&9- &b更新情報 &6Version 1.4 &9-" to player
- send "&b! 修正: &6/ecコマンド等の音が他人にも聞こえる不具合を修正しました。"
- if arg 1 is not "data" or "updata" or "check" or "disable" or "reload" or "addon":
- message centered "&6❖{@essx}&6❖" to player
- send "&6* &b/kirbyessxの使用方法 *" to player
- send "&5- &6/kirbyessx reload &dKirby&aEssentials&b&lX&6を再読み込みします。かなりラグくなります。" to player
- send "&5- &6/kirbyessx check &dKirby&aEssentials&b&lX&6の最新版があるかどうか確認します。" to player
- send "&5- &6/kirbyessx updata &dKirby&aEssentials&b&lX&6をアップデートします。かなりラグくなります。" to player
- send "&5- &6/kirbyessx data &aバージョン情報と今回のアップデートで修正や追加されたものが確認できます。" to player
- send "&5- &6/kirbyessx addon &dKirby&aEssentials&b&lX&6に必要なアドオンを表示します。" to player
- on load:
- loop all players:
- if loop-player has permission "kirby.updata":
- send "{@essx}&b新しいバージョンを確認します…" to loop-player
- if text from "http://pastebin.com/raw/Mq930vK1" is not "1.4":
- send "{@essx}&a新しいバージョンがあります!アップデートしましょう!" to loop-player
- else:
- send "{@essx}&b新しいバージョンはありません。" to loop-player
- command /realtime:
- aliases: rt
- trigger:
- send "{@essx}&6%year%年%month%月%day%日%hour%時%minutes%分%second%秒です。"
- command /clearchat:
- permission: clearchat.use
- permission message: {@essx}&c権限がありません
- trigger:
- loop 1000 times:
- broadcast "&r"
- broadcast "&7&l%player%がチャットをクリアーしました。ブーンε=ε((( っ・ω・)っ"
- stop
- every 1 second:
- loop all players:
- loop-player is holding a clock
- send action bar from "&d&l現在時刻: &6%year%年%month%月%day%日%hour%時%minutes%分%second%秒" to loop-player
- command /entityclear [<number>]:
- aliases: /mobclear
- executable by: players
- permission: kirby.mobclear
- permission message: {@essx}&c権限がありません
- trigger:
- arg-1 is not set:
- send "&9使用法 &6/entityclear &2<範囲>"
- stop
- kill all entities in radius arg of player where [entity input is not a player]
- send "{@essx}&b%arg 1%ブロック内のエンティティを削除しました。" to player
- command /emote [<text>]:
- trigger:
- if arg 1 is "cool":
- emote cool on player
- if arg 1 is "cheeky":
- emote cheeky on player
- if arg 1 is "frown":
- emote frown on player
- if arg 1 is "grin":
- emote grin on player
- if arg 1 is "rage":
- emote rage on player
- if arg 1 is "sleepy":
- emote sleepy on player
- if arg 1 is "smile":
- emote smile on player
- if arg 1 is "wink":
- emote wink on player
- if arg 1 is "stop":
- stop emote player
- if arg 1 is "help":
- send "&a&l&m=====&b[&a&lkirbyEMOTE&b]&a&m&l=====" to player
- send "&2/emote '&bcool&2' &6(゚∇^d)Cool!!" to player
- send "&2'&bcheeky&2' &6アッカン(σ-`д・´)ベェェェ" to player
- send "&2'&bfrown&2' &6(´;д;`)ウッ" to player
- send "&2'&bgrin&2' &6( ^∀^ )ニコニコ" to player
- send "&2'&brage&2' &6(「゚益゚)「 がおー" to player
- send "&2'&bsleepy&2' &6( ˘ω˘)スヤァ…" to player
- send "&2'&bsmile&2' &6(。>∀<。)ニコッ" to player
- send "&2'&bwink&2' &6(^_-)-☆" to player
- send "&2'&cstop&2' &6エモートを停止します。" to player
- send "&a&l&m=====&b[&a&lkirbyEMOTE&b]&a&m&l=====" to player
- if arg 1 is not "cool" or "cheeky" or "frown" or "grin" or "rage" or "sleepy" or "slime" or "wink" or "stop" or "help":
- send "{@essx}&9不明なエモートです。 /emote helpを参照にしてください。" to player
- if arg 1 is not set:
- send "{@essx}&9不明なエモートです。 /emote helpを参照にしてください。" to player
Advertisement
Add Comment
Please, Sign In to add comment