Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /spawn:
- permission: spawn
- trigger:
- if {spawn.location} is not set:
- message "&7[&6Spawn&7]&cスポーンポイントがありません。"
- stop trigger
- message "&7[&6Spawn&7]&b5秒後にスポーンポイント<grey>%{spawn.location}%&bにテレポートします"
- set {spawntp.%player%} to true
- wait 5 seconds
- if {spawntp.%player%} is false:
- stop trigger
- teleport player to {spawn.location}
- set {spawntp.%player%} to false
- message "&7[&6Spawn&7]&aテレポートが完了しました。"
- command /setspawn:
- permission: spawnset
- trigger:
- set {spawn.location} to location of player
- message "&7[&6Spawn&7]&aスポーンポイントをセットしました: <grey>%location of player%<reset>"
- on any move:
- if {spawntp.%player%} is true:
- set {spawntp.%player%} to false
- message "&7[&6Spawn&7]&cテレポートの準備中に動いたため、テレポートがキャンセルされました。"
Advertisement
Add Comment
Please, Sign In to add comment