Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /firstspawn <text>:
- description: &e使用例&f /firstspawn normal &6or&f first,
- usage: &e使用例&f /firstspawn normal &6or&f first.
- aliases: /fs
- permission: admin
- trigger:
- if arg is "normal":
- set {spawn} to location of player
- send "&a&l通常スポーンをここに変更しました"
- play sound "entity.player.levelup" with volume 1 and pitch 0 at player
- else if arg is "first":
- set {firstspawn} to location of player
- send "&a&l初期スポーンをここに変更しました"
- play sound "entity.player.levelup" with volume 1 and pitch 0 at player
- stop
- on join:
- if {first.%player%} is not set:
- teleport the player to {firstspawn}
- teleport the player to {spawn}
- on respawn:
- teleport the player to {spawn}
- on join:
- if {first.%player%} is not set:
- set join message to "&a&l<<&eFirstJoin&a&l>>&f %player%さんが初めてログインした!"
- execute console command "/shot give %player% m4a1"
- set {first.%player%} to true
- else:
- set join message to "&a&l<<&eJoin&a&l>>&f %player%さんがログインした!"
- execute console command "/execute @a ~ ~ ~ playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1 0"
- on quit:
- set quit message to "&a&l<<&dQuit&a&l>>&f %player%さんがログアウトしました"
- command /resetfirst <player>:
- permission: admin
- trigger:
- clear {first.%arg-1%}
- play sound "entity.player.levelup" with volume 1 and pitch 0 at player
Add Comment
Please, Sign In to add comment