How to Enable PvP on a Hytale Server
By default, player versus player (PvP) combat may be disabled on your server. This guide explains how to modify your world configuration to allow player battles.
📁 Location of the Configuration File
The file that manages the game rules (PvP, death, etc.) is located in your world folder. Path:
universe/worlds/default/config.json
Note: If you have renamed your world, replace
defaultwith the name of your world folder.
🚀 Steps to Follow
🛑 Step 1 – Turn Off the Server
Before modifying configuration files, make sure your server is turned off. Modifying this file while the server is running can prevent changes from taking effect or corrupt the save.
📝 Step 2 – Modify the config.json File
- Open the
config.jsonfile located in the mentioned folder. - Look for the section or line:
"GameplayConfig": "Default",. - Right below this line, you need to add or modify the
IsPvpEnabledparameter.
To enable PvP, the line should look like this:
"IsPvpEnabled": true
(If the line does not exist, add it manually, don't forget the comma at the end of the previous line).
Example context in the file:
{
"GameplayConfig": "Default",
"IsPvpEnabled": true,
...
}
💾 Step 3 – Save and Restart
Save the config.json file and restart your server. PvP is now active.
⚔️ Going Further: Death Configuration
Enabling PvP often involves managing what happens when a player dies (item loss, respawn point).
You can add this code block in the same config.json file to customize the experience:
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "All",
"ItemsAmountLossPercentage": 10.0,
"ItemsDurabilityLossPercentage": 10.0
},
Parameter Explanations:
- RespawnController: Defines where the player respawns (
HomeOrSpawnPointprioritizes the player's bed/home). - ItemsLossMode: Defines item loss (
Allto lose everything,Noneto keep everything). - ItemsAmountLossPercentage: Percentage of lost item quantity (here 10%).
- ItemsDurabilityLossPercentage: Percentage of lost durability on equipment (here 10%).


