Advertisement
AurasPrivate

Lobby

Jun 23rd, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. command /setlobby [<text>]:
  2. permission: server.setlobby
  3. permission message: &cYou do not have permission to execute this command!
  4. description: Set the lobbies of the server.
  5. usage: &b/setlobby (donator|staff|normal)
  6. trigger:
  7. if arg-1 is set:
  8. if arg-1 is "donator":
  9. set {donatorlobby} to location of player
  10. message "&b&l(!) &7Successfully set the &bDonator &7lobby!"
  11. else if arg-1 is "staff":
  12. set {stafflobby} to location of player
  13. message "&b&l(!) &7Successfully set the &bStaff &7lobby!"
  14. else if arg-1 is "normal":
  15. set {lobby} to location of player
  16. message "&b&l(!) &7Successfully set the &bNormal &7lobby!"
  17. else if arg-1 isn't set:
  18. message "&b/setlobby (donator|staff|normal)"
  19.  
  20. command /lob:
  21. trigger:
  22. teleport player to {lobby}
  23. message "&eSending you to the lobby..."
  24. clear the inventory of player
  25. give player a clock named "&6Lobby Selection"
  26. set gamemode of player to adventure
  27. heal player
  28. set hunger of player to 20
  29.  
  30. command /stafflob:
  31. permission: server.staff
  32. permission message: &cYou do not have permission to execute this command!
  33. trigger:
  34. teleport player to {stafflobby}
  35. message "&eSending you to the staff lobby..."
  36. clear the inventory of player
  37. give player a clock named "&6Lobby Selection"
  38. set gamemode of player to adventure
  39. heal player
  40. set hunger of player to 20
  41.  
  42. command /donatorlob:
  43. permission: server.donator
  44. permission message: &cYou do not have permission to execute this command!
  45. trigger:
  46. teleport player to {donatorlobby}
  47. message "&eSending you to the donator lobby..."
  48. clear the inventory of player
  49. give player a clock named "&6Lobby Selection"
  50. set gamemode of player to adventure
  51. heal player
  52. set hunger of player to 20
  53.  
  54. on join:
  55. teleport player to {lobby}
  56. clear inventory of player
  57. give player a clock named "&6Lobby Selection"
  58. give player a anvil named "&6Server Selection"
  59. set gamemode of player to adventure
  60. heal player
  61. set hunger of player to 20
  62.  
  63. on right click:
  64. if player is holding a clock named "&6Lobby Selection":
  65. open chest with 3 rows named "&6Lobbys" to player
  66. format slot 10 of player with compass named "&6Donation Lobby" with lore "||&7Teleport to the &bdonator lobby" to close then run "/donatorlob"
  67. format slot 13 of player with compass named "&6Lobby 1" with lore "||&7Teleport to &blobby 1" to close then run "/lob"
  68. format slot 16 of player with compass named "&6Staff Lobby" with lore "||&7Teleport to the &bstaff lobby" to close then run "/stafflob"
  69.  
  70. on right click:
  71. if player is holding a anvil named "&6Server Selection":
  72. open chest with 3 rows named "&6Servers" to player
  73. format slot 10 of player with compass named "&6FFA" with lore "||&7Teleport to the &bffa server" to close then run "/ffaserver"
  74. format slot 13 of player with compass named "&6Events" with lore "||&7Teleport to the &bevents server" to close then run "/eventserver"
  75. format slot 16 of player with compass named "&6Practice" with lore "||&7Teleport to the &bpractice server" to close then run "/1v1server"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement