leighmacdonald / gbans

gbans is a centralized game community platform with support for global bans. It currently supports Team Fortress 2
MIT License
42 stars 13 forks source link

Simplifying Server Creation #532

Open rjdXpxigYxNT opened 2 months ago

rjdXpxigYxNT commented 2 months ago

These fields can be removed from the server creator/editor

Maybe an alternative for users with low ram servers without wanting to setup a vpn to update ip2geo is having them download a GeoLite2 mmdb file like SourceMod or SourceBans, or something like this script

leighmacdonald commented 2 months ago

Are you running out of ram when trying to import the databases? Its not done in a memory efficient manner currently, but would be a simple change. Currently its loading the entire thing in memory before progressing.

rjdXpxigYxNT commented 2 months ago

The current docs said it would be using around 10GB and at the time I only gave my VM 4GB. So I did it through a VPN and task manager was showing it was using 5GB to import.