Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # PowerFight - Lutinha de Pobre!
- #
- # Criado por MrPowerGamerBR - Website: http://mrpowergamerbr.com/
- # | LICENÇA |
- # Ao baixar este arquivo, você está sujeito a licença do CC BY-NC-SA 3.0
- # | Configurações |
- options:
- # | CONFIGURAÇÕES |
- # Prêmio para quem ganha o Evento Fight
- Premio: 100000
- # Prêmio para quem ganha uma partida no Evento Fight
- PremioPartida: 50
- # Se ativado, os players irão ter que ficar sem itens no inventário para entrar no Fight
- InventarioVazio: false
- # Tag do Vencedor
- VencedorTag: &8[&c&lLutador&8]
- # Usar Legendchat para dar as tags? (Requer SkPower) {fight}
- UsarLC: false
- # Mensagens que irão aparecer de "ENTRE NO FIGHT!" (Quando todas as Mensagens forem mostradas, irá começar o evento)
- Avisos: 2
- # Delay entre as Mensagens de "ENTRE NO FIGHT!"
- DelayEntre: 10
- # Tempo de Delay até que outra partida seja iniciada.
- DelayMorte: 3
- # Quantos Segundos deveriam ter no Countdown?
- CountdownSegundos: 3
- # Cor das Mensagens de Countdown (..5, ..4, ..3, ..2, ..1, GO!)
- CorCountdown: &b
- # Automaticamente ativa o FriendlyFire ao entrar no Evento
- ClanFF: true
- # Comando a ser executado para ativar o FriendlyFire
- ClanAtivarFF: "clan globalff allow"
- # Comando a ser executado para desativar o FriendlyFire
- ClanDesativarFF: "clan globalff auto"
- # Para aonde o player deveria ir quando ele perde o Fight?
- # 0 = Camarote
- # 1 = Spawn do Mundo
- # 2 = Comando Customizado (/spawn, etc)
- AondeEuVou: 1
- # Comando Customizado (AondeEuVou: 2)
- ComandoCustomizado: /fight camarote
- # Deveria bloquear comandos no Fight?
- BloquearCmds: true
- # Comandos que podem ser usados no Fight
- CmdsPermitidos: "tell" or "msg" or "fight" or "seen" or "kitfight"
- # Se alguém morrer, os itens deveriam ser dropados?
- SemDrops: true
- # Ativar/Desativar Evento Automático
- EventoAutomatico: true
- # Horário do Evento Automático
- EventoHora: 12
- EventoMin: 30
- # Se o seu Host não quer alterar as horas do seu Servidor para o Horário de Brasília, você pode arrumar a diferença aqui
- # Exemplo: Se no seu Host o horário é 12:30, e o Horário de Brasília é 13:48, coloque hora_fix para 1 e min_fix para 18
- HoraFix: 0
- MinFix: 0
- # Se ativado, irá avisar para todos os players que irá começar um Evento Fight um minuto antes
- AviseAntes: true
- # | MENSAGENS |
- # Prefixo do Fight
- MsgPrefixo: &a[&lFIGHT&a]&b
- # Mensagem que o Evento Fight Iniciou
- MsgEventoIniciou: &bEvento Fight iniciou!
- # Evento Cancelado por falta de players
- MsgFaltaPlayers: &bEvento cancelado devido a falta de players...
- # Mensagem quando alguém ganha uma partida no Fight (Você pode usar @player e @premio)
- MsgGanhouPvP: &bO player @player&a ganhou um combate! &a+&2@premio
- # Mensagem quando alguém ganha o Fight (Você pode usar @player e @premio)
- MsgVencedor: &bParabéns &l@player&b! Você ganhou o evento Fight!
- # Mensagem de VS (Você pode usar @player1 e @player2)
- MsgPvPMensagem: &bLutadores: &l@player1 &bcontra &l@player2
- # Mensagem quando alguém tenta usar um comando no Evento Fight
- MsgComandoNoFight: &bEste comando foi bloqueado no evento!
- # Mensagem quando você não tem permissão
- MsgSemPerm: &bVocê nao tem permissao!
- # Mensagem quando não tem nenhum evento Fight acontecendo.
- MsgNenhumFight: &bNenhum Fight foi iniciado!
- # Mensagem que aparece quando você usa /fight camarote
- MsgCamarote: &bVocê está no camarote!
- # Mensagem que aparece quando você usa /fight sair
- MsgSaiuFight: &bVocê saiu do Fight!
- # Mensagem que aparece quando você usa /fight sair em uma batalha
- MsgSairBatalha: &bVocê nao pode sar durante a batalha!
- # Mensagem que aparece quando você entra no Evento Fight
- MsgEntrouNoFight: &bVocê entrou no Fight, boa sorte!
- # Mensagem que aparece quando você usa /fight e você já está no evento
- MsgEstouNoFight: &bVocê já está no Fight!
- # Sorry, mas o Evento Fight já iniciou ;-;
- MsgEventoComecou: &bO evento já iniciou!
- # Mensagem quando você precisa esvaziar o inventário
- MsgEsvaziarInv: &bVocê nao pode entrar com itens no inventário!
- # Mensagem avisando que daqui a 1 minuto irá começar o Evento Fight
- MsgAviseAntes: &bPrepare-se Galera! Irá começar um Evento Fight em 1 minuto!
- # Derp, alguém saiu durante o Countdown...
- MsgSaiuCountdown: &bAlguém saiu durante o cooldown...
- # GO! Literalmente.
- MsgCountdownFinal: &c&lGO!
- # VVV Mensagens que aparecem antes do Evento Fight VVV
- # Mensagens da lista de msg_avisoX que irão aparecer (1 a 5)
- Mensagens: 5
- # Mensagens
- MsgAviso1: &a[&lFIGHT&a] &bEvento FIGHT iniciando!
- MsgAviso2: &a[&lFIGHT&a] &bPara entrar no evento use o /fight
- MsgAviso3: &a[&lFIGHT&a] &bPara assistir use o /fight camarote
- MsgAviso4: &a[&lFIGHT&a] &bPrêmio: &a100k &b+ TAG
- MsgAviso5: &a[&lFIGHT&a] &bEntre sem itens no inventário!
- # ^^^ Mensagens que aparecem antes do Evento Fight ^^^
- # | Código-Fonte |
- variables:
- {PowerFight.Config.ArenaSetup} = false
- {PowerFight.Config.ArenaIniciada} = false
- {PowerFight.Config.ArenaPrestart} = false
- {PowerFight.Config.Countdown} = false
- {PowerFight.Config.BroadcastAviso} = false
- {KadooGN.Config.KitEscolhido.%player%} = false
- command /fight [<text>]:
- aliases: eventofight
- permission: PowerFight.Entrar
- permission message: {@MsgSemPerm}
- trigger:
- if {PowerFight.Config.ArenaSetup} is false:
- if player has permission "PowerFight.Setup":
- send "{@MsgPrefixo} &cAinda não existe nenhuma Arena de &4&lFight&c configurada!"
- send ""
- send "{@MsgPrefixo} &cUse &6/setupfight"
- stop
- else:
- send "{@MsgPrefixo} {@MsgNenhumFight}"
- stop
- else:
- if {PowerFight.Config.ArenaIniciada} is true:
- if arg 1 is "camarote":
- if player has permission "PowerFight.Camarote":
- teleport player to {PowerFight.Config.CamarotePoint}
- send "{@MsgPrefixo} {@MsgCamarote}"
- stop
- else:
- send "{@MsgSemPerm}"
- stop
- if arg 1 is "sair":
- loop {PowerFight.PlayerList::*}:
- if loop-value is player's name:
- if player's name is {PowerFight.Config.BattlePlayer::Player1} or {PowerFight.Config.BattlePlayer::Player2}:
- send "{@MsgPrefixo} {@MsgSairBatalha}"
- stop
- remove player's name from {PowerFight.PlayerList::*}
- if {@AondeEuVou} is 0:
- teleport player to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make player execute command "{@ComandoCustomizado}"
- else:
- teleport player to spawn
- send "{@MsgPrefixo} {@MsgSaiuFight}"
- stop
- if {PowerFight.Config.ArenaPrestart} is true:
- if player has not enough space for 2304 feathers:
- send "{@MsgPrefixo} &bVocê está com itens no inventário!"
- stop
- else:
- if player is wearing helmet:
- send "{@MsgPrefixo} &bVocê está com itens no inventário!"
- stop
- if player is wearing chestplate:
- send "{@MsgPrefixo} &bVocê está com itens no inventário!"
- stop
- if player is wearing leggings:
- send "{@MsgPrefixo} &bVocê está com itens no inventário!"
- stop
- if player is wearing boots:
- send "{@MsgPrefixo} &bVocê está com itens no inventário!"
- stop
- loop {PowerFight.PlayerList::*}:
- if loop-value is player's name:
- send "{@MsgPrefixo} {@MsgEstouNoFight}"
- stop
- if {@InventarioVazio} is true:
- loop items in player's inventory:
- add loop-item to {_temporary::*}
- if {_temporary::*} is set:
- send "{@MsgPrefixo} {@MsgEsvaziarInv}"
- stop
- add player's name to {PowerFight.PlayerList::*}
- teleport player to {PowerFight.Config.LobbyPoint}
- clear {PowerFight.Inventarios::%player%::*}
- clear {PowerFight.InventariosArmaduras::%player%::*}
- loop items in player's inventory:
- add loop-item to {PowerFight.Inventarios::%player%::*}
- set {PowerFight.InventariosArmaduras::%player%.h} to player's helmet
- set {PowerFight.InventariosArmaduras::%player%.c} to player's chestplate
- set {PowerFight.InventariosArmaduras::%player%.l} to player's leggings
- set {PowerFight.InventariosArmaduras::%player%.b} to player's boots
- clear inventory of player
- clear player's inventory
- send "{@MsgPrefixo} {@MsgEntrouNoFight}"
- else:
- send "{@MsgPrefixo} {@MsgEventoComecou}"
- stop
- else:
- send "{@MsgPrefixo} {@MsgNenhumFight}"
- command /startfight:
- permission: PowerFight.Iniciar
- permission message: {@MsgSemPerm}
- trigger:
- if {PowerFight.Config.ArenaSetup} is true:
- if {PowerFight.Config.ArenaIniciada} is false:
- clear {PowerFight.PlayerList::*}
- set {PowerFight.Config.ArenaIniciada} to true
- set {PowerFight.Config.ArenaPrestart} to true
- clear {PowerFight.Inventarios::*}
- clear {PowerFight.InventariosArmaduras::*}
- if {@ClanFF} is true:
- make console execute command "/clan globalff allow"
- loop {@Avisos} times:
- if {@Mensagens} is more or equal to 1:
- broadcast "{@MsgAviso1}"
- if {@Mensagens} is more or equal to 2:
- broadcast "{@MsgAviso2}"
- if {@Mensagens} is more or equal to 3:
- broadcast "{@MsgAviso3}"
- if {@Mensagens} is more or equal to 4:
- broadcast "{@MsgAviso4}"
- if {@Mensagens} is more or equal to 5:
- broadcast "{@MsgAviso5}"
- wait {@DelayEntre} seconds
- if size of {PowerFight.PlayerList::*} is less than 2:
- broadcast "{@MsgPrefixo} {@MsgFaltaPlayers}"
- set {PowerFight.Config.ArenaIniciada} to false
- set {PowerFight.Config.ArenaPrestart} to false
- loop {PowerFight.PlayerList::*}:
- set {_triste} to "%loop-value%" parsed as player
- if {@AondeEuVou} is 0:
- teleport {_triste} to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make {_triste} execute command "{@ComandoCustomizado}"
- else:
- teleport {_triste} to spawn
- clear {_triste}'s inventory
- if size of {PowerFight.PlayerList::*} is 0:
- stop
- make console execute command "recoverinv %{_triste}%"
- stop
- broadcast "{@MsgPrefixo} {@MsgEventoIniciou}"
- set {PowerFight.Config.ArenaPrestart} to false
- make console execute command "/fightstartpvp"
- else:
- send "&cJá existe um Evento Fight ocorrendo!"
- else:
- send "&cAinda não existe nenhum Evento Fight ativado! Use &6/setupfight&c!"
- command /fightstartpvp:
- executable by: console
- trigger:
- clear {PowerFight.Config.BattleDC::*}
- clear {PowerFight.Config.BattlePlayer::*}
- if size of {PowerFight.PlayerList::*} is 1:
- loop {PowerFight.PlayerList::*}:
- set {_winner} to loop-value
- clear {PowerFight.PlayerList::*}
- set {_msg} to "{@MsgVencedor}"
- replace all "@player" with "%{_winner}%" in {_msg}
- replace all "@premio" with "{@Premio}" in {_msg}
- broadcast "{@MsgPrefixo} %{_msg}%"
- broadcast "{@MsgPrefixo} &bSeu prêmio de &a100k &bmais sua &aTAG &bforam entregues!"
- set {_winner} to "%{_winner}%" parsed as player
- wait 1 tick
- make console execute command "/eco give %{_winner}% {@Premio}"
- set {PowerFight.Config.ArenaIniciada} to false
- if {@UsarLC} is true:
- wait 1 tick
- else:
- make console execute command "darvip %{_winner}% fight 1"
- set {PowerFight.Config.Ultimo} to {_winner}
- clear {_winner}'s inventory
- if {@ClanFF} is true:
- make console execute command "sudo %{_winner}% clan ff deny"
- if {@AondeEuVou} is 0:
- teleport {_winner} to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make {_winner} execute command "{@ComandoCustomizado}"
- else:
- teleport {_winner} to spawn
- loop all players:
- set {KadooGN.Config.KitEscolhido.%loop-player%} to false
- stop
- wait {@DelayMorte} seconds
- set {_player1} to a random element out of {PowerFight.PlayerList::*}
- set {_player2} to a random element out of {PowerFight.PlayerList::*}
- while {_player1} is equal to {_player2}:
- set {_player1} to a random element out of {PowerFight.PlayerList::*}
- set {_player2} to a random element out of {PowerFight.PlayerList::*}
- set {_msg} to "{@MsgPvPMensagem}"
- replace all "@player1" with "%{_player1}%" in {_msg}
- replace all "@player2" with "%{_player2}%" in {_msg}
- set {PowerFight.Config.BattleDC::Player1} to "%{_player1}%" parsed as a player
- set {PowerFight.Config.BattleDC::Player2} to "%{_player2}%" parsed as a player
- set {PowerFight.Config.CountdownDC} to false
- broadcast "{@MsgPrefixo} %{_msg}%"
- set {PowerFight.Config.BattlePlayer::Player1} to "%{_player1}%" parsed as a player
- set {PowerFight.Config.BattlePlayer::Player2} to "%{_player2}%" parsed as a player
- broadcast "{@MsgPrefixo} &bOs lutadores tem 10 segundos para escolher seu kit!"
- make console execute command "fightdaritens %{_player1}%"
- make console execute command "fightdaritens %{_player2}%"
- wait 10 seconds
- wait 1 seconds
- set {_countdown} to {@CountdownSegundos}
- loop {@CountdownSegundos} times:
- broadcast "{@CorCountdown}...%{_countdown}%"
- subtract 1 from {_countdown}
- wait 1 second
- clear {PowerFight.Config.BattleDC::*}
- if {PowerFight.Config.CountdownDC} is true:
- broadcast "{@MsgPrefixo} {@MsgSaiuCountdown}"
- make console execute command "fightstartpvp"
- stop
- broadcast "{@CorCountdown}{@MsgCountdownFinal}"
- set {_player1} to "%{_player1}%" parsed as a player
- set {_player2} to "%{_player2}%" parsed as a player
- teleport {_player1} to {PowerFight.Config.SpawnPoint1}
- teleport {_player2} to {PowerFight.Config.SpawnPoint2}
- heal {_player1}
- heal {_player2}
- command /setupfight [<text>]:
- permission: PowerFight.Setup
- permission message: {@MsgSemPerm}
- trigger:
- if arg 1 is "pronto":
- if {PowerFight.Config.ArenaSetup} is false:
- set {PowerFight.Config.ArenaSetup} to true
- send "{@MsgPrefixo} &aAtivada com Sucesso!"
- stop
- else:
- set {PowerFight.Config.ArenaSetup} to false
- send "{@MsgPrefixo} &aDesativada com Sucesso!"
- stop
- if arg 1 is "spawnpoint1":
- set {PowerFight.Config.SpawnPoint1} to location of player
- send "{@MsgPrefixo} &aSpawnPoint 1 Setado!"
- stop
- if arg 1 is "spawnpoint2":
- set {PowerFight.Config.SpawnPoint2} to location of player
- send "{@MsgPrefixo} &aSpawnPoint 2 Setado!"
- stop
- if arg 1 is "lobbypoint":
- set {PowerFight.Config.LobbyPoint} to location of player
- send "{@MsgPrefixo} &aLobby Setado!"
- stop
- if arg 1 is "camarotepoint":
- set {PowerFight.Config.CamarotePoint} to location of player
- send "{@MsgPrefixo} &aCamarote Setado!"
- stop
- if arg 1 is "clean":
- clear {PowerFight.PlayerList::*}
- set {PowerFight.Config.ArenaIniciada} to false
- set {PowerFight.Config.ArenaPrestart} to false
- clear {PowerFight.Inventarios::*}
- clear {PowerFight.InventariosArmaduras::*}
- send "&aEvento Fight Resetado com Sucesso!"
- stop
- if arg 1 is "setkit":
- clear {PowerFight.KitFight::*}
- loop items in player's inventory:
- add loop-item to {PowerFight.KitFight::*}
- set {PowerFight.KitFight::h} to player's helmet
- set {PowerFight.KitFight::c} to player's chestplate
- set {PowerFight.KitFight::l} to player's leggings
- set {PowerFight.KitFight::b} to player's boots
- send "&aItens Adicionados com Sucesso!"
- stop
- if arg 1 is set:
- send "{@MsgPrefixo} &cSubComando Inválido!"
- stop
- send "&8***&7***&8***&7***&8***&7***&8***&7*** &aPowerFight &7***&8***&7***&8***&7***&8***&7***&8***&7***"
- send ""
- send "&3/setupfight spawnpoint1 &8- &7Seta o SpawnPoint do 1 Player"
- send "&3/setupfight spawnpoint2 &8- &7Seta o SpawnPoint do 2 Player"
- send "&3/setupfight lobbypoint &8- &7Seta o Lobby (Aonde os players Participantes ficam)"
- send "&3/setupfight camarotepoint &8- &7Seta o Camarote (Aonde os players não participantes ficam)"
- send "&3/setupfight setkit &8- &7Coloca o Kit usado nas batalhas do Fight"
- send "&3/setupfight pronto &8- &7Ativa/Desativa o Modo Setup do Fight"
- send ""
- if {PowerFight.Config.ArenaSetup} is false:
- send "&7Estado atual da Arena&8: &4DESLIGADA"
- else:
- send "&7Estado atual da Arena&8: &aLIGADA"
- send "&8***&7***&8***&7***&8***&7***&8*** &2MrPowerGamerBR &7***&8***&7***&8***&7***&8***&7***&8***"
- on death:
- if player's name is {PowerFight.Config.BattlePlayer::Player1}:
- set {KadooGN.Config.KitEscolhido.%player%} to false
- remove player's name from {PowerFight.PlayerList::*}
- set {_msg} to "{@MsgGanhouPvP}"
- replace all "@player" with "%{PowerFight.Config.BattlePlayer::Player2}%" in {_msg}
- replace all "@premio" with "{@PremioPartida}" in {_msg}
- set {_attacker} to "%{PowerFight.Config.BattlePlayer::Player2}%" parsed as player
- broadcast "{@MsgPrefixo} &b%{PowerFight.Config.BattlePlayer::Player2}% ganhou matou %player%!"
- broadcast "{@MsgPrefixo} &b%{PowerFight.Config.BattlePlayer::Player2}% ganhou &a100 &bde money!"
- make console execute command "/eco give %{_attacker}% 100"
- make console execute command "limparpots %{_attacker}%"
- make console execute command "fightstartpvp"
- clear {_attacker}'s inventory
- teleport {_attacker} to {PowerFight.Config.LobbyPoint}
- set {PowerFight.Config.Loser} to victim's name
- add player's name to {PowerFight.RestoreInventoryList::*}
- clear player's inventory
- loop all players:
- set {KadooGN.Config.KitEscolhido.%loop-player%} to false
- if {@SemDrops} is true:
- delete drops
- stop
- if player's name is {PowerFight.Config.BattlePlayer::Player2}:
- set {KadooGN.Config.KitEscolhido.%player%} to false
- remove player's name from {PowerFight.PlayerList::*}
- set {_msg} to "{@MsgGanhouPvP}"
- replace all "@player" with "%{PowerFight.Config.BattlePlayer::Player1}%" in {_msg}
- replace all "@premio" with "{@PremioPartida}" in {_msg}
- set {_attacker} to "%{PowerFight.Config.BattlePlayer::Player1}%" parsed as player
- broadcast "&c %player% morreu para %{PowerFight.Config.BattlePlayer::Player1}%"
- make console execute command "/eco give %{_attacker}% 100"
- make console execute command "limparpots %{_attacker}%"
- make console execute command "fightstartpvp"
- clear {_attacker}'s inventory
- teleport {_attacker} to {PowerFight.Config.LobbyPoint}
- set {PowerFight.Config.Loser} to victim's name
- add player's name to {PowerFight.RestoreInventoryList::*}
- loop all players:
- set {KadooGN.Config.KitEscolhido.%loop-player%} to false
- clear player's inventory
- if {@SemDrops} is true:
- delete drops
- stop
- on respawn:
- loop {PowerFight.RestoreInventoryList::*}:
- if loop-value is entity's name:
- wait 1 tick
- if {@AondeEuVou} is 0:
- teleport entity to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make entity execute command "{@ComandoCustomizado}"
- else:
- teleport entity to spawn
- remove loop-value from {PowerFight.RestoreInventoryList::*}
- on disconnect:
- loop {PowerFight.PlayerList::*}:
- if loop-value is player's name:
- remove player's name from {PowerFight.PlayerList::*}
- if {@AondeEuVou} is 0:
- teleport player to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make player execute command "{@ComandoCustomizado}"
- else:
- teleport player to spawn
- if {PowerFight.Config.BattlePlayer::Player1} or {PowerFight.Config.BattlePlayer::Player2} is player's name:
- kill player
- stop
- if {PowerFight.Config.BattleDC::Player1} or {PowerFight.Config.BattleDC::Player2} is player's name:
- set {PowerFight.Config.CountdownDC} to true
- remove player's name from {PowerFight.PlayerList::*}
- if {@AondeEuVou} is 0:
- teleport player to {PowerFight.Config.CamarotePoint}
- if {@AondeEuVou} is 2:
- make player execute command "{@ComandoCustomizado}"
- else:
- teleport player to spawn
- command /fightdaritens [<player>]:
- executable by: console
- trigger:
- if {KadooGN.Config.KitEscolhido.%arg 1%} is true:
- stop
- send " Fight Vai Começar Prepara!" to argument-1
- wait 7.5 seconds
- if {KadooGN.Config.KitEscolhido.%arg 1%} is false:
- make console execute command "fightkit fight %arg 1%"
- on command:
- if {@BloquearCmds} is true:
- if {PowerFight.Config.ArenaIniciada} is true:
- loop {PowerFight.PlayerList::*}:
- if loop-value is player's name:
- if command is not {@CmdsPermitidos}:
- cancel event
- send "{@MsgComandoNoFight}"
- on damage:
- wait 1 tick
- if "%region at attacker%" contains "FIGHT":
- remove 1 of snowball from shooter's inventory
- attacker is a player
- victim is a player
- if "%region at victim%" contains "FIGHT":
- projectile is snowball
- spawn 100 of particle flame offset by 1, 1, 1 at attacker
- damage victim by 3.5 hearts
- send "&a ATACADO" to attacker
- send "&a ATACADO" to victim
- create a fake explosion at the victim's head
- wait 5 ticks
- create a fake explosion at the victim's head
- wait 5 ticks
- create a fake explosion at the victim's head
- command /kitfight [<text>]:
- trigger:
- if arg 1 is "fight":
- make console execute command "fightkit fight %player%"
- if arg 1 is "fightvip":
- make console execute command "fightkit fightvip %player%"
- command /fightkit [<text>] [<player>]:
- permission: fight.admin
- permission message: &cError
- trigger:
- if arg 1 is "fight":
- if argument-2's name is {PowerFight.Config.BattlePlayer::Player1} or {PowerFight.Config.BattlePlayer::Player2}:
- if {KadooGN.Config.KitEscolhido.%arg 2%} is false:
- send "&6 Você escolheu o Fight!" to argument-2
- clear argument-2's inventory
- give 1 diamond sword of sharpness 5, fire aspect 2 and unbreaking 3 named "&6&lFIGHT" to argument-2
- give 1 diamond axe of sharpness 5, efficiency 4, fire aspect 2 and unbreaking 3 named "&6&lFIGHT" to argument-2
- give 64 golden apple:1 named "&6&lFIGHT" to argument-2
- give 1 potion of:8201 named "&6&lFIGHT" to argument-2
- give 2 potion of:8226 named "&6&lFIGHT" to argument-2
- set argument-2's helmet to diamond helmet of protection 4 and unbreaking 3 named "&6&lFIGHT"
- set argument-2's chestplate to diamond chestplate of protection 4 and unbreaking 3 named "&6&lFIGHT"
- set argument-2's leggings to diamond leggings of protection 4 and unbreaking 3 named "&6&lFIGHT"
- set argument-2's boots to diamond boots of protection 4 and unbreaking 3 named "&6&lFIGHT"
- set {KadooGN.Config.KitEscolhido.%arg 2%} to true
- stop
- else:
- send "&c Você já escolheu um kit!" to argument-2
- else:
- send "&c Você nao está batalhando!"
- command /limparpots [<player>]:
- permission: fight.admin
- trigger:
- remove haste from argument-1
- remove invisibility from argument-1
- remove strength from argument-1
- remove slowness from argument-1
- remove jump boost from argument-1
- remove fire resistance from argument-1
- remove poison from argument-1
- remove speed from argument-1
- remove nausea from argument-1
- remove weakness from argument-1
- remove regeneration from argument-1
- remove resistance from argument-1
- remove absorption from argument-1
- command /powerfight:
- trigger:
- # | ATENÇÃO |
- # Se você modificar de qualquer maneira este comando, você estará permitindo que eu (MrPowerGamerBR) possa usar o nome do seu
- # Servidor de qualquer maneira ou forma, sendo para promover ou difamar o seu Servidor.
- # Bloquear, colocar permissão ou remover este comando também será considerado edição.
- send "&3&lPower&4&lFight &71.2.1 &8- &7Criado por &aMrPowerGamerBR"
- send "&2Website&8: &3http://mrpowergamerbr.com/"
- send "&2 Versão v2 - by zKaduuGN"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement