Garry's Mod

Garry's Mod

42 ratings
GeoIP Connection Messages v2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
14.341 KB
Aug 9, 2018 @ 7:35pm
Oct 6, 2021 @ 11:18am
10 Change Notes ( view )

Subscribe to download
GeoIP Connection Messages v2

Description
Simple Advanced GeoIP based connect, spawn, & disconnect messages.
This is version two of this addon

Compatible with all gamemodes!

Description
When a player connects to the server everyone will be notified of their country, upon spawning into the server everyone will be shown how long it took them to join, and upon leaving the server everyone will be notified of how long the player was online.

ConVars
geoip_api "api" - Changes the API (Run the command with no arguments to get the API list)

Screenshots




Credits
API Providers
http://ipstack.com
http://ip-api.com
http://geoip.nekudo.com
https://geoip.tools
https://ip.sb/
http://www.geoplugin.net
https://extreme-ip-lookup.com
https://ipapi.co
http://petabyet.com
https://ipinfo.io/
https://ipinfodb.com/

Github https://github.com/0xym0ron/GeoIP-Connection-Messages

Popular Discussions View All (1)
0
Jun 3, 2020 @ 10:43am
ERROR connect
mtsgaming
39 Comments
墨染月𝑴𝑹𝒀 Aug 4, 2022 @ 11:55pm 
if a player is loading, then the player disconnects server. it can't send the Chat Text to players in server, and server-side throw a Lua Error:
[geoip] addons/geoip/lua/geoip/hooks.lua:131: attempt to index local 'ply' (a boolean value)
1. fn - addons/geoip/lua/geoip/hooks.lua:131
2. unknown - lua/ulib/shared/hook.lua:109
Can you fix it?
Savvy Kat Oct 6, 2021 @ 1:53pm 
Worked in a local server so I assume it's good. I'll try on my actual server in a bit
0xymoron  [author] Oct 6, 2021 @ 12:01pm 
Haven't tested it btw so let me know if it's all good now.
Savvy Kat Oct 6, 2021 @ 11:59am 
I'm happy you took the time to fix it. Thank you!
0xymoron² Oct 6, 2021 @ 11:18am 
Sorry for the delay boys. Just pushed an update fixing that issue.
Joheskiller |CSCλᴅᴇᴠ| May 30, 2021 @ 1:00pm 
Agree with Savvy Kat, I also can confirm that it break "Murder" and "Guess Who". I unfortunately had to remove it too for that reason.
Savvy Kat May 22, 2021 @ 5:48pm 
The hook PlayerConnect doesn't seem call when loading another map. This causes some values to be nil. This also breaks TTT, and possibly other gamemodes that change maps often, when loading another map for whatever reason. Maybe add some checks under PlayerInitialSpawn for nil values?
ZEROPOINTBRUH May 4, 2021 @ 9:29am 
thanks
ZEROPOINTBRUH Apr 28, 2021 @ 9:09am 
Ah i see.