Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setlobby [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is not set:
- set {lobby} to location of player
- send "&aロビーを&d%{lobby}%&aにセットしました"
- if arg-1 is "reset":
- send "&aロビーをリセットしました"
- delete {lobby}
- if arg-1 is "check":
- if {lobby} is set:
- send "&a現在のロビー: &d%{lobby}%"
- else:
- send "&a現在のロビー: &c未設定"
- on first join:
- wait 2 tick
- broadcast "&8[&d&lFirst&8] &e%player%"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.firework.twinkle ambient @a"
- teleport player to {lobby}
- execute console command "/clear %player%"
- on join:
- set join message to "&8[&e&lJoin&8] &e%player%"
- teleport player to {lobby}
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
- set player's gamemode to adventure
- on quit:
- set quit message to "&8[&7&lQuit&8] &e%player%"
- every 30 second:
- execute console command "weather clear"
- RAW Paste Data
- command /setlobby [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is not set:
- set {lobby} to location of player
- send "&aロビーを&d%{lobby}%&aにセットしました"
- if arg-1 is "reset":
- send "&aロビーをリセットしました"
- delete {lobby}
- if arg-1 is "check":
- if {lobby} is set:
- send "&a現在のロビー: &d%{lobby}%"
- else:
- send "&a現在のロビー: &c未設定"
- on first join:
- wait 2 tick
- broadcast "&8[&d&lFirst&8] &e%player%"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.firework.twinkle ambient @a"
- teleport player to {lobby}
- execute console command "/clear %player%"
- on join:
- set join message to "&8[&e&lJoin&8] &e%player%"
- teleport player to {lobby}
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
- set player's gamemode to adventure
- on quit:
- set quit message to "&8[&7&lQuit&8] &e%player%"
- every 30 second:
- execute console command "weather clear"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement