variables: {pvp.%player%} = false command /pvp: trigger: if {pvp.%player%} is false: set {pvp.%player%} to true send "&8> &aWłączyłeś tryb walki!" stop if {pvp.%player%} is true: set {pvp.%player%} to false send "&8> &cWyłączyłeś tryb walki!" stop on damage: if attacker is a player: if victim is a player: if {pvp.%victim%} is false: cancel event send "&8> &cTen gracz ma wyłączony tryb walki!" to attacker stop