Guest User

Untitled

a guest
Jun 2nd, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. command /setlobby:
  2. permission: pomoc.setlobby
  3. aliases: setspawn
  4. trigger:
  5. set {set.lobby} to location of player
  6. send title "&a&lSukces!" to player
  7. send "&c&lPoprawnie Ustawiles Spawn/Lobby!" to player
  8. send "&6&lUstawiles &7&lSpawn/Lobby &6&lNa Kordynatach:&a&l %x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" to player
  9.  
  10. on join:
  11. send "&a&lWitaj Ponownie!" to player
  12. send "&6&l+&6&l %player%" to all players
  13. teleport player to {set.lobby}
  14. send title "&c&l/Login <Haslo>" to player
  15. send "&6&lZaloguj sie Uzywajac Komendy:&c&l /Login <Haslo>" to player
  16. send "&a&lAby Powrocic Do Miejsca z Ktorego Wyszedles Uzyj Komendy: &c&l/backto quit" to player
  17.  
  18. on quit:
  19. set {backto-quit.%player%} to location of player
  20. send "&6-&6&l %player%" to all players
  21.  
  22.  
  23. command /backto [<text>]:
  24. permission: pomoc.lobby
  25. trigger:
  26. if arg 1 is "quit":
  27. if player has permission "pomoc.lobby":
  28. teleport player to {backto-quit.%player%}
  29. send title "&a&lSukces!" to player
  30. send "&c&lPrzeteleportowano Do Miejsca z Ktorego Wyszedles!" to player
  31. if "%block under player%" is "air":
  32. execute server command "effect %player% minecraft:resistance 15 255 true"
  33. if arg 1 is "":
  34. send title "&c&lBlad!" to player
  35. send "&6&lNieznana Komenda!" to player
  36. if arg 1 is not set:
  37. if player has permission "pomoc.lobby":
  38. send title "&c&lBlad!" to player
  39. send "&6&lNieznana Komenda!" to player
Advertisement
Add Comment
Please, Sign In to add comment