How to enable and disable PvP on your server

  1. To edit the PvP setting for your server head over to DoNotStarveTogether => config => server => cluster.ini.

  2. Open up the cluster.ini file and under the [GAMEPLAY] section edit the pvp command:

    pvp = true
    
    It should look something like this: pvp

In this instance I have enabled the PvP, if you want to disable it type in false instead of true.

  1. Once done click on Save Content.

Save Content

  1. Start/Restart your server and you’re done. The change has been applied to the server.