




The plugin retrieves and displays player's country during joining or leaving a server. Compared to



For 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)

sys/lua/_yates/pluginsdirectory path and you're ready to go.

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


You 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 07:19:49 pm
Approved by Sparty
Download
2 kb, 557 Downloads