Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /crime [<text>]:
- trigger:
- if arg 1 is not set:
- if player has permission "crime.admin":
- open chest with 3 row named "&b ► Evento Crime (Menu Admin)" to player
- wait 5 tick
- format slot 0 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 1 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 2 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 3 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 4 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 5 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 6 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 7 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 8 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 9 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 10 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 11 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 12 of player with Wooden Sword named "&b&lItens" with lore "&b&lPegue os itens do evento" to close then run [make player execute command "/crime items"]
- format slot 13 of player with Emerald Block named "&a&lIniciar o evento" with lore "&b&lClique e inicie o evento Crime" to close then run [make player execute command "/crime iniciar"]
- format slot 14 of player with Redstone Block named "&c&lCancelar o evento" with lore "&b&lClique e cancele o evento Crime" to close then run [make player execute command "/crime cancelar"]
- format slot 15 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 16 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 17 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 18 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 19 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 20 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 21 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 22 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 23 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 24 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 25 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 26 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- else:
- open chest with 3 row named "&b ► Evento Crime" to player
- wait 5 tick
- format slot 0 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 1 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 2 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 3 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 4 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 5 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 6 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 7 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 8 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 9 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 10 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 11 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 12 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 13 of player with Wooden Sword named "&b&lItens" with lore "&b&lPegue os itens do evento" to close then run [make player execute command "/crime items"]
- format slot 14 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 15 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 16 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 17 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 18 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 19 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 20 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 21 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 22 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 23 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 24 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 25 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- format slot 26 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
- if arg 1 is "iniciar":
- if player has permission "crime.admin":
- 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":
- if player has permission "crime.admin":
- set {evento.on} to "false"
- broadcast "&c&l ► &cEvento 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&l ►&c O Evento não esta acontecendo (não é possivel pegar os itens)"
- 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