Advertisement
SilentShiro

Untitled

Mar 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. # -+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-
  2. # JoinQuit.sk made by
  3. # Minhii
  4. # -+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-
  5.  
  6. on first join:
  7. set join message to ""
  8. send player title "&bPixel-RPG" with subtitle "&aWelcome back, &f&l%player%&r&a!" for 5 seconds
  9.  
  10. on join:
  11. set join message to ""
  12. send player title "&bPixel-RPG" with subtitle "&aWelcome back, &f&l%player%&r&a!" for 5 seconds
  13.  
  14. on quit:
  15. set quit message to ""
  16.  
  17. command /build [<player = %player%>]:
  18. aliases: /b, /buildmode
  19. permission: build.use
  20. trigger:
  21. if gamemode of player is adventure:
  22. set gamemode of arg 1 to creative
  23. set {_gamemode.%arg-1%} to 1
  24. send "&6You switched to Build-mode" to arg 1
  25. stop
  26. if gamemode of player is creative:
  27. set gamemode of arg 1 to adventure
  28. set {_gamemode.%arg-1%} to 2
  29. send "&6You switched to Survival-mode" to arg 1
  30. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement