Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Structure // Server Control System
- # System Version : 2.0 BETA
- on join:
- if {Rank.%player%} is "Default":
- set join message to " &7%player% &bさんがサーバーに参加しました!"
- if {Rank.%player%} is "VIP":
- set join message to " &2%player% &6さんがサーバーに参加しました!"
- if {Rank.%player%} is "Engineer":
- set join message to " &c%player% &6さんがサーバーに参加しました!"
- if {Rank.%player%} is "Admin":
- set join message to " &d%player% &6さんがサーバーに参加しました!"
- if {Rank.%player%} is "Owner":
- set join message to " &e%player% &cさんがサーバーに参加しました!"
- on quit:
- if {Rank.%player%} is "Default":
- set quit message to " &7%player% &bさんがサーバーから離脱しました"
- if {Rank.%player%} is "VIP":
- set quit message to " &2%player% &6さんがサーバーから離脱しました"
- if {Rank.%player%} is "Engineer":
- set quit message to " &c%player% &6さんがサーバーから離脱しました"
- if {Rank.%player%} is "Admin":
- set quit message to " &d%player% &6さんがサーバーから離脱しました"
- if {Rank.%player%} is "Owner":
- set quit message to " &e%player% &cさんがサーバーから離脱しました"
- on first join:
- set {Rank.%player%} to "Default"
- on craft:
- cancel event
- on rightclick with Brick:
- player's food level is not 10
- add 1 to the player's food level
- remove 1 Brick from player
- on rightclick with Nether Brick Block:
- player's food level is not 10
- add 3 to the player's food level
- remove 1 Nether Brick Block from player
- on rightclick with Brick Block:
- player's food level is not 10
- add 9 to the player's food level
- remove 1 Brick Block from player
- on rightclick with Sugar:
- player's food level is not 10
- add 0.5 to the player's food level
- remove 1 Sugar from player
- on rightclick with Mushroom Stew:
- player's food level is not 10
- add 5 to the player's food level
- remove 1 Mushroom Stew from player
- on chat:
- cancel event
- if {Rank.%player%} is "Default":
- broadcast "&f%player%: %message%"
- if {Rank.%player%} is "VIP":
- broadcast "&2[VIP]&f%player%: %message%"
- if {Rank.%player%} is "MVP":
- broadcast "&b[MVP]&f%player%: %message%"
- if {Rank.%player%} is "Engineer":
- broadcast "&4[Engineer]&c%player%&f: %message%"
- if {Rank.%player%} is "Admin":
- broadcast "&b[Admin]&d%player%&f: %message%"
- if {Rank.%player%} is "Owner":
- broadcast "&6[Owner]&e%player%&f: %message%"
- else:
- set {Rank.%player%} to "Default"
- every 8 minutes:
- broadcast "&eこのサーバーは現在テスト公開中です!&c改良点&eや&cバグ&eなどがあれば採掘さば運営に報告してください!!"
- broadcast "&eまた、このサーバーに&6寄付 &e又は &a投票&eすることでサーバーをサポートすることができます!"
- broadcast "&eVIPを購入すると様々な&6&l特別特典&eが貰えます!!"
- on break of cobblestone:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% cobblestone 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% cobblestone 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% cobblestone 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% cobblestone 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% cobblestone 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% cobblestone 2 0"
- on break of stone:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% stone 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% stone 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% stone 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% stone 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% stone 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% stone 2 0"
- on break of coal ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% coal_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% coal_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% coal_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% coal_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% coal_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% coal_ore 2 0"
- on break of iron ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% iron_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% iron_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% iron_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% iron_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% iron_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% iron_ore 2 0"
- on break of redstone ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% redstone_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% redstone_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% redstone_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% redstone_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% redstone_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% redstone_ore 2 0"
- on break of gold ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% gold_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% gold_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% gold_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% gold_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% gold_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% gold_ore 2 0"
- on break of diamond ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% diamond_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% diamond_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% diamond_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% diamond_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% diamond_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% diamond_ore 2 0"
- on break of emerald ore:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% emerald_ore 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% emerald_ore 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% emerald_ore 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% emerald_ore 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% emerald_ore 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% emerald_ore 2 0"
- on break of coal block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% coal_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% coal_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% coal_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% coal_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% coal_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% coal_block 2 0"
- on break of iron block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% iron_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% iron_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% iron_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% iron_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% iron_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% iron_block 2 0"
- on break of redstone block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% redstone_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% redstone_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% redstone_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% redstone_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% redstone_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% redstone_block 2 0"
- on break of gold block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% gold_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% gold_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% gold_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% gold_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% gold_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% gold_block 2 0"
- on break of diamond block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% diamond_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% diamond_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% diamond_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% diamond_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% diamond_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% diamond_block 2 0"
- on break of emerald block:
- add 1 to {Mine.All.%player%}
- if {Rank.%player%} is "Default":
- command "/give %player% emerald_block 1 0"
- if {Rank.%player%} is "VIP":
- command "/give %player% emerald_block 2 0"
- if {Rank.%player%} is "MVP":
- command "/give %player% emerald_block 2 0"
- if {Rank.%player%} is "Engineer":
- command "/give %player% emerald_block 1 0"
- if {Rank.%player%} is "Admin":
- command "/give %player% emerald_block 2 0"
- if {Rank.%player%} is "Owner":
- command "/give %player% emerald_block 2 0"
- command /rank [<text>] [<offline player>] [<text>]:
- permission: Server.Staff
- permission message: &c[Structure] このコマンドの使用権限を所持していないためこのコマンドを使用することができません。
- trigger:
- if arg 1 is not set:
- send "&c[Structure Ranks] 使用方法がわからない場合は、 &e/rank help &cと入力してください。"
- if arg 1 is "help":
- send "&c[Structure Ranks] 現在実装されているコマンドは以下の通りです。"
- send "&9/rank help &8// &eランクコマンドのヘルプを表示できます。"
- send "&9/rank set (プレイヤー名) (ランク名) &8// &eプレイヤーにランクを与えます。"
- send "&9/rank list &8// &eランクのリストを表示します。"
- if arg 1 is "list":
- send "&c[Structure Ranks] 現在実装されているランクは以下の通りです。"
- send "&7Default Rank &8// &e/rank set (プレイヤー名) Default"
- send "&2VIP Rank &8// &e/rank set (プレイヤー名) VIP"
- send "&dVIP Rank &8// &e/rank set (プレイヤー名) MVP"
- if arg 1 is "set":
- if arg 2 is not set:
- send "&c[Structure Ranks] プレイヤーを指定してください。"
- if arg 2 is set:
- if arg 3 is "Default":
- set {Rank.%arg 2%} to "Default"
- if arg 3 is "VIP":
- set {Rank.%arg 2%} to "VIP"
- if arg 3 is "MVP":
- set {Rank.%arg 2%} to "MVP"
- if arg 3 is "Engineer":
- set {Rank.%arg 2%} to "Engineer"
- if arg 3 is "Admin":
- set {Rank.%arg 2%} to "Admin"
- if arg 3 is "Owner":
- set {Rank.%arg 2%} to "Owner"
- command /open <text>:
- trigger:
- if arg-1 is not set:
- send "&c[Structure] 使用方法がわからない場合は、&8/open help &cと入力してください。"
- if arg-1 is "help":
- send "&9/open (TP先、またはhelp) &8// &eオープンコマンドの基本構文です。"
- send "&9/open help &8// &eオープンコマンドの使用可能コマンドを表示できます"
- send "&9(TP先の一覧)"
- send "&9TP先:&elobby1&8(ロビー)&e , lobby2&8(丸石採掘場)&e , bank&8(銀行)&e , adminlist&8(運営紹介)"
- send "&9TP先:&etrade&8(取引所)&e , athletic&8(アスレチック)&e , shop&8(デパート)&e , afk&8(放置場)"
- send "&9TP先:&eallblock&8(オールブロックステージ)"
- if arg-1 is "allblock":
- send "&c[Structure] &9オールブロックステージへテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 942 4 1604"
- send "&c[Structure] &9オールブロックステージへのテレポートが完了しました。"
- if arg-1 is "afk":
- send "&c[Structure] &1放置場へテレポートしています..."
- wait 2 seconds
- command "/teleport %player% n"
- send "&c[Structure] &1放置場へのテレポートが完了しました。"
- if arg-1 is "shop":
- send "&c[Structure] &7デパートへテレポートしています..."
- wait 2 seconds
- command "/teleport %player% n"
- send "&c[Structure] &7デパートへのテレポートが完了しました。"
- if arg-1 is "trade":
- send "&c[Structure] &e取引所へテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 967 4 1239 0 4"
- send "&c[Structure] &e取引所へのテレポートが完了しました。"
- if arg-1 is "athletic":
- send "&c[Structure] &1アスレチックへテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 762 20 1218 0 4"
- send "&c[Structure] &1アスレチックへのテレポートが完了しました。"
- if arg-1 is "adminlist":
- send "&c[Structure] &f運営紹介へテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 569 4 1305 0 4"
- send "&c[Structure] &f運営紹介へのテレポートが完了しました。"
- if arg-1 is "bank":
- send "&c[Structure] &6銀行へテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 699 13 1897 0 4"
- send "&c[Structure] &6銀行へのテレポートが完了しました。"
- if arg-1 is "lobby1":
- send "&c[Structure] &bロビーへテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 1098 5 1222 0 4"
- send "&c[Structure] &bロビーのテレポートが完了しました!"
- if arg-1 is "lobby2":
- send "&c[Structure] &bロビー2へテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 845 4 1282 0 4"
- send "&c[Structure] &bロビー2のテレポートが完了しました!"
- command /minepoint:
- trigger:
- if {Mine.All.%player%} is not set:
- set {Mine.All.%player%} to 0
- send "&b採掘量: %{Mine.All.%player%}%"
- else:
- send "&b採掘量: %{Mine.All.%player%}%"
- command /fly:
- trigger:
- if {Profile.Rank.%player%} is "Owner" or "Admin" or "Engineer" or "MVP" or "VIP+" or "VIP":
- if {Fly.Mode.%player%} is true:
- send "&c[Structure] あなたのフライモードをオフにしました"
- set {Fly.Mode.%player%} to false
- set player's flight mode to false
- stop
- else:
- send "&c[Structure] &aあなたのフライモードをオンにしました!"
- set {Fly.Mode.%player%} to true
- set player's flight mode to true
- stop
- else:
- send "&c[Structure] あなたはこのコマンドを使用することができません。 ただし、&6 VIP以上のランクを購入することで"
- send "&6使用することができます!"
- command /spawn:
- trigger:
- send "&c[Structure] &7丸石採掘にテレポートしています..."
- wait 2 seconds
- command "/teleport %player% 845 5 1281 0 4"
- send "&c[Structure] &a丸石採掘へのテレポートが完了しました!"
- command /structure [<text>] [<text>]:
- permission: Server.Staff
- permission message: &c[Structure] このコマンドの使用権限を所持していないためこのコマンドを使用することができません。
- trigger:
- if arg 1 is not set:
- send "&c[Structure] /Structure Server Stop &8// &eサーバーを停止します。"
- if arg 1 is "server":
- if arg 2 is not set:
- send "&c[Structure] /Structure Server Stop &8// &eサーバーを停止します。"
- if arg 2 is "stop":
- broadcast "&c[Structure] 1分後にサーバーが停止します!!"
- wait 30 seconds
- broadcast "&c[Structure] 30秒後にサーバーが停止します!!"
- wait 20 seconds
- broadcast "&c[Structure] 10秒後にサーバーが停止します!!"
- wait 5 secnds
- broadcast "&c[Structure] 5秒後にサーバーが停止します!!"
- wait 1 seconds
- broadcast "&c[Structure] 4秒後にサーバーが停止します!!"
- wait 1 seconds
- broadcast "&c[Structure] 3秒後にサーバーが停止します!!"
- wait 1 seconds
- broadcast "&c[Structure] 2秒後にサーバーが停止します!!"
- wait 1 seconds
- broadcast "&c[Structure] 1秒後にサーバーが停止します!!"
- wait 1 seconds
- broadcast "&c[Structure] サーバーを停止しています..."
- wait 1 seconds
- command "/stop"
Add Comment
Please, Sign In to add comment