GeoLoc 1.0

Shows a player's location on server join

  1. pauhull
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:

    GeoLoc is a plugin, which shows your location based on your IP-address once you join the server. All messages are fully configurable and can contain everything from cities to continents. The plugin uses the GeoIP2 API with the GeoLite2 City database by MaxMind. You can choose wether the messages appear every time a player joins or only on first join. The default message looks like this:
    Note: The location may be manipulated by a VPN.

    The configuration can be found in plugins/GeoLoc/config.yml.

    Code (YAML):
    # GeoLoc Config

    : True
    # Change to False if the message should be shown every time a player joins

    : "&cLocation of user %USER% couldn't be resolved."
    # %USER%          - Username
    # %DISPLAY%       - Displayname

    : "&f%USER% is from %REGION%, %COUNTRY%, %CONTINENT%"
    # %USER%          - Username
    # %DISPLAY%       - Displayname
    # %CITY%          - City
    # %REGION%        - Region
    # %REGIONCODE%    - Region Code
    # %COUNTRY%       - Country
    # %COUNTRYCODE%   - Country Code
    # %CONTINENT%     - Continent
    # %CONTINENTCODE% - Continent code
    # %IP%            - IP Address
    # You can add color codes with '&'.
    If you find bugs you may contribute to the GitHub project or message me. Have fun with the plugin!