How to Enable PvP in Hytale
In this article
Yes, you can enable PvP in Hytale, but it’s not a single toggle — it depends on how you set up your world or server. In Hytale, PvP is controlled by world settings and server configuration files. For single-player worlds, you can enable friendly fire or PvP in the world creation menu. For multiplayer servers, you need to edit the server properties file. This guide walks you through both methods, plus what to do if PvP isn’t working as expected.
What You'll Need
- A copy of Hytale (beta or full release, depending on your access)
- For single-player: access to the world creation menu
- For multiplayer: access to your server’s configuration files (if you host your own server) or admin permissions on a server you don’t own
Step-by-Step
For Single-Player Worlds
- Launch Hytale and go to the main menu.
- Select “Play” or “Single Player” from the menu.
- Click “Create New World” (or “New World” depending on the version).
- In the world creation screen, look for a section called “Gameplay”, “World Options”, or “Advanced Settings”. The exact label may vary slightly by version.
- Find the setting named “PvP” or “Friendly Fire”. It might be a toggle or a dropdown menu.
- Set it to “Enabled” or “On”. If there are options like “All”, “Teams Only”, or “Off”, choose “All” to allow PvP between all players.
- Optionally, adjust other related settings like “Player Damage” or “Combat” if they appear.
- Click “Create World” to start your world with PvP enabled.
If you already have a world and want to change its PvP setting, you may need to edit the world’s configuration file. See the troubleshooting section below.
For Multiplayer Servers (Self-Hosted)
- Stop your server if it is running.
- Navigate to your server’s root folder. This is the folder that contains the server executable (e.g.,
hytale_server.jaror similar). - Open the file named
server.propertiesusing a text editor (like Notepad on Windows or TextEdit on Mac). - Look for a line that says
pvp=trueorpvp=false. If it doesn’t exist, you can add a new line at the end. - Set the value to
trueto enable PvP. For example:pvp=true - Save the file and close the editor.
- Restart your server. The change will take effect immediately.
Note: The exact property name might be pvp, pvp-enabled, or friendly-fire depending on the server version. Check the official Hytale server documentation if you’re unsure.
For Multiplayer Servers (Hosted by Others)
- If you are an admin or have operator (op) permissions, you can often use an in-game command.
- Type
/pvp onin the chat. If that doesn’t work, try/setpvp trueor/gamerule pvp true. - If the command isn’t recognized, check the server’s documentation or ask the server owner to change the setting in the configuration files.
Common Mistakes
- Editing the wrong file: On a server, make sure you edit
server.propertiesin the root folder, not a copy or a file in a subfolder. - Not restarting the server: Changes to
server.propertiesusually require a server restart to take effect. - Using a single-player world that was created before PvP existed: Older worlds may not have the PvP setting in their save file; you may need to edit the world’s
world.jsonor similar file. - Looking for a “PvP” button in game: There is no in-game toggle during play; you must set it before creating the world or via server files.
- Confusing PvP with “Friendly Fire” in team settings: Some servers have separate settings for PvP between all players and PvP within a team. Make sure you enable the one you want.
Tips
- If you’re hosting a server for friends, consider setting
pvp=truebut also enabling a “protection” plugin or setting likespawn-protectionto prevent spawn camping. - Use the
/gamerulecommand on servers that support it to toggle PvP without restarting, if available. - Always back up your server files before editing configuration files, so you can revert if something goes wrong.
- In single-player, PvP only matters if you have multiple players on a LAN or if you use the “Open to LAN” feature. It does not affect NPCs.
Troubleshooting
PvP is still not working after enabling it
- Check that all players are on the same version of the game. Version mismatches can cause settings to not sync.
- If you’re on a server, verify that the server’s
server.propertiesfile actually saved the change. Re-open it and confirm the line sayspvp=true. - Look for any plugins or mods that might override PvP settings. Some server plugins (like grief prevention or land protection) can disable PvP in certain areas. Disable them temporarily to test.
- For single-player worlds, try creating a new world with PvP enabled to see if the setting works at all. If it does, your old world may have a corrupted setting.
I can’t find the PvP option in world creation
- Make sure you are looking in the correct menu. It might be under “More Options” or “World Settings” after you name your world.
- If the option is missing, it might be because your game version doesn’t support it yet. Check for updates.
PvP is enabled but players can’t damage each other
- Check if there is a “God Mode” or “Invincibility” setting on the server or in the world. Disable it.
- In some cases, PvP is only enabled in certain zones (e.g., arenas). If you’re using a custom map, check the map’s configuration.
Frequently Asked Questions
Can I enable PvP in an existing single-player world?
Yes, but you may need to edit the world’s configuration file manually. Locate your world folder in the game’s save directory, open the world.json file, and set "pvp": true. Be sure to back up the file first.
Does enabling PvP affect NPCs?
No, PvP only affects player-versus-player damage. NPCs and monsters are not affected by the PvP setting.
Can I set PvP to be team-only?
Yes, some versions allow you to set PvP to “Teams Only” or similar. This means players on different teams can fight, but teammates cannot damage each other. Look for a “Team Damage” or “Friendly Fire” setting.
Is there a command to toggle PvP on a server without restarting?
Some servers support the /gamerule pvp true command, but it depends on the server software. If that doesn’t work, you must edit the properties file and restart.
Why can’t I find the server.properties file?
If you are using a hosting service, the file might be accessible through their control panel or file manager. If you are hosting locally, make sure you are looking in the same folder as the server executable. If the file doesn’t exist, run the server once to generate it.
Will enabling PvP allow players to break blocks in protected areas?
No, PvP only controls player damage. Block protection is a separate setting or plugin.