?️ Atmosync
将 Minecraft 天气与现实世界天气同步。
Atmosync 是一款轻量级 Paper 插件,通过 Open-Meteo 将 Minecraft 天气与现实世界天气同步。
✨ 功能
- ? 现实世界天气同步
- ?️ 城市 + 国家位置搜索
- ? 手动坐标
- ?️ 晴朗天气与降雨
- ⛈️ 雷暴
- ❄️ 降雪检测
- ? 可配置的 Minecraft 世界
- ⏱️ 可配置的更新间隔
- ? 手动更新天气
- ♻️ 重新加载配置
- ⌨️ Tab 补全
- ? 无需 API 密钥
⚙️ 配置
? 位置
Atmosync 可以通过城市和国家查找您的位置:
location:
city: "Moscow"
country: "Russia"
您也可以使用精确坐标:
location:
city: "Moscow"
country: "Russia"
coordinates:
enabled: true
latitude: 55.75204
longitude: 37.61781
提示: 手动坐标对于小型村庄或通过城市搜索无法找到的位置特别有用。
? 世界
选择应将同步天气应用到的 Minecraft 世界:
world:
name: "world"
⏱️ 更新间隔
天气更新间隔以秒为单位配置:
weather:
update-interval: 300
? 命令
/atmosync status
显示当前的 Atmosync 配置和天气信息,包括:
- 配置的位置
- Minecraft 世界
- 位置模式
- 当前天气
- 当前温度
所有玩家均可使用此命令。
/atmosync update
手动向 Open-Meteo 请求新的天气更新。
需要 OP(管理员权限)。
天气请求是异步执行的,因此不会阻塞 Minecraft 服务器。
/atmosync reload
重新加载 Atmosync 配置,并使用新设置重新启动天气同步任务。
需要 OP(管理员权限)。
⌨️ Tab 补全
Atmosync 为其命令提供 Tab 补全功能。
update 和 reload 等管理命令仅向操作员建议。
?️ 工作原理
现实世界 → Open-Meteo → Atmosync → Minecraft 世界
Atmosync 定期检查您配置位置的当前天气,并将相应的天气状况应用到 Minecraft 中。
天气数据是异步检索的,而 Minecraft 世界的更改则在服务器的主要线程上安全执行。
?️ 天气检测
Atmosync 使用 Open-Meteo 天气代码来确定当前天气状况。
支持的状况包括:
然后根据检测到的天气状况更新 Minecraft 中的降水。
? 要求
- Minecraft:
1.21.1
- 服务器:
Paper
- Java:
21
? 天气数据
Atmosync 使用 Open-Meteo 获取天气和地理编码数据。
无需 API 密钥或账户。
Open-Meteo
? 安全性
管理命令仅限于服务器操作员。
没有操作员权限的玩家无法使用:
/atmosync update
/atmosync reload
? 开发状态
Atmosync 1.0.0 是首个公开发布版本。
该插件正在积极开发中,计划添加更多功能和改进。
? 许可证
请参阅项目仓库以获取许可证信息。
?️ Atmosync
Synchronize Minecraft weather with real-world weather.
Atmosync is a lightweight Paper plugin that synchronizes Minecraft weather with real-world weather using Open-Meteo.
✨ Features
- ? Real-world weather synchronization
- ?️ City + country location search
- ? Manual coordinates
- ?️ Clear weather & rain
- ⛈️ Thunderstorms
- ❄️ Snow detection
- ? Configurable Minecraft world
- ⏱️ Configurable update interval
- ? Manual weather updates
- ♻️ Configuration reload
- ⌨️ Tab completion
- ? No API key required
⚙️ Configuration
? Location
Atmosync can find your location using a city and country:
location:
city: "Moscow"
country: "Russia"
You can also use exact coordinates:
location:
city: "Moscow"
country: "Russia"
coordinates:
enabled: true
latitude: 55.75204
longitude: 37.61781
Tip: Manual coordinates are especially useful for small villages or locations that cannot be found through the city search.
? World
Choose which Minecraft world should receive the synchronized weather:
world:
name: "world"
⏱️ Update Interval
The weather update interval is configured in seconds:
weather:
update-interval: 300
? Commands
/atmosync status
Displays the current Atmosync configuration and weather information, including:
- Configured location
- Minecraft world
- Location mode
- Current weather
- Current temperature
This command is available to all players.
/atmosync update
Manually requests a new weather update from Open-Meteo.
Requires OP.
The weather request is performed asynchronously so it does not block the Minecraft server.
/atmosync reload
Reloads the Atmosync configuration and restarts the weather synchronization task using the new settings.
Requires OP.
⌨️ Tab Completion
Atmosync provides tab completion for its commands.
Administrative commands such as update and reload are only suggested to operators.
?️ How It Works
Real World → Open-Meteo → Atmosync → Minecraft World
Atmosync periodically checks the current weather at your configured location and applies the corresponding weather conditions to Minecraft.
Weather data is retrieved asynchronously, while Minecraft world changes are safely performed on the server's main thread.
?️ Weather Detection
Atmosync uses Open-Meteo weather codes to determine the current weather condition.
Supported conditions include:
- ☀️ Clear
- ?️ Rain
- ⛈️ Thunderstorms
- ❄️ Snow
Minecraft precipitation is then updated according to the detected weather condition.
? Requirements
- Minecraft:
1.21.1
- Server:
Paper
- Java:
21
? Weather Data
Atmosync uses Open-Meteo for weather and geocoding data.
No API key or account is required.
Open-Meteo
? Security
Administrative commands are restricted to server operators.
Players without operator permissions cannot use:
/atmosync update
/atmosync reload
? Development Status
Atmosync 1.0.0 is the first public release.
The plugin is actively being developed, and more features and improvements are planned.
? License
See the project's repository for license information.
评论 0
登录后参与评分
还没有评论,来抢沙发吧