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 "/execute @a ~ ~ ~ playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1 0"
- execute console command "/mm i give %player% 木の剣"
- 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