How to Change the PvP Setting on Your Minecraft Java Server
Learn how to turn PvP on or off on your Minecraft Java server using the Properties tab in the RiverHosting panel so your players get exactly the experience you want.
Whether you are running a peaceful survival world or a competitive PvP arena, controlling whether players can attack each other is one of the most common things server owners want to change. On a Minecraft Java server hosted with RiverHosting, you can switch PvP on or off in just a few clicks using the built-in Properties tab. There is no need to edit any files manually.
Before you start
- Make sure you are logged in to the RiverHosting panel at panel.riverhosting.com.
- Open your Minecraft Java server from the server list.
- You will need to restart your server after saving the change for it to take effect.
1. Open the Properties tab
The Properties tab gives you a simple editor for your server's main settings file. You do not need to open or edit any files directly.
- Log in to the RiverHosting panel and open your Minecraft Java server.
- In the left-hand menu, click Properties.
- The Server Properties page will load with your current settings grouped into cards.
If you do not see a Properties option in the left-hand menu, your account may not have permission for this page. Ask the server owner to give you access.
2. Change the PvP setting
Once the Properties page is open, finding the PvP option is straightforward.
- In the Gameplay card near the top of the page, find PVP Enabled (
pvp). - Switch it to
true(PvP enabled) orfalse(PvP disabled). - Once you have made your choice, click the Save Changes button to apply the change.
true means players can attack and damage each other. false means players cannot deal damage to other players, making it a fully cooperative environment.
3. Restart your server to apply the change
Saving the setting in the Properties tab updates the configuration file, but the change will not take effect until your server restarts.
- Go back to the main server page by clicking Console in the left-hand menu.
- Click the Restart button at the top of the page.
- Wait for the server to fully start back up. You will see the startup messages appear in the console log.
- Once the server is online, the new PvP setting will be active for all players.
Any players currently connected to your server will be disconnected when you restart. If your server is busy, consider letting your players know before restarting.
Troubleshooting
- The PvP setting does not seem to have changed after restart. Make sure you clicked Save Changes on the Properties page before restarting. If you navigated away without saving, your change may not have been recorded. Go back to the Properties tab to confirm the current value.
- Players can still damage each other even with PvP set to false. Some plugins or mods can override the default PvP setting. If you have plugins installed, check whether any of them manage PvP separately, such as a protection or region plugin.
- I cannot find the pvp option in the Properties tab. It is called PVP Enabled and sits in the Gameplay card at the top of the page.
- The server fails to start after saving the change. Open the Console to read the startup log and look for any error messages. If something looks wrong, go back to Properties and double-check the value is set to either
trueorfalseexactly.
Need help?
If you run into any issues changing your PvP setting or your server behaves unexpectedly after the change, the RiverHosting support team is happy to help.
Visit riverhosting.com/support to open a support ticket or find other ways to get in touch. Include your server name and a description of what you are seeing so the team can help you quickly.
Similar Articles
How to Set Up User Groups and Passwords on Your Enshrouded Server
Learn how to use the User Groups page in the RiverHosting panel to give friends and guests their own passwords and permissions, so everyone gets the right level of access.
How to Set Up a Password for Your The Forest Server
Learn how to add a password to your The Forest server using the RiverHosting panel so only the players you invite can join your game.
How to Rename Your Soulmask Server
Learn how to change your Soulmask server name from the RiverHosting panel so your server stands out and players can find it easily in the browser.