Skip to main content
A Risk of Rain 2 dedicated server reads its settings from Risk of Rain 2_Data/Config/server.cfg. On FREAKHOSTING, the panel rewrites sv_hostname, sv_password, sv_maxplayers, the ports and steam_server_heartbeat_enabled from the Startup page every time the server starts, so change those on Startup. Other settings, such as sv_custom_tags, sv_allow_rule_voting and gamemode, you add to the file yourself.

Which settings does the panel control?

These keys are written from Startup at every start. If you change them in the file, the panel puts the Startup value back. Don’t edit sv_maxplayers or the port keys. For more player slots, open a ticket.

Which settings can I add myself?

These are standard Risk of Rain 2 console variables. Add each on its own line.

How to edit server.cfg

1

Stop the server

Stop the server so nothing changes the file while you edit it.
2

Open the file

Click Files, open the Risk of Rain 2_Data folder, then Config, and click server.cfg.
3

Add your lines

Add one setting per line, ending each line with ;. Leave the lines the panel manages as they are.
4

Save and start

Save the file and start the server. Check the console for errors.

Example lines you can add

Frequently asked questions

Why did my server name in server.cfg change back?

The panel rewrites sv_hostname from Server Hostname on Startup at every start. Change the name on Startup.

Can I raise the player limit in server.cfg?

No. sv_maxplayers comes from Max Players, which shows the slots in your plan. Risk of Rain 2 itself is made for up to four players. Open a ticket for more slots.

Is the password in server.cfg safe?

It is stored as plain text in the file, so don’t reuse a password from an account.

Which port does my Risk of Rain 2 server use?

The PRIMARY port on the Network page, for example 203.0.113.10:27015. The panel writes it to sv_port for you.

Risk of Rain 2 server guide

Every Risk of Rain 2 page in one place.

Server browser tags

sv_custom_tags step by step.

Eclipse mode

gamemode EclipseRun.

Ping limits and kicking

What the config can’t do.

File Manager

Edit files in the panel.

Checked against the official Risk of Rain 2 Wiki console page on 3 November 2026. Panel fields tested on our Game Panel the same day. Values may change if the game changes.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: November 2026