PvPToggle
A plugin that gives players control over their PvP status. Players can choose to opt-in or opt-out of player combat, with configurable combat timers and cooldowns to prevent abuse.
About PvPToggle
Like this plugin? Use code jack in the Hytale Store
PvP Toggle gives players control over their PvP status. Players can choose to opt-in or opt-out of player combat, with configurable combat timers and cooldowns to prevent abuse.
Features
Per-player PvP toggle - Each player can independently enable or disable their PvP status
Combat protection - Players cannot toggle PvP while actively in combat
Toggle cooldown - Configurable cooldown between PvP state changes
Item protection - Disable item drop/durability loss
Persistent state - Optionally save PvP status across server restarts
Admin controls - Server administrators can view and modify all plugin settings in-game
Knockback prevention - Prevent players from being pushed by others while their PvP is disabled.
Requirements
This plugin requires PvP to be enabled in the world configuration. If the world has PvP disabled, this plugin will have no effect as all player damage is already blocked at the world level.
Commands
Player Commands:
/pvp on - Enable PvP for yourself
/pvp off - Disable PvP for yourself
/pvp status - Check your current PvP status, combat timer, and cooldown
/pvp toggle - Toggle your PvP status off/on
Admin Commands:
/pvp admin config - Display current plugin configuration
/pvp admin set <key> <value> - Modify a configuration value
Configuration
All settings can be modified in-game using /pvp admin set:
combattimer - How long (in seconds) after taking/dealing PvP damage before you can toggle (0 to disable)
cooldown - How long (in seconds) between PvP toggles (0 to disable)
default - Default PvP state for new players (true/false)
persist - Whether PvP state persists across restarts (true/false, requires restart)
itemprotection - Keep items and durability on PvP death (true/false)
knockback - Whether players with PvP disabled still receive knockback from other players (true/false)
How It Works
When a player has PvP disabled, they cannot damage other players and cannot be damaged by other players. If either the attacker or the target has PvP disabled, no damage is dealt.
The combat timer prevents players from disabling PvP mid-fight to escape. After engaging in PvP combat, players must wait for the combat timer to expire before they can change their PvP status.
Permissions
All players can use /pvp on, /pvp off, /pvp toggle and /pvp status
Admin commands require Creative mode permissions
Permissions for LuckPerms users
User permissions:
jack.pvptoggle.command.pvp
jack.pvptoggle.command.pvp.on
jack.pvptoggle.command.pvp.off
jack.pvptoggle.command.pvp.status
jack.pvptoggle.command.pvp.toggle
Admin permissions:
jack.pvptoggle.command.pvp.admin
jack.pvptoggle.command.pvp.admin.config
jack.pvptoggle.command.pvp.admin.set
Compatibility issues
The item protection feature might conflict with some gravestone mods (Can be turned off)
Categories
Need a Server?
Run PvPToggle on a dedicated Hytale server with easy mod management.
Get Hytale HostingFrequently Asked Questions
What is PvPToggle?
A plugin that gives players control over their PvP status. Players can choose to opt-in or opt-out of player combat, with configurable combat timers and cooldowns to prevent abuse.
How do I download PvPToggle?
You can download PvPToggle for free from CurseForge. Click the "Download on CurseForge" button on this page to go directly to the download page.
Who created PvPToggle?
PvPToggle was created by jackkkk. The mod has been downloaded 806 times.
Is PvPToggle compatible with Hytale servers?
PvPToggle is designed for Hytale and can be used on both single-player and multiplayer servers. Check the mod page on CurseForge for specific compatibility information.
How do I install PvPToggle?
To install PvPToggle: 1) Download the mod from CurseForge, 2) Place the file in your Hytale mods folder, 3) Restart the game. The mod should load automatically.
Related Qol Mods
View all modsEyeSpy
DarkhaxDev
Adds a HUD that displays information about what you're looking at!
Advanced Item Info
Buuz135
Adds a searchable GUI that displays all the items and the game and displays extra properties they have
Overstacked
DarkhaxDev
Increases the maximum stack size of items.
Violet's Wardrobe
VioletsWorkshop
Adds more customisation options in the form of craftable cosmetics
Item Magnet
Jaredlll08
Adds a magnet that attracts items towards the player.
Endgame & QoL - Boss & Elite Update (3.0.0 in a week)
Lewaii
Endgame & QoL v2.2: Face the Alpha T-Rex & Void Spectres! Unlock Backpack IV & Void Gliders. Restore unused content and challenge stronger, rebalanced bosses!