Documentation
The plugin retrieves and displays player's country during joining or leaving a server. Compared to Locmod 1.0 (0), this script is more efficient because Locmod uses a .CSV static file which it doesn't update.
Installation
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)
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
24.04.2017 - Now the plugin uses
addAction()instead of
addhook()because the later one is deprecated
23.04.2017 - Initial release
Rules & Permissions
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, 513 Downloads