Closed Fernando-A-Rocha closed 1 year ago
Let me know if you want anything changed, I'm all ears.
We're awaiting feedback from this convo on development discord: Either option has to be implemented, requesting input from @jlillis (AGENT_STEELMEAT)
After further discussion, option 2 (placeholder function in admin) has been implemented (see bd1e9c578d449edc645e84a103416e24cfdb4a4b).
Ready for review.
List of changes
Description
ip2c is an optional resource that, when running, will fetch player countries via IP using a list provided by MTA HQ. It can also convert country code to country name using the ISO 3166 standard. admin & admin2 are responsible for starting/stopping ip2c based on resource setting "*useip2c". scoreboard detects when ip2c is started/stopped.
Note
MTA HQ IpToCountryCompact.csv (Direct download link) - used in ip2c/server.lua.
Thank you