WeatherByLocation
0.3.0Set your minecraft server's weather based on the actual weather at a chosen location.
WeatherByLocation Plugin
A Spigot/Paper plugin that sets the weather on your Minecraft server based on the actual weather at a chosen location.
Setup
- Download the latest version of WeatherByLocation-X.Y.Z.jar and copy it to the plugins folder of your Minecraft server directory.
- Restart the server. This will generate a WeatherByLocation directory in your plugins folder with a default configuration file.
By default, the WeatherByLocation plugin will attempt to geolocate your server using its public IP address. If this is the desired behavior, no additional setup is required.
You should see something like this in the server logs:
my-server | [18:08:29 INFO]: [WeatherByLocation] Identified this server's public facing IP address as XXX.XXX.XXX.XXX.
my-server | [18:08:29 INFO]: [WeatherByLocation] Server location identified as City, Region, Country at coordinates (XX.XXX, YY.YYY)
my-server | [18:08:34 INFO]: [WeatherByLocation] Current weather for (XX.XXX, YY.YYY) is Clear. Weather data by Open-Metro.com
my-server | [18:08:34 INFO]: [WeatherByLocation] Weather was set to Clear.
- [Optional] If desired, use the /set-weather-location command to set a custom latitude and longitude for the server to use to pull weather data.
Commands
- set-weather-location: set the location to be used to pull weather data from, by latitude and longitude.
- Example usage: /set-weather-location 30.266 -97.733
- get-weather-location: get the location currently in use to pull weather data, in latitude and longitude.
- Example usage: /get-weather-data
External Services:
WeatherByLocation uses the following external services:
- Open Metro Weather API: An open source Weather API.**
- Ipify API: An open source API to determine the server's IP address.***
- IP API: An IP address geolocation API.***
** Pulls weather data. Always in use.
*** Used to geolocate the server. Only used if no location is explicitly specified in the config file.
Supported Versions
- Java 11 or greater.
- Spigot/Paper 1.13 or greater.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta