Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # #! # ━━━━━━━━━━ Inicio Da Config ━━━━━━━━━━━━ #
- # ━━━━━━ Permissao STAFF ━━━━━━ #
- Permissao: WinkDrop.usar
- # ━━━━━━ Permissao Mensagem ━━━━━━ #
- PermMSG: &0[&4Wink&cGamer&0] &3Sem Permissão!
- # ━━━━━━ Prefixo ━━━━━━ #
- P: &e[&3DROP&e] &c
- variables:
- {WinkDROP.Evento} = false
- {WinkDROP.Counter} = 0
- {WinkDROP.Config.%player%} = 0
- {WinkDROP.EntradaBlock} = false
- command /AdminDrop [<text>] [<text>]:
- trigger:
- If arg 1 is "Iniciar":
- If {WinkDROP.Evento} is false:
- set {WinkDROP.Evento} to true
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 1 minuto&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 50 segundos&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 40 segundos&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 30 segundos&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 20 segundos&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- broadcast " "
- broadcast "{@P} Evento &6DROP &3Iniciado!"
- broadcast "{@P} Entre Usando &b/DROP&3!"
- broadcast "{@P} Iniciando em 10 segundos&3!"
- broadcast " "
- wait 10 Seconds
- If {WinkDROP.Evento} is false:
- stop
- set {WinkDROP.EntradaBlock} to true
- broadcast "{@P} Evento INICIADO!"
- broadcast "{@P} Evento terminará em 3 minutos!"
- loop 180 times:
- wait 1 second
- If {WinkDROP.Evento} is false:
- stop
- make console execute command "/AdminDrop dropar"
- add 1 to {WinkDROP.Counter}
- if {WinkDROP.Counter} is equal to 180:
- set {WinkDrop.Terminar} to true
- broadcast "{@P} Evento terminado!"
- broadcast "{@P} Parabéns aos jogadores!"
- loop {PlayerListDROP::*}:
- make console execute command "/spawn %loop-value%"
- loop all players:
- set {WinkDROP.Config.%loop-player%} to false
- set {WinkDROP.Counter} to 0
- set {WinkDROP.Evento} to false
- set {WinkDROP.EntradaBlock} to false
- clear {PlayerListDROP::*}
- wait 2 seconds
- else:
- send "&c Evento já ligado!"
- If arg 1 is "SetSpawn":
- set {SpawnDROP} to Player's Location
- send "{@P} Spawn Do Evento Setado!"
- stop
- If arg 1 is "Terminar":
- If {WinkDROP.Evento} is false:
- send "{@} Evento já desligado!"
- stop
- broadcast "{@P} Evento terminado!"
- broadcast "{@P} Parabéns aos jogadores!"
- loop {PlayerListDROP::*}:
- teleport {PlayerListDROP::*} to spawn
- wait 1 second
- set {WinkDROP.Config.%loop-value%} to false
- make console execute command "/AdminDrop resetar"
- If arg 1 is "Desligar":
- If {WinkDROP.Evento} is false:
- stop
- make player execute command "/admindrop Terminar"
- if arg 1 is "setar":
- clear player's inventory
- give 1 bone named "&aSetar area 1" to player
- give 1 bone named "&aSetar area 2" to player
- give 1 bone named "&aSetar area 3" to player
- give 1 bone named "&aSetar area 4" to player
- give 1 bone named "&aSetar area 5" to player
- if arg 1 is "AddItem":
- if arg 2 is not set:
- send "&cErro!"
- send "&cUse /admindrop additem 1-5"
- stop
- if arg 2 is "1":
- clear {Drop.Inv1::*}
- loop items in player's inventory:
- add loop-item to {Drop.Inv1::*}
- send "{@P} INV 1: &b%loop-item%!"
- if arg 2 is "2":
- clear {Drop.Inv2::*}
- loop items in player's inventory:
- add loop-item to {Drop.Inv2::*}
- send "{@P} INV 2: &b%loop-item%!"
- if arg 2 is "3":
- clear {Drop.Inv3::*}
- loop items in player's inventory:
- add loop-item to {Drop.Inv3::*}
- send "{@P} INV 3: &b%loop-item%!"
- if arg 2 is "4":
- clear {Drop.Inv4::*}
- loop items in player's inventory:
- add loop-item to {Drop.Inv4::*}
- send "{@P} INV 4: &b%loop-item%!"
- if arg 2 is "5":
- clear {Drop.Inv5::*}
- loop items in player's inventory:
- add loop-item to {Drop.Inv5::*}
- send "{@P} INV 5: &b%loop-item%!"
- if arg 1 is "Dropar":
- set {_drop} to a random element out of {Drop.Inv1::*}
- drop {_drop} at {DropLocation1}
- set {_drop1} to a random element out of {Drop.Inv2::*}
- drop {_drop1} at {DropLocation2}
- set {_drop3} to a random element out of {Drop.Inv3::*}
- drop {_drop3} at {DropLocation3}
- set {_drop4} to a random element out of {Drop.Inv4::*}
- drop {_drop4} at {DropLocation4}
- set {_drop5} to a random element out of {Drop.Inv5::*}
- drop {_drop5} at {DropLocation5}
- spawn 50 of particle flame offset by 1, 1, 1 at {DropLocation1}
- spawn 50 of particle flame offset by 1, 1, 1 at {DropLocation2}
- spawn 50 of particle flame offset by 1, 1, 1 at {DropLocation3}
- spawn 50 of particle flame offset by 1, 1, 1 at {DropLocation4}
- spawn 50 of particle flame offset by 1, 1, 1 at {DropLocation5}
- stop
- if arg 1 is "resetar":
- set {WinkDROP.Counter} to 0
- set {WinkDROP.Evento} to false
- set {WinkDROP.EntradaBlock} to false
- clear {PlayerListDROP::*}
- loop all players:
- set {WinkDROP.Config.%loop-player%} to false
- if arg 1 is not set:
- send "&b\=-=-=-=-=-=&0[&6COMANDOS ADMIN&0]&b=-=-=-=-=-=/"
- send "{@P}| &a/AdminDrop &6Iniciar |&3 Inicia o Evento!"
- send "{@P}| &a/AdminDrop &6SetSpawn |&3 Seta o Spawn do Evento!"
- send "{@P}| &a/AdminDrop &6Terminar |&3 Termina o Evento DROP!"
- send "{@P}| &a/AdminDrop &6Desligar |&3 Desliga o Evento DROP!"
- send "{@P}| &a/AdminDrop &6AddItem |&3 Adiciona os Item do Inventario no DROP!"
- send "{@P}| &a/AdminDrop &6Dropar |&3 Dropa Items setados ao Chao!"
- Send " "
- send "{@P}| &a Para Setar o Bloco onde ira dropar os item %nl%Use o osso e clique com botao Direito no Bloco De Esmeralda!"
- send "&b\=-=-=-=-=-=&0[&6COMANDOS ADMIN&0]&b=-=-=-=-=-=/"
- on command:
- if {WinkDROP.Config.%player%} is true:
- if command is not "helpop" or "clan" or "tell" or "r" or "w" or "msg" or "admindrop" or "testarvars":
- cancel event
- send "{@P} Comandos bloqueados no evento DROP! Para sair deslogue..."
- on join:
- if {WinkDROP.Config.%player%} is true:
- set {WinkDROP.Config.%player%} to false
- send "{@P} Você saiu do evento DROP!"
- teleport player to spawn
- command /drop:
- trigger:
- if {WinkDROP.Evento} is true:
- if {WinkDROP.EntradaBlock} is false:
- if {WinkDROP.Config.%player%} is true:
- send "{@P} Você já está no evento!"
- stop
- teleport player to {SpawnDROP}
- set {WinkDROP.Config.%player%} to true
- send "{@P} &cEntrou no evento!"
- add player to {PlayerListDROP::*}
- else:
- send "{@P}&c Evento já começou!"
- else:
- send "{@P}&c Evento desligado!"
- on rightclick with bone on emerald block:
- if player has permission "drop.admin":
- if name of player's tool is "&aSetar area 1":
- set {DropLocation1} to location of clicked block
- send "{@P} &aSpawn 01 setado!"
- stop
- if name of player's tool is "&aSetar area 2":
- set {DropLocation2} to location of clicked block
- send "{@P} &aSpawn 02 setado!"
- stop
- if name of player's tool is "&aSetar area 3":
- set {DropLocation3} to location of clicked block
- send "{@P} &aSpawn 03 setado!"
- stop
- if name of player's tool is "&aSetar area 4":
- set {DropLocation4} to location of clicked block
- send "{@P} &aSpawn 04 setado!"
- stop
- if name of player's tool is "&aSetar area 5":
- set {DropLocation5} to location of clicked block
- send "{@P} &aSpawn 05 setado!"
- stop
- #_----------------- | CHAT -----------------_#
- on chat:
- cancel the event
- if player's clan tag is set:
- broadcast "%colored player's suffix% %colored player's prefix% &f[&6%player's clan tag%&f] &e%player's display name% &3» &f%colored message%"
- stop
- else:
- broadcast "%colored player's suffix% %colored player's prefix% &e%player's display name% &3» &f%colored message%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement