
Valheim Server Command Generator
Build the start command for your Valheim dedicated server: name, world, password, crossplay, difficulty modifiers and backups. Free, nothing to sign up for, works on any host.
How to use this command
- Stop your Valheim server.
- Put the command in your start script (
start_server.shon Linux,start_headless_server.baton Windows) in place of the existing line that starts the server. - Keep the password at least 5 characters, and make sure it is not part of the server name.
- Open UDP ports
port,port + 1andport + 2on your router or firewall, then start the server.
Hosting with PlayNHost? The panel sets the ports and starts the server for you. Change the name, password, world and the options in the panel under Settings.
Run your Valheim server on PlayNHost
Instant setup, DDoS protection, automatic backups and a 72-hour money-back guarantee. Change these settings in the panel, no file editing.
See plansQuestions
What ports does a Valheim server need?
Why does the server refuse my password?
Can I change world modifiers on an existing world?
Good to know
- Flag names follow the dedicated server manual that ships with the game. Valheim changes between updates, so check the manual in your server folder if an option is rejected.
- World modifiers and presets only apply to a new world or are set when the world is created. See the game's own documentation for details.
- Back up your world files before you change anything.
