Small game, real floods
Terraria servers (default TCP/UDP 7777) look lightweight until a boss-event stream or a bored troll proves otherwise. TShock servers add a REST API on top — a second, often forgotten, attack surface with auth tokens and rate limits of its own.
A controlled stress run on your own Terraria box measures the connection ceiling where joins fail and where connected players start rubber-banding — before your community event does the measuring.
What to measure
Track join success under connection churn, in-game latency for connected players, TShock REST responsiveness if enabled, and host mitigation engagement. The REST port deserves a separate probe: exposed API surfaces get hammered independently of the game port.
Test plan
Target your dedicated IPv4 on the game port, probe 30–60s low intensity, step until joins degrade, then probe the TShock REST port separately if it is exposed to the internet. Document both ceilings.
- Targets: game port 7777, TShock REST port (7878 default) separately.
- Watch: join failures, player latency, REST response codes, provider console.
- Hardening: REST API bound to localhost or IP-restricted unless needed.
- Scope: your own server only.
After the run
Follow-ups: rate-limited joins at the edge, REST API restricted or tunneled, conntrack sizing on the host, and a recorded ceiling — a tiny game still deserves a measured number.
Sources & further reading
Frequently asked questions
- Is it legal to stress test a Terraria server?
Yes — on a server you own or administer with permission, stress testing is a normal engineering practice. Testing someone else's server or a public match without consent is unauthorized use of a stresser and is illegal in most jurisdictions.
- Will stress testing get my Terraria server banned?
Testing your own dedicated server from the panel will not get you banned. Generating flood traffic against official matchmaking, ranked queues or third-party hosts can violate the game's ToS and anti-abuse systems — keep tests on infrastructure you control.
- How long should a Terraria stress test run?
Start with a 30–60 second probe, then step intensity in short stages. Most answers arrive within the first traffic cliff; longer runs are for stability (soak) verification after fixes.