After that, Click on the server.properties file and go to the line pvp=[value]. If you’d like PvP to be enabled change [value] to true and if you’d like it to be disable change [value] to false and then click on the Save Content or CTRL+S
6
Sixth Step
Under General tab, Click on Console and Start the server.
There you go! You have Enabled/Disabled PvP on your server!