Advertisement
habbu_way

Untitled

Mar 27th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. options:
  2. nomedoserver: SERVIDOR
  3. temporeinicio: 5 hour #1 minute 1 hour 1 day
  4. every {@temporeinicio}:
  5. send "" to all players
  6. send "&e[REÍNICIO] Servidor reiniciando em 2 minutos." to all players
  7. send "" to all players
  8. wait 2 minutes
  9. set {disablefunctions} to true
  10. send "&e[REÍNICIO] Reiniciando servidor em instantes, voltamos já." to all players
  11. send "&e[REÍNICIO] Algumas funções podem ter sido desativadas neste período." to all players
  12. wait 5 seconds
  13. kick all players due to "&c&l{@nomedoserver}%nl%%nl% &cServidor reiniciando, já já voltamos."
  14. execute console command "/reload"
  15. set {disablefunctions} to false
  16. on rightclick on ender chest:
  17. if {disablefunctions} is true:
  18. send "&eEsta função está desativada no momento de reínicio."
  19. cancel event
  20. on command "/echest":
  21. if {disablefunctions} is true:
  22. send "&eEsta função está desativada no momento de reínicio."
  23. cancel event
  24. on command "/COMANDO":
  25. if {disablefunctions} is true:
  26. send "&eEsta função está desativada no momento de reínicio."
  27. cancel event
  28. # E assim você vai adicionando mais comandos que queria desativar no momento do reínicio.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement