Advertisement
k512

Untitled

Dec 21st, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. command /loginspawn:
  2. description: ログイン時にTPする場所を設定できます。
  3. permission: admin
  4. aliases: /ls
  5. trigger:
  6. if {spawnpoint} is true:
  7. set {spawnpoint} to location of player
  8. send "&a&lログイン時のスポーンポイントを設定しました。" to player
  9. else:
  10. send "&c&lスポーンポイントにTPできないようになっています。"
  11.  
  12. command /trueloginspawn:
  13. description: ログイン時にスポーンポイントにTPするかどうかを設定できます。
  14. permission: admin
  15. aliases: /tls
  16. trigger:
  17. if {spawnpoint} is true:
  18. set {spawnpoint} to true
  19. send "&a&lログイン時にスポーンポイントにTPするようにしました。"
  20. else:
  21. send "&c&l常にTPするように設定されていました。"
  22.  
  23. command /falseloginspawn:
  24. description: ログイン時にスポーンポイントにTPするかどうかを設定できます。
  25. permission: admin
  26. aliases: /fls
  27. trigger:
  28. if {spawnpoint} is false:
  29. set {spawnpoint} to false
  30. send "&a&lログイン時にスポーンポイントにTPしないようにしました。"
  31. else:
  32. send "&c&l常にTPしないように設定されていました。"
  33.  
  34. command /spawn:
  35. description: スポーンポイントにTPできます
  36. aliases: /spn
  37. trigger:
  38. if {spawnpoint} is set:
  39. wait 5 tick
  40. teleport player to {spawnpoint}
  41. send "&a&lスポーンしました。"
  42. else:
  43. send "&c&lスポーンする場所がありません。"
  44.  
  45. on join:
  46. loop all players:
  47. teleport player to {spawnpoint}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement