|
Weather Sync (WeatherSync)Github |相关wiki |源站链接支持: fabric同步您的天气与现实世界!
如何运作
Weather Sync 通过查询 OpenMeteo API 来获取不同地点的天气情况 :)
您可以提供城市名称、纬度和经度,或者让该模组使用您的 IP 地址进行地理定位。
配置
该模组提供了一系列游戏内指令:
- `/weathersync enable`:启用模组
- `/weathersync disable`:禁用模组
- `/weathersync location set auto`:通过 IP 地理定位,并将模组查询的位置设置为您所在城市的坐标
- `/weathersync location set city `:将模组查询的位置设置为您提供的城市(默认值:柏林)- `/weathersync location set custom`:将模组查询的位置设置为您提供的纬度和经度- `/weathersync location get`:发送给您模组查询的位置- `/weathersync sync`:强制游戏发送给您存储的天气信息- `/weathersync timer get`:发送给您剩余多少分钟才会执行下一次全局天气同步
您可以使用 `weathersync.api-backend` Java 系统属性来更改 API 基础 URL。默认值为 `链接`。
*如果天气未能正确同步,并且您未收到发送给您的天气描述,请提出问题*
鸣谢
天气数据由 [OpenMeteo](链接) 提供
IP 地理定位由 [DB-IP](链接) 提供
许可协议
本模组使用 [EUPL-1.2](LICENSE) 许可协议许可。
来自Modrinth所有游戏版本1.20.4所有类型fabricWeatherSync 0.4weathersync-0.4.jar下载0.4#Releaseweathersync-0.4-sources.jar下载0.4#Release* Move updating logic from only running when the weather changes to a tick based timer* Remove /weathersync timer reset* Lower permission level for /weathersync quota get展开版本: 0.4支持游戏: 1.20.4类型:FabricRelease下载次数: 1,908WeatherSync 0.3.2 (Modfest)weathersync-0.3.2-modfest.jar下载0.3.2-modfest#ReleaseChange backendAdd fallback backend展开版本: 0.3.2-modfest支持游戏: 1.20.4类型:FabricRelease下载次数: 97WeatherSync 0.3.1weathersync-0.3.1.jar下载0.3.1#Releaseweathersync-0.3.1-sources.jar下载0.3.1#ReleaseNow actually includes the dependencies GeoIP requiresAdded GeoIP self-test on startup展开版本: 0.3.1支持游戏: 1.20.4类型:FabricRelease下载次数: 181WeatherSync 0.3weathersync-0.3.jar下载0.3#Releaseweathersync-0.3-sources.jar下载0.3#Release- Fix /weathersync location set custom not working correctly- Count API calls to not go over the 10 thousand daily calls and stop syncing individual player\'s weather after that- Always request weather after setting custom coordinates- Add /weathersync quota get command to lookup current api quota展开版本: 0.3支持游戏: 1.20.4类型:FabricRelease下载次数: 139WeatherSync 0.2.1weathersync-0.2.1.jar下载0.2.1#Releaseweathersync-0.2.1-sources.jar下载0.2.1#ReleaseFix error when running /weathersync location set customFix wrong order of feedback when setting weather to a cityFix Fabric metadata展开版本: 0.2.1支持游戏: 1.20.4类型:FabricRelease下载次数: 173WeatherSync 0.2weathersync-0.2.jar下载0.2#Releaseweathersync-0.2-sources.jar下载0.2#Release- Now defaults to not geolocating users when they first enable the mod- Added city presets- Added geolocation on request展开版本: 0.2支持游戏: 1.20.4类型:FabricRelease下载次数: 155WeatherSync 0.1weathersync-0.1.jar下载0.1#Releaseweathersync-0.1-sources.jar下载0.1#ReleaseInitial release展开版本: 0.1支持游戏: 1.20.4类型:FabricRelease下载次数: 138全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
Weather Sync |
楼主
2025-8-10 19:54:57
回复(0)
收起回复
|