Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /crime [<text>]:
- permission: crime.usar
- trigger:
- if arg 1 is "iniciar":
- if {evento.on} is "true":
- send "&dEvento ja começou"
- else:
- set {evento.on} to "true"
- broadcast "&0[&fServer&0] &fIsto é uma transmissão official do servidor,a noite de crime começou, qualquer crime é permitido no servidor durante 1 hora (in-game)"
- broadcast "&fCrimes como Xingar player, xingar servidor também é permitido"
- broadcast "&0[&fServer&0] Ao mata um player você ganhará 10 diamantes"
- execute console command "time set 18000"
- wait 1 hours
- broadcast "&0[&fServer&0]&fA noite de crime acabou, nenhum crime é permitido agora"
- set {evento.on} to "false"
- if arg 1 is "cancelar":
- set {evento.on} to "false"
- broadcast "&c ---- > Evento Noite de Crime cancelado"
- if arg 1 is "items":
- if {evento.on} is "true":
- give 1 Chainmail Helmet named "&c - > Evento CRIME" to player
- give 1 Diamond Chestplate named "&c - > Evento CRIME" to player
- give 1 Chainmail Leggings named "&c - > Evento CRIME" to player
- give 1 Chainmail Boots named "&c - > Evento CRIME" to player
- give 1 Diamond Sword named "&c - > Evento CRIME" to player
- else:
- send "&c --- > O Evento não esta acontecendo (não é possivel pegar items)"
- stop
- on death:
- if {evento.on} is "true":
- victim is a player
- attacker is a player
- give 10 diamond to attacker
- else:
- if {evento.on} is "false":
- stop
Advertisement
Add Comment
Please, Sign In to add comment