ConnectAnnounce v1.0.6
Drop-in update. The new keys are optional and existing configs are unaffected.
New
- A location for players on a local network. A private address —
192.168.x,10.x,172.16–31.x, loopback and their IPv6 equivalents — is in no GeoIP database, so those players were always announced as connected from a Local Area Network | an IP Address. If everyone reaching your server over the local network is in fact in one place, you can now say where:
{
"LanCountry": "Russia",
"LanRegion": "Moscow Oblast",
"LanCity": "Moscow",
"LanCountryCode": "RU"
}{PLAYERCOUNTRYSHORT3} is derived from LanCountryCode, so "RU" gives both RU and RUS. Each key is optional and keeps its original wording when left empty. This applies to every player on a private address, not to one person — a private address says nothing about who is behind it.
Fixed
- Country names no longer get a second article. A country whose name already begins with one — including the stand-in wordings used for local and unresolved addresses — is left alone instead of being rendered as the a Local Area Network.
Install
Copy the ConnectAnnounce folder from the zip into:
csgo/addons/counterstrikesharp/plugins/
ConnectAnnounce.deps.json and the bundled dependency DLLs must stay next to ConnectAnnounce.dll.
Requires CounterStrikeSharp 1.0.371 or newer. The config file is never rewritten, so the new keys will not appear in an existing ConnectAnnounceConfig.json — delete it to regenerate, or add the keys by hand.