How to Enable PvP on Your Valheim Server

Learn how to enable and manage PvP on your Valheim server so your players can fight each other in the world.
By default, Valheim leaves PvP as an opt-in choice for each individual player. However, you can encourage or manage PvP on your server in a few ways. This guide explains how PvP works in Valheim and what you can do from the RiverHosting panel to support a PvP-focused experience for your players.
Before you start
- You need an active Valheim server with RiverHosting.
- You need access to your server in the RiverHosting panel.
- To make someone an admin or ban them from the panel, they need to have joined the server at least once so the Players page knows their name and Steam ID.
Valheim does not have a single server-wide PvP toggle like some other games. Instead, each player enables PvP for themselves using the in-game menu. This means players must choose to participate. If you want to enforce PvP, you can use console commands as an admin to manage the experience.
1. Why there is no PvP setting on the server
Valheim has no server config file, and the World Settings page in the RiverHosting panel has no PvP option. There is nothing to change on the server side to allow PvP.
You do not need to edit a config file to enable basic PvP in Valheim. PvP is toggled per player in-game. Your job as a server owner is to let your players know they need to turn it on themselves in their character menu.
2. How to use admin commands to support PvP on your server
As a server admin, you can help manage PvP-related situations, for example by kicking or banning players who are causing problems. Valheim's server has no console of its own, so the panel Console cannot send commands. Instead, use the Players page in the panel or the in-game console.
- Log in to the RiverHosting panel.
- Click on your Valheim server.
- Click Players at the top of the left-hand menu.

- Find the player and click Ban to keep them out, or Unban to reverse it. The panel has no Kick button.
To kick someone, join the server as an admin, press F5 to open the in-game console, and use these commands:
kick [name]to remove a player who is breaking the rules.ban [name]to permanently ban a disruptive player.unban [name]to reverse a ban if needed.bannedto list all currently banned players.
These commands only work if your Steam ID is on the server's admin list. If you have not set yourself as admin yet, open the Players page, click Make Op next to your name, and restart the server before trying these commands.
3. How to guide your players to enable PvP in-game
Because PvP in Valheim is player-controlled, you may want to let your players know how to turn it on. You can share these steps with them directly.
- Join your Valheim server as normal.
- Press Tab to open the inventory screen.
- Look for the PvP toggle next to your character.
- Enable it to allow other players with PvP enabled to deal damage to you.
PvP damage in Valheim only works when both the attacker and the target have PvP turned on. If one player has it off, they cannot be harmed by other players. Make sure all participants in a PvP event have the setting enabled.
4. How to restart your server after making changes
If you made changes on the Players page such as Make Op or Ban, you need to restart your server before those changes take effect.
- Go back to your server's main page in the RiverHosting panel.
- Click the Restart button at the top of the page.

- Wait for the server to finish restarting. You can watch the progress in the Console.
- Once the server is back online, reconnect and test your changes.
Once the server is back online and your players have PvP enabled in their in-game settings, PvP combat will be active for those players. You can now run PvP events or open-world PvP experiences on your Valheim server.
Troubleshooting
- Players are not taking damage from each other: Make sure both players have the PvP toggle enabled on their inventory screen. Both sides must have it on.
- Admin commands are not working: You must be made an admin with Make Op on the Players page, and the server must have been restarted after that. Check the Operators tab on the Players page.
- Admin or ban changes are not taking effect: Always restart the server after using Make Op or Ban. Use the Restart button on your server page in the panel.
- Cannot find the PvP toggle in-game: Make sure you are running the latest version of Valheim on your client. The option appears on the inventory screen while you are connected to a server.
- Server is not responding after restart: Check the Console tab in the panel for any error messages. If the server failed to start, the console output will usually indicate the cause.
Need help?
If you are still having trouble getting PvP working on your Valheim server, the RiverHosting support team is happy to help.
Visit our support page at https://riverhosting.com/support to open a ticket or find other ways to get in touch. We are here to help you get the most out of your server.