☀️ RealWeather - Minecraft 中的真实世界天气
使用与全球任意城市同步的逼真天气,为你的 Minecraft 服务器带来全新体验!RealWeather 借助 OpenWeather API 将现实世界带入你的游戏。
? 为什么选择 RealWeather?
- ? 实时同步 - 获取全球任意城市的天气更新
- ⚙️ 全自动运行 - 配置好间隔时间后即可自动运行,无需人工干预
- ? 完全掌控 - 随时通过手动命令覆盖天气状态
- ?️ 多世界支持 - 选择哪些世界需要同步天气
- ⛈️ 高度可定制 - 控制雷暴、持续时间等更多选项
- ? 轻量高效 - 异步 API 调用,零延迟卡顿
⚡ 快速上手
- 将插件安装到
plugins/ 文件夹中
- 在 OpenWeather 获取免费 API 密钥
- 在
config.yml 中填入你的 API 密钥和城市名称
- 执行
/rw reload 和 /rw update
- 享受逼真的天气效果!
? 指令
/rw info - 查看当前设置
/rw update - 强制更新天气
/rw reload - 重载配置文件
/rw toggle - 启用/禁用自动同步
/rw setcity <city> - 更改城市
支持完整的 Tab 补全功能!
? 权限节点
完美兼容 LuckPerms、PermissionsEx 等权限插件!
realweather.admin - 完全访问权限(OP)
realweather.info - 查看信息(所有人)
realweather.update - 强制更新(OP)
realweather.reload - 重载配置(OP)
realweather.setcity - 更改城市(OP)
⚙️ 配置说明
api:
key: "YOUR_API_KEY_HERE"
city: "Moscow"
worlds:
- "world"
- "survival"
sync:
enabled: true
interval: 15 # 分钟
weather:
enable-thunder: true
time-multiplier: 1.0
debug: false
?️ 天气类型映射
真实天气会智能转换为 Minecraft 中的对应天气:
- ☀️ 晴朗/多云 → 晴天
- ?️ 雨/小雨 → 降雨
- ⛈️ 雷暴 → 雷暴
- ❄️ 雪 → 带有雪花粒子的降雨
- ?️ 雾/薄雾 → 晴天
? 功能特性
✅ 自动更新 - 每 15-30 分钟同步一次天气
✅ 手动控制 - 随时通过指令强制更新
✅ 按世界配置 - 可选择哪些世界进行同步
✅ 雷暴开关 - 启用或禁用雷暴天气
✅ 时长控制 - 延长或缩短天气持续时间(0.5x-3x)
✅ 调试模式 - 提供详细日志以便排查问题
✅ 异步操作 - API 调用不会导致服务器卡顿
✅ 智能缓存 - 尊重 API 请求频率限制
✅ 现代界面 - 美观的彩色消息提示
✅ LuckPerms 就绪 - 完整的权限支持
? 环境要求
? 相关链接
? 性能表现
- 内存占用: 约 2MB
- API 响应时间: <500ms
- 免费 API 限额: 每天 1,000 次调用
- 推荐同步间隔: 15-30 分钟
- 无数据库依赖: 仅使用简单的 YAML 配置文件
? 适用场景
- 希望拥有逼真天气的生存服务器
- 需要沉浸感的角色扮演服务器
- 与现实地点相匹配的城市主题服务器
- 设定在真实地点的冒险地图
- 任何希望拥有动态天气的服务器!
? 技术支持
需要帮助?有建议?
- 在 GitHub 上提交 Issue
- 加入我们的 Discord 社区
- 查阅完整 README 获取详细指南
将真实世界带入 Minecraft! ⛅
由 EGN 用心制作 ❤️ | 基于 OpenWeather API
☀️ RealWeather - Real World Weather in Minecraft
Transform your Minecraft server with realistic weather synced from any city in the world! RealWeather brings the real world into your game using the OpenWeather API.
? Why RealWeather?
- ? Real-Time Sync - Weather updates from any city worldwide
- ⚙️ Fully Automatic - Set it and forget it with configurable intervals
- ? Full Control - Override with manual commands anytime
- ?️ Multi-World - Choose which worlds get synced weather
- ⛈️ Customizable - Control thunder, duration, and more
- ? Lightweight - Async API calls, zero lag
⚡ Quick Start
- Install plugin in
plugins/ folder
- Get free API key at OpenWeather
- Edit
config.yml with your API key and city
- Run
/rw reload and /rw update
- Enjoy realistic weather!
? Commands
/rw info - View current settings
/rw update - Force weather update
/rw reload - Reload configuration
/rw toggle - Enable/disable auto-sync
/rw setcity <city> - Change city
Full tab completion support!
? Permissions
Perfect for LuckPerms, PermissionsEx, and more!
realweather.admin - Full access (OP)
realweather.info - View info (Everyone)
realweather.update - Force updates (OP)
realweather.reload - Reload config (OP)
realweather.setcity - Change city (OP)
⚙️ Configuration
api:
key: "YOUR_API_KEY_HERE"
city: "Moscow"
worlds:
- "world"
- "survival"
sync:
enabled: true
interval: 15 # minutes
weather:
enable-thunder: true
time-multiplier: 1.0
debug: false
?️ Weather Types
Real weather intelligently converts to Minecraft:
- ☀️ Clear/Cloudy → Clear Sky
- ?️ Rain/Drizzle → Rain
- ⛈️ Thunderstorm → Thunder Storm
- ❄️ Snow → Rain with snow particles
- ?️ Fog/Mist → Clear
? Features
✅ Automatic Updates - Weather syncs every 15-30 minutes
✅ Manual Control - Force update anytime with commands
✅ Per-World Config - Choose which worlds sync
✅ Thunder Toggle - Enable/disable storms
✅ Duration Control - Extend or shorten weather (0.5x-3x)
✅ Debug Mode - Detailed logging for troubleshooting
✅ Async Operations - No server lag from API calls
✅ Smart Caching - Respects API rate limits
✅ Modern UI - Beautiful colored messages
✅ LuckPerms Ready - Full permission support
? Requirements
- Server: Paper 1.21+
- Java: 21+
- API Key: Free at OpenWeather
? Links
? Performance
- RAM Usage: ~2MB
- API Response: <500ms
- Free API Limit: 1,000 calls/day
- Recommended Interval: 15-30 minutes
- No Database: Simple YAML config
? Perfect For
- Survival servers wanting realistic weather
- Roleplay servers needing immersion
- City-themed servers matching real locations
- Adventure maps set in real places
- Any server wanting dynamic weather!
? Support
Need help? Have suggestions?
- Open an issue on GitHub
- Join our Discord community
- Check the full README for detailed guides
Bring the real world into Minecraft! ⛅
Made with ❤️ by EGN | Powered by OpenWeather API
评论 0
登录后参与评分
还没有评论,来抢沙发吧