Open Dragonisser opened 1 year ago
Maybe the 8mb GeoIP2 IP to Country Lite database can be shipped and used to map IPs to countries, it is Creative Commons Attribution 4.0 International License.
Two formats are available, CSV or mmdb (MaxMind DB), that can be read with maxmind/libmaxminddb.
Maybe the 8mb GeoIP2 IP to Country Lite database can be shipped and used to map IPs to countries, it is Creative Commons Attribution 4.0 International License.
Two formats are available, CSV or mmdb (MaxMind DB), that can be read with maxmind/libmaxminddb.
Ive already looked into it something similar like that but i got stuck and didnt continue further as of now.
https://www.npmjs.com/package/geolib https://www.npmjs.com/package/geoip-lite
Instead of getting the location on the clientside (in Angular), its better to get the location while the server starts and sending it to the masterlist.
https://github.com/tiltedphoques/TiltedEvolution/pull/226
https://github.com/tiltedphoques/TiltedEvolution/blob/feat/hud-ui/Code/skyrim_ui/src/app/components/server-list/server-list.component.ts#L80=