Added setting to disable pvp outside games
removed import and deprecated warning (Still some unused & cast warnings
left)
merged 0d87e25cae & 6ff401a370