This plugin show when player is connecting his Country, Region and City.
You can test localisation of a player whith :
- !localise (alias !loc)
* copy localiseplayer.py into b3/extplugins
* copy localiseplayer.xml into b3/extplugins/conf
* update your main b3 config file with :
<plugin name="localiseplayer" config="@b3/extplugins/conf/localiseplayer.xml"/>
Add pygeoip folder in python/lib/
Add six.py file in python/lib/
You must have 2 files in the same folder (set it in localiseplayer.xml):
- GeoLiteCity.dat (Download here: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Depending of you country, you may have specific area zone/name.
For exemple in france we have Departement.
I've made a parser that added with localiseplayer plungin provide also the departement name.
To run it put fr.py and fr.txt in b3/lib directory.
And configure xml with "fr" in extra_file area.
This will add departement name.
You can create your own depending what you need.
...Rename and edit fr files like you want. The code is commented...http://forum.bigbrotherbot.net/downloads/?sa=view;down=209