Simple and lightweight plugin for use in a specific environment.
Commands: /PvP /PvPReload
--------------------------------------------------------- If PVP is OFF, then KeepInventory is ON If PVP is ON, then KeepInventory is OFF ---------------------------------------------------------
This makes it so players can only lose their inventory if they enable their /PvP
Useful in server scenarios where half the players want to be safe from losing their inventory, while others want to live dangerously.
If you fight, you can lose items, if you don't you're all safe!
# TogglePvPInv Configuration File
#
# Commands: - /pvp - Toggles PVP and KeepInventory, no permission required!
# - /pvpreload - Reloads the plugin. (togglepvp.reload)
pvptimer: 5 # Cool-down for toggling PvP after being in combat.
messages:
pvp-enabled: "&bPvP &aEnabled!"
pvp-disabled: "&bPvP &cDisabled!"
other-enabled: "&bForced PvP on &2%player%!"
other-disabled: "&bDisabled PvP for &7%player%!"
cooldown: "&6Please wait &4%time% &6more seconds!"
reload: "&aReload Complete!"
loaded: "&3[&aTogglePVPInv&3] &2Operational!"
permission: "&cNo permission, sorry!"
invalid-player: "&cUnable to find &4%player%!"
console: "&6This can only be executed in-game!"
damager-players-pvp-disabled: "&cYour /PvP is Disabled!"
attacked-players-pvp-disabled: "&cThey player have their PvP Disabled!"