Licence: MIT (except for the Nucleus logo, which is all rights reserved)
The GeoIP module from Nucleus now on its own.
Why Heisenberg? The Heisenberg Uncertainty Principle states that you cannot know both someone's position and momentum at the same time. We'll know their position!
Make sure that you accept the licence in the config file before using the plugin. This is to signify your agreement to the use of the Maxmind database.
/geoip <player>
- Get GeoIP information for a player. Requires the permissionheisenberg.lookup
/geoip reload
- Reload the config./geoip update
- Update the local GeoIP database. Requires the permissionheisenberg.update
There is also the heisenberg.login
permission if alert-on-login
is turned on for displaying a player's location on login.
To get a copy of the Heisenberg source, ensure you have Git installed, and run the following commands from a command prompt or terminal:
git clone [email protected]:NucleusPowered/Heisenberg.git
cd Heisenberg
cp scripts/pre-commit .git/hooks
To build Heisenberg, navigate to the source directory and run either:
./gradlew build
on UNIX and UNIX like systems (including macOS and Linux)gradlew build
on Windows systems
You will find the compiled JAR which will be named like Heisenberg-[version].jar
in output/
.
The compiled Heisenberg plugin includes the following libraries (with their licences in parentheses):
- MaxMind GeoIP2 API (Apache 2)
- MaxMind DB (Apache 2)
- Jackson (Apache 2)
See THIRDPARTY.md for more details.