server.properties generator
Choose your settings and copy the lines into your file.
# server.properties generated on freemchost.com/tools # Keep the other lines of your file; replace only these ones. gamemode=survival difficulty=normal max-players=20 view-distance=8 simulation-distance=5 online-mode=true white-list=false enforce-whitelist=false hardcore=false allow-flight=false level-seed= motd=A Minecraft Server
What each setting does
Read server.properties explained for sensible values. For a smoother server, lower the simulation distance before the view distance.
Questions
Should I replace my whole file?
No. Replace the matching lines in your existing server.properties and keep the others, such as the port set by your host.
Why is there no PvP option?
Recent Java versions manage PvP and several other options as game rules, set with the /gamerule command.