NEW 📢 Save up to 30% on your first month, limited time offer!

Preferences

  • English
  • Français
  • Español
  • Deutsch
  • Italiano
  • Português
  • Русский
  • Polski
  • Nederlands
  • Türkçe
  • USD
  • EUR
  • GBP
  • CAD

Fixing Terraria Server Lag: Spawn Rates, World Size, and Plugin Hygiene

Posted on Oct 9, 2025 Evan by Evan

Fixing Terraria server lag requires fine-tuning spawn rates, choosing an optimal world size, and maintaining plugin hygiene. This guide provides actionable settings, tables via your Hugo protable shortcode, and hands-on recommendations to keep your server running smoothly.

Sizing Summary

  • Spawn Rates & Caps: Surface 0.5, Underground 0.3, Dungeon 0.2 with respective entity caps.
  • World Size: Use Medium for 5-10 players; Large and Journey worlds demand robust hardware.
  • Plugins: Audit high-impact plugins (WorldEdit, MagicStorage) and configure spawn/event throttling.

Spawn Rate Settings

Recommended Terraria Spawn Settings
Area typeMax entitiesNotesSpawn rate
Surface (Daytime)200Reduce daytime surface spawns to limit NPC overlap0.5
Underground150Cap underground spawn to prevent sidebar lag0.3
Dungeon/Corruption100Tighten spawns in high-load biomes0.2

World Size Guidance

Terraria World Size Performance Guide
Max kbpsNotesRecommended playersSize
2Small world for intimate gameplay1-4Small
5Balanced world size and performance5-10Medium
10High exploration but more lag risk10-20Large
15Only for powerful hardware clusters20+Journey

Plugin Hygiene

Terraria Plugin Hygiene Checklist
ImpactPluginRecommendation
HighWorldEditUse sparingly and schedule inactive hours
MediumTShockNPCThrottle spawn events via config
LowKeepInventorySafe for always-on use
MediumEssentialsRESTMonitor API call rates
HighMagicStorageLimit crafting frequency to reduce IO

Tuning Spawn Rates and Caps

  • Adjust server side spawn rates in config.json under SpawnRateMultiplier.
  • Cap entities via MaxNPCs and MaxBalloons to prevent client desync.
  • For event-heavy biomes (e.g., Pumpkin Moon), temporarily lower spawn multiplier.

Selecting World Size

  • Small: Ideal for 1-4 players; low memory and CPU usage.
  • Medium: Balanced for 5-10 players; good for public lobbies.
  • Large/Journey: High exploration; only on VPS with >=8 GB RAM and SSD.

Plugin Maintenance

  • Schedule weekly plugin audits: remove unused plugins, update outdated versions.
  • For high-impact plugins, use cooldowns and event throttles in their config files.
  • Monitor server logs for NPC spawns, WorldSave events, and plugin errors to catch memory leaks early.

Additional Tips

  • Regular Restarts: Automate restarts every 24–48 hours during off-peak.
  • Backups: Offload backups to external storage to reduce I/O load.
  • Profiling: Use TShock’s /profile command to detect lag hotspots.
  • Network: Ensure upload bandwidth ≥1Mbps per 5 players; use nether plugin for compression.

Save this file as content/posts/terraria-server-lag.md and drop it into your Hugo project. The protable shortcodes will render your tables automatically.

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS

o