NOTE
- It requires
DocumentationThe plugin retrieves and displays player's country during joining or leaving a server. Compared to
InstallationFor Linux machines, you must install
geoip-binpackage if you do not have it already. Open the Terminal and paste the following command:
sudo apt-get install geoip-bin// For Debian based systems
sudo yum install geoip// For Red Hat based systems (mostly Fedora)
IF YOU'RE USING Y.A.T.E.S.: Extract the Country_Location folder to sys/lua/_yates/pluginsdirectory path and you're ready to go.
IF YOU'RE NOT USING Y.A.T.E.S.: Extract the CountryLocation.lua file to sys/luapath. Afterwards open server.lua with a text editor and add the following line:
1
dofile("sys/lua/CountryLocation.lua")
Changelog

addAction()instead of
addhook()because the later one is deprecated

Rules & PermissionsYou can do anything as you wish with this file. You can also upload it to other sources as long as you have my permission.
edited 3×, last 24.04.17 05:19:49 pm
Approved by Sparty
Download
2 kb, 701 Downloads
Player's Country Info (Y.A.T.E.S.)
4 like it!
Offline
1 