Garry's Mod

Garry's Mod

44 次評價
GeoIP Connection Messages v2
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
檔案大小
發佈於
更新時間
14.341 KB
2018 年 8 月 9 日 下午 7:35
2021 年 10 月 6 日 上午 11:18
10 項更新註記 (檢視)

訂閱以下載
GeoIP Connection Messages v2

描述
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

熱門討論 檢視全部(1)
0
2020 年 6 月 3 日 上午 10:43
ERROR connect
dok441
39 則留言
墨染月𝑴𝑹𝒀 2022 年 8 月 4 日 下午 11:55 
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 2021 年 10 月 6 日 下午 1:53 
Worked in a local server so I assume it's good. I'll try on my actual server in a bit
0xymoron  [作者] 2021 年 10 月 6 日 下午 12:01 
Haven't tested it btw so let me know if it's all good now.
Savvy Kat 2021 年 10 月 6 日 上午 11:59 
I'm happy you took the time to fix it. Thank you!
0xymoron² 2021 年 10 月 6 日 上午 11:18 
Sorry for the delay boys. Just pushed an update fixing that issue.
Joheskiller |CSCλᴅᴇᴠ| 2021 年 5 月 30 日 下午 1:00 
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 2021 年 5 月 22 日 下午 5:48 
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 2021 年 5 月 4 日 上午 9:29 
thanks
0xymoron  [作者] 2021 年 5 月 3 日 下午 10:57 
ZEROPOINTBRUH 2021 年 4 月 28 日 上午 9:09 
Ah i see.