Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- nomedoserver: SERVIDOR
- temporeinicio: 5 hour #1 minute 1 hour 1 day
- every {@temporeinicio}:
- send "" to all players
- send "&e[REÍNICIO] Servidor reiniciando em 2 minutos." to all players
- send "" to all players
- wait 2 minutes
- set {disablefunctions} to true
- send "&e[REÍNICIO] Reiniciando servidor em instantes, voltamos já." to all players
- send "&e[REÍNICIO] Algumas funções podem ter sido desativadas neste período." to all players
- wait 5 seconds
- kick all players due to "&c&l{@nomedoserver}%nl%%nl% &cServidor reiniciando, já já voltamos."
- execute console command "/reload"
- set {disablefunctions} to false
- on rightclick on ender chest:
- if {disablefunctions} is true:
- send "&eEsta função está desativada no momento de reínicio."
- cancel event
- on command "/echest":
- if {disablefunctions} is true:
- send "&eEsta função está desativada no momento de reínicio."
- cancel event
- on command "/COMANDO":
- if {disablefunctions} is true:
- send "&eEsta função está desativada no momento de reínicio."
- cancel event
- # 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