on join: set {god.%player%} to true on rightclick with iron sword: if player's tool is enchanted of knockback 2: if name of player's tool is "pvp": set {god.%player%} to false change name of player's tool to "PVP" on leftclick with iron sword: if player's tool is enchanted of knockback 2: if name of player's tool is "PVP": set {god.%player%} to true change name of player's tool to "pvp" on damage: if {god.%player%} is true: cancel event