For a private group, the best Vintage Story server configuration is deliberately conservative: run a dedicated server with its own data path, keep AdvertiseServer disabled, leave whitelist protection enabled, set MaxClients to your real group size plus modest headroom, disable PvP unless everyone wants it, and begin with the documented MaxChunkRadius of 12. Treat access controls and performance settings as one layer, and world-generation and survival rules as a separate layer. That separation prevents the most common mistake: editing world settings in serverconfig.json after the world already exists and expecting the changes to work.
What are the best Vintage Story server settings for friends?
A small friends-only server should be private by default, capacity-limited, and easy to recover. The following baseline is suitable for a cooperative survival world; change only the rules your group has explicitly agreed to change.
| Setting | Small-group baseline | Why |
|---|---|---|
AdvertiseServer |
false |
Prevents the server from appearing in the public browser. Dedicated servers have not advertised by default since version 1.20, but checking the value avoids accidental listing. |
WhitelistMode |
Enabled (the dedicated-server default from version 1.20) | Only approved player names can connect. |
MaxClients |
Your expected group size plus a little headroom | The documented default is 16; a private group usually needs a smaller cap. |
AllowPvP |
false for cooperative play |
Prevents accidental player combat. |
AllowFireSpread |
false for a forgiving or grief-resistant world |
Stops spreading fires that can destroy builds and increase server load. |
PassTimeWhenEmpty |
false |
Stops the calendar advancing while everyone is offline. |
MaxChunkRadius |
12 initially |
This is the documented default and the highest view distance a player may load; larger values require more RAM. |
| Tickrate | Normal/default value | Establish a baseline before trading responsiveness for CPU usage. |
SpawnCapPlayerScaling |
Near the documented default of 0.5 |
Adjust only after observing mob density or performance problems. |
Use a separate server data directory rather than the folder used by a player’s single-player files. The dedicated-server guide documents the --dataPath approach; it keeps saves, logs, and configuration isolated and makes backups much less error-prone.
How do I configure serverconfig.json?
Stop the server before editing the file, change only the keys you understand, save it, and relaunch. Server-file edits do not take effect until the server is relaunched; saving the world with /autosavenow before stopping reduces the chance of losing recent progress.
- Shut down the dedicated server cleanly.
- Back up the existing
serverconfig.jsonand the world data directory. - Open the server’s own configuration file, not a single-player copy.
- Set access, capacity, gameplay-protection, and performance keys.
- Save the file, start the server, and test with an authorized account.
The official 1.22.0-verified defaults include the following values:
{
"Port": 42420,
"AdvertiseServer": false,
"MaxClients": 16,
"MaxClientsInQueue": 0,
"PassTimeWhenEmpty": false,
"Password": null,
"MaxChunkRadius": 12,
"SpawnCapPlayerScaling": 0.5,
"AllowPvP": true,
"AllowFireSpread": true,
"AllowFallingBlocks": true
}
That excerpt shows documented defaults, not a universal recommendation. For a cooperative friends-only world, change PvP and often fire spread to false, keep advertising off, and set the client cap to your actual group. Leave a password empty only if your whitelist and network controls are already sufficient; adding a password is an additional layer, not a replacement for the whitelist.
How do I set up a Vintage Story whitelist?
Keep whitelist mode enabled and add each person explicitly. The in-game command for an approved player is:
/player <username> whitelist on
Replace <username> with the player’s exact account name. Individual whitelist additions do not require a restart, so you can onboard friends while the server remains online. Removing access uses the corresponding whitelist-off action in the player command.
The dedicated-server guide states that only individuals added to a whitelist can connect. It also describes whitelist membership as significantly more secure than relying on a shared password alone. If a friend cannot join, verify spelling, capitalization, the account they are actually using, and whether the server is in whitelist mode before changing firewall settings.
Which settings control access and group size?
AdvertiseServer
Set this to false for a private world. A hidden server will not be discoverable through the public server browser, reducing unsolicited connection attempts. This does not replace a whitelist: anyone who learns the address still needs to pass your access controls.
MaxClients and MaxClientsInQueue
MaxClients is the maximum number of connected players. The documented default is 16, but a group of six might set the cap to 8 or 10 so a forgotten invite cannot consume all resources. MaxClientsInQueue controls how many additional connection attempts can wait rather than being rejected; the documented default is 0.
Password
The verified default is null (no password). A password can add friction against casual access, but do not treat it as your main security mechanism. Keep the whitelist authoritative and share any password through a private channel.
Player roles
The default survival-player role can build, use blocks, manage groups, chat, fight, and claim land. A visitor role is restricted to visiting and chatting, making it appropriate for spectators or cautious first-time guests. Assign the least powerful role that fits the person’s purpose.
How do I disable PvP, fire spread, and falling blocks?
Set AllowPvP, AllowFireSpread, or AllowFallingBlocks to false when your group values protection over unrestricted simulation. All three are true in the 1.22.0-verified defaults.
- PvP: Disable it for a cooperative group unless consensual combat is part of the rules. This setting controls whether players can damage one another.
- Fire spread: Disabling it is useful for beginners and for build-focused servers. The configuration guidance warns that wildfires can cause extensive destruction and lag.
- Falling blocks: Turning it off can protect structures in testing or event worlds, but it also removes a survival hazard that some groups consider part of the game.
These are server-level switches. Change them in the server configuration or with their runtime command equivalents, then restart if you edited the file. Confirm the result in a safe test area before making a public rule announcement.
What is the best Vintage Story max chunk radius?
Start at MaxChunkRadius: 12, the documented default. It is the highest view distance a player may load, so raising it lets players see and interact with terrain farther away but increases memory use and the amount of world data the server must stream.
Reduce the value when several players spread out and the host begins swapping, stuttering, or taking a long time to deliver terrain. A lower radius is often a better first performance fix than changing tickrate because it limits work per player without changing simulation speed. Raise it only after testing with the largest expected number of simultaneous players and the most demanding travel pattern.
Should I change tickrate or spawn-cap scaling to fix server lag?
Usually not as a first step. Keep tickrate at its normal setting while establishing a baseline, then change one variable at a time and observe the result.
Tickrate
The command accepts values from 10 to 100. Higher tickrate is more responsive but demands more CPU; lower tickrate reduces responsiveness. The reference does not identify a universal best value, so avoid presenting a number as a guaranteed cure. If the server is overloaded, first check player spread, chunk radius, entity density, and hardware.
SpawnCapPlayerScaling
This value changes how the creature spawn cap scales as more players join. The documented default is 0.5. Keep it near that value until you can identify a specific mob-load problem; lowering it can reduce entity pressure but also makes the world feel less populated, while raising it can increase wildlife and hostile-creature load.
PassTimeWhenEmpty
Leave it false unless your group intentionally wants seasons, crop growth, and the calendar to advance while nobody is online. Enabling it can make players return to a changed world and may increase the consequences of unattended systems.
Which settings belong to world generation instead of the server file?
Starting climate, seasons, days per month, harsh winters, death punishment, cave-ins, player health, hunger, creature hostility, tool durability, temporal storms, land claiming, and world dimensions are world rules, not merely connection settings.
The configuration guide explicitly warns that editing the world-configuration subsection of serverconfig.json after a world has been created has no gameplay effect. Use the game’s world-configuration commands for post-creation changes. Because that guide is marked under construction, verify command names and available values against the version running on your server before applying a change.
How much RAM and CPU does a Vintage Story server need?
The official dedicated-server guide offers rough planning guidance for a normal, spread-out survival world: 1 GB of base RAM plus 300 MB per player, four CPU threads recommended, and a baseline of 1 GHz plus 100 MHz per player. These are conservative recommendations, not a dated benchmark or a performance guarantee.
| Players online | RAM from the rough formula | How to interpret it |
|---|---|---|
| 4 | About 2.2 GB | Base 1 GB plus 1.2 GB for players. |
| 8 | About 3.4 GB | Base 1 GB plus 2.4 GB for players. |
| 12 | About 4.6 GB | Base 1 GB plus 3.6 GB for players. |
| 16 | About 5.8 GB | Base 1 GB plus 4.8 GB for players. |
Real needs rise when players travel in different directions, load a large chunk radius, create many entities, or generate new terrain simultaneously. Leave operating-system headroom rather than allocating every available gigabyte to the server. Monitor memory pressure, CPU saturation, save times, and tick responsiveness during a busy session; those observations are more useful than treating the formula as a promise.
How do I open Vintage Story port 42420 for Internet play?
The documented server port is 42420. For friends outside your home network, forward that port from the router to the host machine and permit it through the host firewall.
- Give the server computer a stable local address, preferably a DHCP reservation.
- Create a router forwarding rule for TCP port 42420 to that address.
- From version 1.20 onward, repeat the setup for UDP port 42420 as documented by the dedicated-server guide.
- Allow the same traffic in the host firewall; the guide includes Linux firewall examples.
- Have a friend test from a different network, such as mobile data, rather than testing only from inside your LAN.
Do not expose administrative services or the server’s file shares to the Internet. If your ISP uses carrier-grade NAT, ordinary port forwarding may not work; in that case, a managed Vintage Story server or a private networking solution may be easier than changing the game settings.
Should I self-host or use managed Vintage Story server hosting?
Self-hosting gives you direct control over files, mods, configuration, and backups, but you are responsible for uptime, port forwarding, firewall rules, hardware, and recovery. Managed hosting can reduce network and maintenance work, but introduces a recurring fee and may impose limits on file access, mod support, locations, or backup policy.
| Consideration | Home-hosted dedicated server | Managed server |
|---|---|---|
| Uptime | Depends on your electricity, Internet connection, and maintenance. | Provider infrastructure usually handles continuous operation; exact guarantees vary. |
| Administration | You install updates, edit files, and troubleshoot. | Control panels can simplify routine tasks, but capabilities vary. |
| Mods and files | Full access to the installation and data path. | Check the service’s mod, upload, and export policies. |
| Networking | Requires TCP and, from version 1.20, UDP forwarding for port 42420. | Usually avoids home-router forwarding. |
| Backups | You design, schedule, and test them. | Backup frequency and retention must be verified with the provider. |
| Recurring cost | Uses existing hardware and bandwidth, with electricity and upgrade costs. | Requires a subscription; pricing is provider- and plan-specific. |
Choose self-hosting when one player is comfortable maintaining a small service and the group wants maximum control. Choose managed hosting when reliable availability and avoiding router administration matter more than direct infrastructure control.
What is a safe change-and-recovery workflow?
- Record the current file and game version.
- Back up the world and configuration before each batch of changes.
- Change one related group of settings, such as access controls, rather than rewriting the entire file.
- Run
/autosavenow, stop the server, and relaunch after file edits. - Test joining, permissions, PvP behavior, fire behavior, and terrain loading with a second account.
- If the server fails to start or behaves unexpectedly, stop it, restore the last known-good configuration, and relaunch. Apply changes individually to identify the offending key.
Keep a short change log containing the date, Vintage Story version, setting changed, and observed result. This is especially valuable when the configuration guide or command behavior changes between game versions.
Frequently Asked Questions
Can I add someone to a Vintage Story whitelist without restarting the server?
Yes. Individual whitelist additions take effect without a restart. File edits to serverconfig.json are different: they require saving, stopping, and relaunching the server.
Why can my friends connect locally but not from the Internet?
That usually indicates a routing or firewall problem rather than a gameplay setting. Check forwarding for port 42420, include UDP as required from version 1.20 onward, and test from a network outside your home LAN.
Does lowering MaxChunkRadius change the world’s generated terrain?
No. It limits how far players can load chunks at once; it does not regenerate the world or erase terrain. Players may see a shorter loaded horizon and lower memory pressure.
What happens if I edit world settings in serverconfig.json after starting the world?
The documented configuration guide says those edits have no gameplay effect after world creation. Use the appropriate world-configuration commands instead, and verify their names and values for your installed version.