Sueta

GeoIP

1.0

A plugin that allows you to find out where the player lives.

·Plugin

GeoIP is a small ( 242 kb) plugin for moderators, which is designed to find out the data about the residence of the player, as well as data about his current time.
It allows you to find out the continent, country, region and city, as well as the time zone, time offset, and the current time of the player.
Also, the plugin can detect if the player is using a proxy.

Commands

  1. /geoip (player's nickname) - Get information using the nickname of the player (the player must be online)
  2. /geoip (ip address) -ip - Get information using the IP of the player
  • Aliases: /geo, /ip
  1. /geoipinfo - Brief information about the plugin

Permissions

  1. geoip.usage (for first two commands) is available by default to OPs
  2. geoip.knowledge (for third command) is available by default to all

Used сomponents

  1. GSON (The Google library for JSON parsing)
  2. https://ip-api.com/ (API for obtaining all IP address location data)

Similar projects

Plugin →