Advertisement
Itsyuumello2

Untitled

Dec 6th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. on first join:
  2. if {lobby} is true:
  3. teleport player to {spawn}
  4. set join message to "&7%player% &ehas joined."
  5. set player's gamemode to adventure
  6.  
  7. on join:
  8. if {lobby} is true:
  9. set join message to "&e%player% joined."
  10. teleport player to {spawn}
  11.  
  12. on quit:
  13. if {lobby} is true:
  14. set quit message to "&7%player% &equit."
  15.  
  16. command /setspawn:
  17. permission: skript.admin
  18. trigger:
  19. set {spawn} to location of player
  20. send "&aスポーン地点セット"
  21.  
  22. command /lobbymode <text>:
  23. permission: skript.admin
  24. trigger:
  25. if arg-1 is "true":
  26. set {lobby} to true
  27. send "&aロビーモード: &eTRUE"
  28. if arg-1 is "false":
  29. set {lobby} to false
  30. send "&aロビーモード: &cFALSE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement