Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- luz = 0
- conferir = 0
- options:
- site: &ewww.site.com.br &c # Coloque o link do site do seu servidor aqui.
- command /luz [<text>]:
- trigger:
- if player has permission "luz.ativar":
- if arg 1 is set:
- if arg 1 is "ativar":
- apply night vision to the player for 999 days
- send "" to player
- send " &a* Modo luz foi ativado." to player
- send "" to player
- set {luz} to true
- stop
- if arg 1 is "desativar":
- remove night vision from the player
- send "" to player
- send " &c* Modo luz foi desativado." to player
- send "" to player
- set {luz} to false
- stop
- if arg 1 is "conferir":
- if {luz} is true:
- send "" to player
- send " &7* Você está no momento com o modo luz: &aATIVADO&c." to player
- send "" to player
- stop
- if {luz} is false:
- send "" to player
- send " &7* Você está no momento com o modo luz: &cDESATIVADO&c." to player
- send "" to player
- stop
- else:
- send "" to player
- send " &7* Sintaxe incorreta, utiliza-se &c/luz <Ativar/Desativar/Conferir>." to player
- send "" to player
- stop
- else:
- send "" to player
- send " &7* Sintaxe incorreta, utiliza-se: " to player
- send " &c/luz <Ativar/Desativar/Conferir>." to player
- send "" to player
- stop
- else:
- send "" to player
- send " &c Somente VIP's e Superiores podem acessar esse comando." to player
- send " &c Compre VIP em nosso site: {@site}e acesse-o comando." to player
- send "" to player
- stop
- on respawn:
- wait 2 tick
- if {luz} is true:
- apply night vision to the player for 999 days
- stop
- if {luz} is false:
- remove night vision from the player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement