akon1248

Untitled

Dec 28th, 2018
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. command /setspawn:
  2. permission: spawn.admin
  3. permission message: &4このコマンドを実行する権限がありません!
  4. trigger:
  5. set {spawn} to location of block at location of player
  6. set yaw of {spawn} to 0.01
  7. set pitch of {spawn} to 0.01
  8. send "&6スポーンを%{spawn}%に設定しました"
  9. command /deletespawn:
  10. aliases: /delspawn
  11. permission: spawn.admin
  12. permission message: &4このコマンドを実行する権限がありません!
  13. trigger:
  14. if {spawn} is set:
  15. send "&6スポーンを消去しました"
  16. delete {spawn}
  17. else if {spawn} is not set:
  18. send "&cスポーンが設定されていません"
  19. command /spawn:
  20. trigger:
  21. if {spawn} is set:
  22. teleport player to {spawn}
  23. send "&6スポーンにテレポートしました"
  24. else if {spawn} is not set:
  25. send "&cスポーンが設定されていません"
Advertisement
Add Comment
Please, Sign In to add comment