Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /natal [<text>]:
- trigger:
- if arg 1 is "iniciar":
- if player has permission "natal.admin":
- if {evento.on} is "true":
- send "&dEvento ja começou"
- else:
- set {evento.on} to "true"
- broadcast "&c&l ► Evento natal começou, a cada 1 hora (In-Game) uma caixa especial vai ser dropada no spawn"
- if arg 1 is "cancelar":
- if player has permission "natal.admin":
- set {evento.on} to "false"
- broadcast "&c&l ► &cEvento natal cancelado"
- if arg 1 is "setbau":
- if player has permission "natal.admin":
- set {local} to location of player
- send "&b&l[&f&lNatal&b&l]&f ► Bau setado"
- if arg 1 is "bau":
- if player has permission "natal.admin":
- drop 1 chest named "&bPresente" at {local}
- broadcast "&b&l[&f&lNatal&b&l]&f ► Uma caixa foi solta no /spawn"
- if arg 1 is not set:
- send "&b&l-----------------------------------------"
- send "&b&l/natal iniciar - &fInicie o evento natal"
- send "&b&l/natal cancelar - &fCancele o evento natal"
- send "&b&l/natal setbau - &fMarque o lugar onde o presente ira aparecer"
- send "&b&l/natal bau - &fSpawne um presente"
- send "&b&l-----------------------------------------"
- every 1 hours:
- drop 1 chest named "&bPresente" at {local}
- broadcast "&b&l[&f&lNatal&b&l]&f► Uma caixa foi solta no /spawn"
- on rightclick with a Chest:
- cancel event
- if name of tool of player is "&bPresente":
- remove 1 chest with name "&bPresente" from player
- if player has permission "vip.use":
- chance of 99%:
- give 10 Diamonds to player
- give 10 bread to player
- give 10 apple to player
- give 10 Enchanted Golden Apple to player
- send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar um Presente especial"
- chance of 1%:
- give 3 Monster Spawner named "&6&lGaiola VIP" to player
- give 128 Diamonds to player
- give 64 bread to player
- give 20 apple to player
- give 25 Enchanted Golden Apple to player
- send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar um Presente especial"
- else:
- chance of 99%:
- give 3 Diamonds to player
- give 3 bread to player
- give 3 apple to player
- give 1 Enchanted Golden Apple to player
- send "&c&l >> Você ganhou um Presente"
- chance of 1%:
- give 1 Monster Spawner named "&6&lGaiola VIP" to player
- give 22 Diamonds to player
- give 10 bread to player
- give 10 apple to player
- give 2 Enchanted Golden Apple to player
- send "&c&l >> Você ganhou um Presente"
Advertisement
Add Comment
Please, Sign In to add comment