Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /buildjoin <player>:
- aliases: /bj
- permission: admin
- trigger:
- if {player::*} contains arg-1:
- send "&c既にゲームに参加しています。"
- stop
- if size of {player::*} < 12:
- add arg-1 to {player::*}
- remove all items from arg-1's inventory
- execute console command "/menu grab %arg-1% taiki"
- teleport arg-1 to location (111, 69, 50) in world "world"
- send "&7%arg-1% &eがゲームに参加しました! (&b%amount of {player::*}%&e/&b12&e)!" to {player::*}
- if amount of {player::*} is 2:
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&a60秒&bでゲームが開始します!" to {player::*}
- loop 30 times:
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&e30秒&bでゲームが開始します!" to {player::*}
- loop 25 times:
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&e5秒&bでゲームが開始します!" to {player::*}
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&e4秒&bでゲームが開始します!" to {player::*}
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&c3秒&bでゲームが開始します!" to {player::*}
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&c2秒&bでゲームが開始します!" to {player::*}
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- execute console command "/playsound minecraft:block.dispenser.fail master %{player::*}% ~ ~ ~ 10 2"
- send "&e&l[&6&lBuild&e&l] &bあと&c1秒&bでゲームが開始します!" to {player::*}
- wait 1 seconds
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- stop
- loop {player::*}:
- teleport loop-value to {buildspawn::%loop-index%}
- execute console command "/playsound minecraft:entity.enderdragon.ambient master %{player::*}% ~ ~ ~ 10 1"
- send title "&aゲームスタート!" to {player::*}
- remove all items from {player::*}'s inventory
- set {player::*}'s gamemode to creative
- wait 1 seconds
- send "&e&l[&6&lBuild&e&l] &bお題を決めています..." to {player::*}
- loop 60 times:
- wait 1 tick
- execute console command "/playsound minecraft:entity.experience_orb.pickup master %{player::*}% ~ ~ ~ 10 2"
- set {_odai} to random string out of {odai::*}
- wait 1 tick
- send "&e&l--*--*--*--*--*--*--*--" to {player::*}
- wait 1 tick
- send "&a" to {player::*}
- send "&b今回のお題:&c&l%{_odai}%" to {player::*}
- send "&a" to {player::*}
- wait 1 tick
- send "&e&l--*--*--*--*--*--*--*--" to {player::*}
- execute console command "/playsound minecraft:block.anvil.place master %{playe::*}% ~ ~ ~ 10 1"
- set {timer} to 300
- loop 60 times:
- remove 1 from {timer}
- wait 1 seconds
- send action bar "&b&l残り時間:&a%{timer}%" to {player::*}
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- wait 1 tick
- loop {player::*}:
- remove all items from loop-value's inventory
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- delete {player::*}
- stop
- execute console command "/playsound minecraft:block.chest.close master %{playe::*}% ~ ~ ~ 10 1"
- loop 60 times:
- remove 1 from {timer}
- wait 1 seconds
- send action bar "&b&l残り時間:&e%{timer}%" to {player::*}
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- wait 1 tick
- loop {player::*}:
- remove all items from loop-value's inventory
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- delete {player::*}
- stop
- execute console command "/playsound minecraft:block.enderchest.close master %{playe::*}% ~ ~ ~ 10 1"
- loop 60 times:
- remove 1 from {timer}
- wait 1 seconds
- send action bar "&b&l残り時間:&6%{timer}%" to {player::*}
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- wait 1 tick
- loop {player::*}:
- remove all items from loop-value's inventory
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- delete {player::*}
- stop
- execute console command "/playsound minecraft:block.anvil.place master %{playe::*}% ~ ~ ~ 10 2"
- loop 60 times:
- remove 1 from {timer}
- wait 1 seconds
- send action bar "&b&l残り時間:&c%{timer}%" to {player::*}
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- wait 1 tick
- loop {player::*}:
- remove all items from loop-value's inventory
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- delete {player::*}
- stop
- execute console command "/playsound minecraft:block.anvil.place master %{playe::*}% ~ ~ ~ 10 2"
- loop 60 times:
- remove 1 from {timer}
- wait 1 seconds
- send action bar "&b&l残り時間:&4%{timer}%" to {player::*}
- if {player::*} is less than or equal to 1:
- send "&cゲームに必要な人数が集まっていないため強制終了しました." to {player::*}
- wait 1 tick
- loop {player::*}:
- remove all items from loop-value's inventory
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- delete {player::*}
- stop
- execute console command "/playsound minecraft:item.shield.block master %{player::*}% ~ ~ ~ 10 1"
- send title "&a評価" to {player::*}
- wait 2 seconds
- loop {player::*}:
- add loop-value to {_player::*}
- loop amount of {player::*} times:
- remove {_player} from {_player::*}
- set {_player} to random player out of {_player::*}
- loop {player::*}
- execute console command "/tp %loop-value% %{_player}%"
- send title "作成者:%{_player}%" with subtitle "&bお題:&c&l%{_odai}%" to {player::*}
- wait 5 seconds
- send "&e&l[&6&lBuild&e&l] &bあと&e5秒&bで&6作品6b視聴時間が終わります..." to {player::*}
- wait 5 seconds
- send "&e&l[&6&lBuild&e&l] &bこの&6作品&bをメニューから評価してください" to {player::*}
- wait 1 seconds
- loop {player::*}:
- execute console command "/pex user %loop-player% add gameplayer"
- set {builder} to {_player}
- set {_value} to"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGNiN2ExNWVkYTFjYmU0N2E4ZDVkN2Y3ODBlODliYmMzNWUwYzE3N2ZjYjljNjQ4MGExMWIwMmNjODE2NWMxYyJ9fX0="
- set {_skull} to skull from skin with value {_value} signature ""
- set data value of {_skull} to 3
- give 1 paper named "&b&lVote" to {player::*}
- open chest with 3 rows named "&a&l評価&6&lメニュー" to player
- format slot 10 of player with {_skull} named "&6&l製作者:&c&l%player%" to be unstealable
- format slot 11 of player with red stained hardened clay named "&4&lひどすぎる" to run [make player execute command "/vote 0"]
- format slot 12 of player with pink stained hardened clay named "&c&lひどい" to run [make player execute command "/vote 1"]
- format slot 13 of player with lime stained hardened clay named "&a&lふつう" to run [make player execute command "/vote 2"]
- format slot 14 of player with green stained hardened clay named "&2&lいいね" to run [make player execute command "/vote 3"]
- format slot 15 of player with blue stained hardened clay named "&5&lすごくいい" to run [make player execute command "/vote 4"]
- format slot 16 of player with yellow stained hardened clay named "&e&lすばらしい" to run [make player execute command "/vote 5"]
- wait 5 seconds
- send "&a&l評価の&e&l時間が&c&l終了しました。" to {player::*}
- wait 1 seconds
- send "⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝a⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝" to {player::*}
- wait 1 tick
- send " &6&lWinner:" to {player::*}" to {player::*}
- wait 1 tick
- send "⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝a⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝⊝" to {player::*}
- wait 1 seconds
- delete {player::*}
- loop {player::*}:
- remove all items from loop-value's inventory
- set loop-value's gamemode to survival
- execute console command "/menu grab %loop-value% lobby"
- teleport loop-value to {joinspawn}
- execute consol command "/fill 10 60 -1 -18 83 -29 air"
- wait 1 tick
- execute consol command "/fill -25 60 -1 -53 83 -29 air"
- wait 1 tick
- execute consol command "/fill -88 60 -29 -60 83 -1 air"
- wait 1 tick
- execute consol command "/fill -88 60 -36 -60 83 -64 air"
- wait 1 tick
- execute consol command "/fill -53 60 -64 -25 83 -36 air"
- wait 1 tick
- execute consol command "/fill 10 60 -64 -18 83 -36 air"
- wait 1 tick
- execute consol command "/fill -18 60 -71 10 83 -99 air"
- wait 1 tick
- execute consol command "/fill -53 83 -99 -25 60 -71 air"
- wait 1 tick
- execute consol command "/fill -88 60 -99 -60 83 -71 air"
- wait 1 tick
- execute consol command "/fill -88 60 -134 -60 83 -106 air"
- wait 1 tick
- execute consol command "/fill -53 60 -106 -25 83 -134 air"
- wait 1 tick
- execute consol command "/fill 10 60 -134 -18 83 -106 air"
- wait 1 tick
- command /odaiset <text>:
- permission: admin
- trigger:
- add arg-1 to {odai::*}
- command /odailist:
- trigger:
- send "&a現在設定されているお題: &7%{odai::*}%" to player
- command /odaidelete:
- permission: adomin
- trigger:
- delete {odai::*}
- send "&c変数「{odai::*}」を削除しました!" to player
- command /vote <number>:
- permission: gameplayer
- trigger:
- if sender does not have permission "gameplayer":
- send "&cあなたはすでに投票しているか、ゲーム参加者ではありません。" to player
- stop
- loop all players:
- if loop-player is not {builder}:
- if arg-1 is 0:
- add 0 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&4&lひどすぎる" to player
- if arg-1 is 1:
- add 1 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&c&lひどい" to player
- if arg-1 is 2:
- add 2 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&a&lふつう" to player
- if arg-1 is 3:
- add 3 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&2&lいいね" to player
- if arg-1 is 4:
- add 4 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&5&lすごくいい" to player
- if arg-1 is 5:
- add 5 to {score.%{builder}%}
- execute console command "/pex user %player% remove gameplayer"
- send "&e&lすばらしい" to player
- else:
- send "&cあなたは製作者のため、評価できません。" to player
- on right click with paper:
- if name of player's tool is "&b&lVote":
- set {_value} to"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGNiN2ExNWVkYTFjYmU0N2E4ZDVkN2Y3ODBlODliYmMzNWUwYzE3N2ZjYjljNjQ4MGExMWIwMmNjODE2NWMxYyJ9fX0="
- set {_skull} to skull from skin with value {_value} signature ""
- set data value of {_skull} to 3
- wait 1 tick
- open chest with 3 rows named "&a&l評価&6&lメニュー" to player
- format slot 10 of player with {_skull} named "&6&l製作者:&c&l%player%" to be unstealable
- format slot 11 of player with red stained hardened clay named "&4&lひどすぎる" to run [make player execute command "/vote 0"]
- format slot 12 of player with pink stained hardened clay named "&c&lひどい" to run [make player execute command "/vote 1"]
- format slot 13 of player with lime stained hardened clay named "&a&lふつう" to run [make player execute command "/vote 2"]
- format slot 14 of player with green stained hardened clay named "&2&lいいね" to run [make player execute command "/vote 3"]
- format slot 15 of player with blue stained hardened clay named "&5&lすごくいい" to run [make player execute command "/vote 4"]
- format slot 16 of player with yellow stained hardened clay named "&e&lすばらしい" to run [make player execute command "/vote 5"]
Advertisement
Add Comment
Please, Sign In to add comment