Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Localise Player V2.0.0  (Read 2628 times)

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Localise Player V2.0.0
« on: July 26, 2012, 06:11:45 PM »
This plugin show when player is connecting his Country, Region and City.

You can test localisation of a player whith :
- !localise (alias !loc)


For B3:
 * copy 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"/>

For Python:
Add pygeoip folder in python/lib/
Add file in python/lib/

For working:
You must have 2 files in the same folder (set it in localiseplayer.xml):
- Regions.txt
- GeoLiteCity.dat (Download here: and unzip)

Extra features

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 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...;down=209
« Last Edit: August 02, 2012, 11:17:27 AM by Beber888 »
Python, Php, UrT SourceCode

Offline kungfeu

  • Jr. Member
  • **
  • Posts: 22
Re: Localise Player V2.0.0
« Reply #1 on: May 27, 2016, 02:49:24 AM »
link downolde plz


Rate this page +1 at Google Search