TShock icon indicating copy to clipboard operation
TShock copied to clipboard

Allow IP ranges in whitelist

Open leahanderson1 opened this issue 8 months ago • 5 comments

Is your feature request related to a problem? Please describe. Me and my girlfriend are trying to run a private Terraria server. Her ISP often changes her public IP.

Describe the solution you'd like Our best solution would be to use IP ranges to fix it entirely.

Describe alternatives you've considered There's not a whole lot of other ways to go about this, really. We could just allowlist every single IP in the IP range, but I don't think I have the patience for that, to be honest.

leahanderson1 avatar Apr 23 '25 00:04 leahanderson1

Both domain name and IP are supported so you could also try DDNS. There are also some plugins that provide better whitelist/ban e.g. by player name or wildcard on IP.

sgkoishi avatar Apr 23 '25 14:04 sgkoishi

Could you give me links to said plugins?

leahanderson1 avatar Apr 23 '25 15:04 leahanderson1

sgkoishi avatar Apr 27 '25 20:04 sgkoishi

Got an implementation in the works for IP ranges, will push a PR once we hit .NET 8+ support on TShock codebase.

SakuraIsayeki avatar May 05 '25 17:05 SakuraIsayeki

oh good!

leahanderson1 avatar May 05 '25 18:05 leahanderson1