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
Pinpointdirectory in your KAGModsdirectory - Move the contents of the
moddirectory into thePinpointdirectory - Add
Pinpointto a new line ofmods.cfg - Ensure
sv_tcpr = 1is set in the serverautoconfig.cfg
- Navigate to the
backenddirectory - Install dependencies using
npm install - Copy and rename
example.config.jsontoconfig.json, then configure it - Compile the program using
npm run-script build - Run the program using
npm run-script start