Page 1 of 1

Player Location 0.7b

Posted: Mon Nov 22, 2021 7:51 am
by greenie
This plugin will let u know where ppl come from.
And auto kick player with in one of two modes.

Command:
amx_showloc <@CT, @T , @ALL or nick>(Or leave blank for showing all players)

It will reply like this:
(Team display mode)
Location info of players:
=================================
ID | Name | Ping | Loss | IP | Location | Code
1 | 008DEADinHK | 20 | 0 | 221.127.239.177 | Hong Kong | HK
2 | player A | 25 | 0 | 221.126.141.165 | Hong Kong | HK
3 | player B | 33 | 0 | 218.254.195.87 | Hong Kong | HK
4 | player C | 107 | 3 | 221.215.105.66 | China | CN
5 | player D | 99 | 1 | 61.231.107.107 | Taiwan | TW
=================================
Total player listed: 5 players
========================
(Single player)
Here is some info of : Sprite | 008DEADinHK
=================================
ID: 1
Ping: 20
Loss: 0
IP: 221.127.239.177
Location: Hong Kong
Code: HK
=========================
CVars:
amx_loc_kick_mode 0 - Auto kick mode (0 = off, 1 = kick players whose country code is amx_loc_kick_code, 2 = kick players whose country code is **NOT** amx_loc_kick_code)

amx_loc_kick_code "" - GeoIP *TWO* dgit code (list of codes are listed in a text file included in the package)

amx_loc_access 2 - Who can access amx_showloc (0 = No one, 1 = All players, 2 = Admin only)

====================================
GeoIP module **REQUIRED**

How to enable GeoIP module?
Open modules.ini, remove the semicolons before:
;geoip_amxx_i386.so
;geoip_amxx.dll
;geoip_amxx_amd64.so
like this:
geoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so
get plugin
get source