How to Enable PvP on a Hytale Server ​
PvP (Player versus Player) allows players to fight against each other. This setting is configured per world.
Note
Stop your server before making changes to configuration files, otherwise they will be overwritten by the server.
How to Enable or Disable PvP via Configuration ​
Stop the Server
Stop your server via the management panel.Open the World Configuration
Connect to your server via SFTP and navigate to:/universe/worlds/<worldname>/config.json/universe/worlds/<worldname>/config.jsonReplace
<worldname>with the name of your world (e.g.,default).Change the PvP Setting
Find theIsPvpEnabledsetting and change the value:json"IsPvpEnabled": true"IsPvpEnabled": truetrue- PvP enabledfalse- PvP disabled
Start the Server
Start your server for the changes to take effect.
How to Enable PvP via Command ​
Admins can also enable or disable PvP directly in-game:
/world config pvp true/world config pvp trueTo disable PvP:
/world config pvp false/world config pvp falseNote
The command requires admin rights and only affects the current world.