Advertisement
okaz_

setspawn joinlog quitlog

Jan 25th, 2020
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. command /setspawn:
  2. permission: skript.admin
  3. trigger:
  4. send "&aスポーン地点をセットしました。"
  5. set {firstjoin} to location of player
  6.  
  7. command /spawn:
  8. trigger:
  9. send "&aスポーン地点にテレポートしました。"
  10. teleport the player to {firstjoin}
  11.  
  12. on first join:
  13. set join message to "&e[&d+&e] &e%player%"
  14. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @p ~ ~ ~ 100 0.5"
  15. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.lightning.impact master @p ~ ~ ~ 100 2"
  16. teleport the player to {firstjoin}
  17.  
  18. on join:
  19. set join message to "&e[&a+&e] &d%player%"
  20. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @p ~ ~ ~ 100 0.5"
  21.  
  22. on quit:
  23. set quit message to "&e[&c-&e] &d%player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement