VGKAMI
Advertise Get listed

Game Guides

How to Fix Vintage Story Server Lag and Connection Problems

Published 13 min read

Fix Vintage Story problems by identifying the failing layer before changing settings. Low FPS or a frozen picture is a client problem; delayed block drops, stopped entities, and the disconnected icon usually indicate server tick pressure; a timeout or active refusal points to reachability, firewall, port-forwarding, public-IP, or carrier-NAT issues. Start by recording the exact message, versions, mods, host details, and whether the player is on the same network. Test a second computer over LAN, then measure the server with /debug logticks 100 and /stats before tuning. The reliable fixes are matching every game and mod version, permitting both TCP and UDP, forwarding the configured port, lowering loaded area or entity work when metrics identify overload, and moving to faster storage or managed hosting only when local limits are confirmed.

What kind of Vintage Story lag or connection failure are you seeing?

The symptom narrows the search. Do not lower graphics settings to cure a blocked port, and do not replace networking hardware when the server is missing its tick deadline.

What you observe Most likely layer First check
Low FPS, stuttering camera, or a frozen picture while menus remain responsive Client rendering or local resources Press Ctrl+F3 for the FPS graph and Ctrl+F10 for the frame profiler; check drivers, RAM, view distance, shaders, and background programs.
Disconnected icon, blocks reappearing, late block drops, or animals that stop moving for everyone Server tick performance or a server crash Run /debug logticks 100, inspect server-main.txt, and capture /stats during the incident.
“Connection timed out” or “host failed to respond” Unproven: overloaded server, dropped path, firewall, forwarding, wrong address, or carrier NAT Join from another computer on the same LAN, then test the public address from outside the network.
“Connection refused” or an immediate active refusal Usually a firewall rule or no process listening on the configured port Confirm the server is running and allow the server executable through the host firewall.
Handshake rejection, missing content, or a kick before world entry Version, mod, whitelist, password, or world-loading mismatch Compare complete version strings and use a temporary vanilla test.

How should I document the problem before changing anything?

Preserve evidence first. Repeated restarts, deleting a save, or changing several settings at once can erase the clue that identifies the fault.

  1. Write the exact on-screen message, including punctuation, and note the time it occurred.
  2. Record the full client and server version strings, not just the major and minor numbers.
  3. List every mod, its version, and whether it is client-only, server-only, or required on both sides.
  4. Note the host operating system, server edition, player count, and whether the affected player is local, on the same LAN, or remote.
  5. Save the server console output and relevant log files before restarting. Make a current world backup before any repair that could alter files.

This record separates a reproducible server workload from a single player’s graphics issue and prevents a network diagnosis from being based on an incomplete message.

How do I distinguish client lag from server lag?

Use the game’s built-in displays while the symptom is happening. A client can render slowly even when the server is healthy, while a healthy client can display a smooth frame rate during a server stall.

Client-side test

  • Press Ctrl+F3 and watch the FPS graph. Sustained low frame rate or frame-time spikes with responsive entities point to rendering or local resource limits.
  • Press Ctrl+F10 to open the frame profiler. Compare graphics settings, view distance, shaders, and overlays one change at a time.
  • The official debugging tools also support an .edi capture and client tick logging; use those when a graphics trace is needed.

Server-side test

  • If every player sees delayed interactions, a disconnected icon, frozen mobs, or late item drops, collect server measurements instead of changing client graphics.
  • On the server, enter /debug logticks 100. Reproduce the hitch, then disable logging and inspect server-main.txt. Logging is for a bounded capture; leaving it enabled indefinitely adds unnecessary disk work.

How do I prove whether the server is reachable?

Test from inside out. A second computer on the same home network is the cleanest way to test the game process without involving the public internet.

  1. From another LAN computer, join using the host’s local address and the configured game port. If this fails, concentrate on the server process, local firewall, port setting, or version and mod handshake.
  2. If LAN joining works, test from a genuinely external connection, such as a phone hotspot or a friend’s network. Do not treat a successful local test as proof that internet access is configured.
  3. For a public self-hosted server, verify the address currently advertised to players. A changed public IP can invalidate an address that worked previously.
  4. Check the router’s forwarding rule against the port in serverconfig.json, then confirm the host’s firewall allows the server executable.

The client message “failed to respond after a period of time” does not identify the cause. It can represent an overloaded server, a crash, a dropped route, a blocked firewall, a missing forward, or an unreachable public address.

What port, firewall, and router settings does Vintage Story need?

The documented default game port is 42420. Forward the actual value in serverconfig.json if it has been changed, and create separate permissions for TCP and UDP rather than assuming one rule covers both.

On the server computer

  • Allow VintagestoryServer.exe through the operating-system firewall on the network profile the host uses.
  • Create inbound rules for both TCP and UDP on the configured port. If outbound filtering is enabled, permit the corresponding server traffic there as well.
  • Confirm that only one server process is bound to the port and that the process is still running when an external test is made.

On the router

  • Assign the host a stable LAN address, then forward the game port separately for TCP and UDP to that address.
  • Check that the router’s WAN address is a public address. Carrier-grade NAT can place several customers behind one public address and prevent unsolicited inbound connections even when local forwarding is correct.
  • UPnP’s “Open to Internet” option may configure a rule automatically, but the official setup guidance estimates only about a 60% chance of working immediately. Use manual TCP and UDP forwarding when it does not.

An active refusal generally means an overprotective firewall or no listener; a silent timeout more often means a missing route, incorrect forwarding, changed public IP, carrier NAT, or a server that is too busy to answer.

Why does Vintage Story say “host not responding”?

Read the message as a symptom, not a diagnosis. The client cannot tell whether the server is spending too long in a tick, has crashed, or has become unreachable on the network.

If LAN works but internet joining fails

Check the public address, the router’s destination LAN address, both transport protocols, the host firewall, and carrier-NAT status. Recheck the rule after a router reboot because a host that receives its LAN address by DHCP may have changed addresses.

If LAN and internet joining both fail

Confirm that the server finished loading the selected world and is listening on the configured port. Then compare full game versions, required mods, whitelist entries, and password settings. A server that never completed world loading can appear to be a network failure.

If joining succeeds but players disconnect during play

Capture tick time and network counters while the disconnect occurs. A server that stops answering during a long tick can produce the same client wording as a broken route. Do not raise a timeout as the first fix: a longer timeout can turn a short disconnect into a longer freeze without making the tick faster.

How do I fix version, mod, whitelist, and world-loading mismatches?

The client and server must agree on the complete game build and on every required mod. A one-patch difference can reject the handshake even when the major and minor labels look identical.

  1. Read the full version string in the client and in the server startup log; update or deliberately pin both to the same build.
  2. Temporarily move to a vanilla or minimal-mod profile. If the connection becomes reliable, add mods back in small groups until the failing group is identified.
  3. Install required server-side or universal mods on the client at matching versions. Remove obsolete copies instead of stacking files with similar names.
  4. Check the server whitelist and password configuration for the affected account. A successful LAN test with one account does not prove another account is authorized.
  5. Wait for the configured world to finish loading before testing remote connections. Starting tests during world generation can look like a timeout.

Keep the original mod list and world backup while isolating. A minimal profile is a diagnostic control, not a permanent requirement for a modded community.

How do I measure server workload before tuning it?

Use measurements from the same period as the lag. Current server builds expose /stats and /stats compact; the tick logger provides a complementary time series.

Capture these values

Measurement What it can reveal
Version, uptime, players, and connection queue Whether the event began after an update, long run, player surge, or repeated join attempts.
Managed and total memory Whether memory is near a limit or climbing during a long session.
Average tick time over the last two seconds and the last ten tick durations Steady CPU pressure versus short spikes. Tick time is the server’s work duration, not a network speed reading.
Loaded chunks How much world area is active; a large count points toward view distance, player spread, or exploration.
Loaded entities How much simulation and spawning work is active.
TCP and UDP traffic counters Whether traffic changes coincide with the event, while remembering that counters alone do not prove a route failure.

Run /stats during normal play and again during a hitch, then compare the records. A steady high tick time with many chunks suggests loaded-area pressure; spikes that begin as players explore suggest world generation; high active-entity counts suggest simulation or spawning; memory that rises for hours suggests accumulating chunks or a mod retaining state.

Which server settings reduce tick lag?

Change one lever, reproduce the same activity, and measure again. The right setting depends on the metric that moved, not on a universal “best” value.

Lower the loaded area first when chunks dominate

In current builds, MaxChunkRadius is the first lever for a steadily overloaded server. Loaded area grows with the square of radius, so a modest radius reduction can remove a large amount of simultaneous work. The official performance guidance suggests trying 10 or below when necessary. Apply the change, restart if the installed release requires it, and compare loaded-chunk counts rather than judging by feel alone.

Trade maximum tick rate for CPU headroom

Raising TickTime to 40 or 50 can give a busy CPU more time per tick. This is a deliberate responsiveness trade-off: it may prevent overload at the cost of a lower maximum simulation rate. It cannot repair a blocked port, a mod exception, or insufficient storage.

Use entity controls as a diagnostic

Run /entity count when entity work appears high. Use simrange temporarily to see whether reducing the simulated area removes the spike, then investigate farms, mob concentrations, or a mod that creates entities. Settings such as spawncapplayerscaling, idle-player kicking, and an appropriate timeout are follow-up controls, not substitutes for identifying the source.

Account for autosave pauses

Autosaves can produce a predictable 1–2 second pause every few minutes. Faster CPUs and SSD storage can reduce the duration, but the save event is not proof of a network fault. Compare the timestamps of the pause with save activity before attempting router changes.

Improve the storage and memory baseline

  • Keep the savegame on an SSD; world generation and save operations are sensitive to storage latency.
  • Leave at least 4 GB of free system RAM before starting the server. More is appropriate for integrated graphics, high client settings, or many mods.
  • Watch memory over hours, not just immediately after startup. A gradual climb points toward accumulating chunks or a mod retaining state and should be investigated before simply allocating more memory.

How do I reduce lag on a modded Vintage Story server?

Mod isolation is faster than guessing. Preserve the save, create a test copy, and use the same player route or activity for each comparison.

  1. Record the baseline with the complete mod set: tick time, loaded chunks, entities, memory, and the activity that triggers the hitch.
  2. Disable half of the nonessential mods in the test copy and repeat the activity. If the symptom remains, test the other half; if it disappears, split the failing half again.
  3. Keep required server-side and universal mods matched on every client. A client-only visual mod may affect FPS without causing server ticks, while a simulation or world-generation mod can affect everyone.
  4. After identifying a suspect, check its release notes and compatibility with the exact game build. Do not update a live world without a backup and a rollback plan.

World-generation spikes often appear when a player moves into unexplored terrain. Test the same route with fewer concurrent players and a lower chunk radius to distinguish generation cost from an always-on mod problem.

How do I fix client-side resource and settings problems?

Client fixes apply when the FPS graph or frame profiler shows local rendering pressure, or when only one player experiences instability while others remain smooth.

  • Close other games, browsers, chat clients, recording software, and overlay tools during a controlled test.
  • Update graphics drivers and verify that the game is using the intended GPU. Integrated graphics may need more free RAM than the minimum.
  • Lower view distance and shader quality temporarily, then restore settings individually to find the expensive option.
  • Check available RAM and mod compatibility. Outdated drivers, incompatible mods, and background applications can cause crashes as well as low FPS.

If login or server-list behavior appears corrupted, exit the game and remove %appdata%VintagestoryDataclientsettings.json. Record keybinds and saved server entries first: deleting this file resets those settings. It does not open a firewall port or correct a mismatched server build.

Should I self-host or move to managed hosting?

Self-hosting is the better fit when you need direct control and can maintain networking and backups. Managed hosting is useful when home-router reachability, hardware limits, or maintenance time is the recurring bottleneck.

Option Advantages Responsibilities or trade-offs
Self-hosted at home Full access to files, mods, configuration, logs, and hardware; no provider-specific player limit. You maintain port forwarding, firewall rules, public-IP changes, updates, backups, power, CPU, RAM, and storage. Carrier NAT may prevent inbound access.
Managed server Removes most home-router and hardware maintenance and usually provides a persistent internet endpoint. Compare location, mod support, backup retention, version pinning, log access, recovery procedures, and player limits. You trade some control for operational simplicity.

Before moving a world, verify that the host supports the exact game build and mods, can restore your save, exposes the logs needed for diagnosis, and states where backups are stored. A new server does not cure a broken mod or an incompatible client automatically.

What is the fastest recovery checklist?

Use this order when players are waiting. Stop when the evidence identifies the layer; changing later steps can obscure the result.

  1. Capture the exact error, full versions, mod list, player location, and current logs.
  2. Classify the symptom with Ctrl+F3, Ctrl+F10, and the in-game behavior of blocks and entities.
  3. Join from a second computer on the LAN.
  4. For LAN failure, confirm world loading, process status, whitelist/password, versions, mods, and host firewall.
  5. For LAN success but WAN failure, verify the public IP, configured port, separate TCP and UDP forwarding, firewall permissions, stable LAN address, and carrier-NAT status.
  6. For in-game stalls, capture /stats and /debug logticks 100; compare tick time, chunks, entities, memory, and traffic during the event.
  7. Apply one measured change: chunk radius, tick-time target, entity controls, mod isolation, SSD placement, or available RAM.
  8. Retest the same scenario, save the result, and keep a backup before any world or mod change.

Frequently Asked Questions

Can I host a Vintage Story server if my ISP uses carrier-grade NAT?

Traditional port forwarding may not work because the router does not receive a unique public address. Ask the ISP for a public IPv4 address, use an approved private networking or tunnel solution, or choose a host with an externally reachable endpoint; test from a separate network after any change.

Why does the server list show my server but joining still fails?

A listing can be stale or can reflect discovery rather than a successful game handshake. Verify that the advertised address and port match the running process, then test with a direct address from outside the LAN and compare the client’s full build with the server log.

Will adding more RAM stop every kind of server lag?

Extra memory helps only when measurements show memory pressure or a workload that cannot keep enough data resident. It will not fix a saturated CPU tick, excessive loaded chunks, a faulty mod, a blocked route, or a save pause caused by storage latency.

How can I test a suspected mod without risking my main world?

Copy the world and configuration to a separate test instance, keep the original mod files archived, and reproduce the same route or activity with a reduced set. Restore the original instance if the test copy becomes inconsistent; never use a troubleshooting copy as the only backup.