TogglePvPInv - Toggle PvP + KeepInventory Together
2022-03-18Providing a single toggle for both PvP and KeepInventory
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!
Config.yml
# 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!"
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta