leighmacdonald/gbans

Simplifying Server Creation

rjdXpxigYxNT opened this issue · 2 comments

These fields can be removed from the server creator/editor

  • Server longname/hostname, fetched with rcon
  • Rcon pass, auth key, log secret can be randomly generated
  • Country code and region can be fetched with ip2geo
  • Lat/long already fetched with ip2geo

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

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.

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.