A CounterStrikeSharp plugin that shows player connection info (country, city) using MaxMind GeoIP.
- Displays a player's country and city on connect and disconnect
- Handles LAN/local connections gracefully with a separate message
- Shows a personal welcome message to the connecting player
- All messages are fully configurable via config
- MaxMind GeoLite2-City database (
GeoLite2-City.mmdb) placed in the plugin directory
- Drop the plugin folder into your CounterStrikeSharp
pluginsdirectory - Download the GeoLite2-City database and place
GeoLite2-City.mmdbin the plugin folder
The config is auto-generated on first run. Available fields:
| Field | Description | Placeholders |
|---|---|---|
connect_message |
Shown to all when a player joins | {player}, {country}, {city} |
connect_message_local |
Shown when GeoIP returns a local/LAN address | {player} |
connect_message_fallback |
Shown when GeoIP lookup fails | {player} |
disconnect_message |
Shown to all when a player leaves | {player} |
welcome_message |
Shown only to the connecting player | {player} |
If you find a bug, have a feature request, or something isn't working as expected, feel free to open an issue. I'll take a look when I can.
Custom plugins are available on request, potentially for a small fee depending on scope. Reach out via an issue or at [email protected].
Note: These repos may not always be super active since most of my work happens in private repositories. But issues and requests are still welcome.
If you want to support my work: ko-fi.com/shaedy