LocationAnnounce
Have you wanted your users to easily find people who live near eachother? Maybe for users to easily tell if their friend is really their friend without compromising player's IP addresses? Then this is for you!
This plugin will broadcast some basic data about a player's location (you can configure in the config), which all players can see when a player logs in, 20-30 seconds after it says they join the game. The default config value is "&6{name} comes from {city}, {country}". This could broadcast: "Plo457 comes from SomewhereOn,Earth".
Config file
message.TEXT_OF_MESSAGE:
The text content of the message. Default value is &6{name} comes from {city}, {country}.
Formatting: can contain &[symbol] to colorise a message, and can contain some of these parameters, you can use one, two, or all of the following, and you can use them more than once:
{name} - The user's username
{ip} - The IP address
{city} - The city this player comes from.
{state} - The state or region the player comes from.
{country} - The country of the origion of the player.
{time} - The local time of the player. An example is "Tuesday 1:17pm". You currently cannot change the date format
{weather} - A 1 word summary of the player's weather. Examples, "Sunny", "Clear", "Haze".
message.OVERRIDE_JOIN_MESSAGE:
hides the join message of the player, so this will basically be broadcasted when they join, though note there is probably a delay from the time they officially log in, and when this is broadcasted. Default value: false
Important stuff you should know
This plugin connects to the following websites:
- api.openweathermap.org
- api.ipinfodb.com
These are simply to obtain data about a player's location, weather, and the rest.
Planned features
-Optimise the cache of player's IP's and Geolocation data.
-Allow editing of the format of the date when using {time}.
-
View User Profile
-
Send Message
Posted Sep 20, 2015please add GeoIP data base offline lookup too