SS1984 - Modules - TypesDefine Details

code/modules/client/geoip.dm

GEOIP_QUERY_LIMITMax queries to ip-api.com per window, see [GLOB.geoip_next_counter_reset]. The free ip-api tier is 45 rpm.
GEOIP_QUERY_WINDOWLength of the query counter window (90 seconds).
GEOIP_API_FIELDSSet of fields requested from ip-api.com. Named fields are more robust than a bitmask.
/datum/geoip_dataCached GeoIP lookup result for a single /client.
/proc/DB_ban_record_SyndiCatInserts a ban row into the SQL ban table on behalf of the synthetic admin SyndiCat.
/proc/proxy_whitelist_checkChecks whether the given ckey is present in the vpn_whitelist table of the utility DB.

Define Details

GEOIP_API_FIELDS

Set of fields requested from ip-api.com. Named fields are more robust than a bitmask.

GEOIP_QUERY_LIMIT

Max queries to ip-api.com per window, see [GLOB.geoip_next_counter_reset]. The free ip-api tier is 45 rpm.

GEOIP_QUERY_WINDOW

Length of the query counter window (90 seconds).