1.0-SNAPSHOT
Compatibility
Changes
RealWeather is a powerful Paper plugin that synchronizes your Minecraft server's weather with real-world weather using the OpenWeather API. Experience realistic weather conditions based on any city in the world!
⨠Features
- š Real-Time Weather Sync - Get weather from any city worldwide via OpenWeather API
- āļø Automatic Updates - Weather syncs automatically at configurable intervals (15-30 minutes recommended)
- š® Manual Control - Force update weather anytime with commands
- šŗļø Per-World Configuration - Choose which worlds should have synced weather
- āļø Thunder Control - Toggle thunderstorms on/off even during rain
- ā±ļø Duration Multiplier - Extend or shorten weather duration (0.5x to 3x)
- š Debug Mode - Detailed logging for troubleshooting
- š LuckPerms Compatible - Full permission system support
- šØ Modern UI - Beautiful colored messages using MiniMessage API
- š Lightweight - Minimal performance impact, async API calls
š Requirements
- Server: Paper 1.21 or higher (Spigot not supported)
- Java: 21 or higher
- API Key: Free OpenWeather API key (Get one here)
š„ Installation
- Download the latest
RealWeather-X.X.X.jarfrom Releases - Place the JAR file in your server's
plugins/folder - Restart your server
- Get a free API key from OpenWeather
- Edit
plugins/RealWeather/config.ymland insert your API key - Run
/rw reloadto apply changes - Use
/rw updateto test the weather sync
āļø Configuration
After first launch, edit plugins/RealWeather/config.yml:
# OpenWeather API settings
api:
key: "YOUR_API_KEY_HERE" # Get from https://openweathermap.org/api
city: "Moscow" # City name (supports multi-word cities)
# Worlds where weather synchronization applies
worlds:
- "world"
- "survival"
# Synchronization settings
sync:
enabled: true # Enable automatic weather updates
interval: 15 # Update interval in minutes (15-30 recommended)
# Weather settings
weather:
enable-thunder: true # Enable thunderstorms during storms
time-multiplier: 1.0 # Weather duration multiplier (1.0 = normal)
# Debug mode - logs detailed API information
debug: false
Configuration Options Explained
| Option | Description | Default | Recommended |
|---|---|---|---|
api.key |
Your OpenWeather API key | YOUR_API_KEY_HERE |
Get free key |
api.city |
City name for weather data | Moscow |
Any valid city name |
worlds |
List of worlds to sync | [world, survival] |
Your world names |
sync.enabled |
Enable automatic updates | true |
true |
sync.interval |
Minutes between updates | 15 |
15-30 (avoid API limits) |
weather.enable-thunder |
Enable thunder effects | true |
true |
weather.time-multiplier |
Weather duration multiplier | 1.0 |
0.5-3.0 |
debug |
Enable debug logging | false |
false (enable for troubleshooting) |
š® Commands
All commands support tab completion!
| Command | Description | Permission | Aliases |
|---|---|---|---|
/rw reload |
Reload configuration | realweather.reload |
- |
/rw update |
Force update weather now | realweather.update |
- |
/rw info |
Show plugin information | realweather.info |
- |
/rw toggle |
Toggle automatic sync on/off | realweather.toggle |
- |
/rw setcity <city> |
Change target city | realweather.setcity |
- |
/rw help |
Show help message | realweather.use |
- |
Command Aliases: /realweather, /weather
Command Examples
/rw info # View current settings
/rw update # Force weather update immediately
/rw setcity London # Change to London weather
/rw setcity New York # Works with multi-word cities
/rw toggle # Disable/enable automatic sync
/rw reload # Reload config after changes
š Permissions
Perfect for LuckPerms, PermissionsEx, or any permission plugin!
| Permission | Description | Default |
|---|---|---|
realweather.admin |
Full access to all commands | OP |
realweather.reload |
Reload configuration | OP |
realweather.update |
Force update weather | OP |
realweather.info |
View plugin information | Everyone |
realweather.toggle |
Toggle automatic sync | OP |
realweather.setcity |
Change city | OP |
realweather.use |
Basic command access | Everyone |
LuckPerms Setup Example
# Give all permissions to admins
lp group admin permission set realweather.admin true
# Allow specific user to force updates
lp user PlayerName permission set realweather.update true
# Let all players view info
lp group default permission set realweather.info true
š¦ļø Weather Conversion
RealWeather intelligently converts real-world weather to Minecraft weather:
| Real Weather | OpenWeather Code | Minecraft Weather |
|---|---|---|
| āļø Clear Sky | 800 | Clear |
| āļø Cloudy | 801-804 | Clear |
| š§ļø Rain | 500-531 | Rain |
| š¦ļø Drizzle | 300-321 | Rain |
| āļø Thunderstorm | 200-232 | Thunder (or Rain if disabled) |
| āļø Snow | 600-622 | Rain (with snow particles) |
| š«ļø Fog/Mist | 701-781 | Clear |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:YKFikQce:zmkkSNcJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YKFikQce:zmkkSNcJ"
}

