A King Arthur's Gold mod that displays player country flags on the scoreboard. This is accomplished by sending the player's IP address to a backend program which retrieves the player's country and sends it back to KAG to display. The backend program does not keep maintain a record or player IP addresses and is solely used to retrieve the player's country.
- Create a
Pinpoint
directory in your KAGMods
directory - Move the contents of the
mod
directory into thePinpoint
directory - Add
Pinpoint
to a new line ofmods.cfg
- Ensure
sv_tcpr = 1
is set in the serverautoconfig.cfg
- Navigate to the
backend
directory - Install dependencies using
npm install
- Copy and rename
example.config.json
toconfig.json
, then configure it - Compile the program using
npm run-script build
- Run the program using
npm run-script start