Weather Sync
将游戏中的天气与现实世界同步!
工作原理
该模组会查询 OpenMeteo API 以获取不同地点的天气情况 :) 你可以提供城市名称、经纬度,或者让模组通过你的 IP 地址自动定位。
配置
本模组提供了以下游戏内命令:
/weathersync enable: 为你启用该模组/weathersync disable: 为你禁用该模组/weathersync location set auto: 根据 IP 地址进行地理定位,并将模组查询的地点设置为你所在城市坐标/weathersync location set city <name>: 将模组查询的地点设置为你提供的城市(默认:柏林)/weathersync location set custom <latitude> <longitude>: 将模组查询的地点设置为你提供的经纬度/weathersync location get: 向你发送模组当前查询的地点信息/weathersync sync: 强制游戏立即推送你存储的天气数据/weathersync timer get: 向你发送距离下一次全局天气同步剩余的分钟数
你可以使用 weathersync.api-backend Java 系统属性来更改 API 的基础 URL。默认值为 https://api.open-meteo.com/v1/dwd-icon。
如果天气未能正确同步,且你没有收到消息中描述的对应天气情况,请提交 Issue。
致谢
天气数据由 OpenMeteo 提供 GeoIP 数据由 DB-IP 提供
许可证
本模组遵循 EUPL-1.2 许可证
Weather Sync
Syncs your weather with the real world!
How it works
It queries the OpenMeteo API to find out the weather at different locations :) You can either provide a city name, latitude and longitude or let the mod geolocate you using your IP address.
Configuration
This mod provides a bunch of in-game commands:
/weathersync enable: Enables the mod for you/weathersync disable: Disables the mod for you/weathersync location set auto: Geolocates your IP and sets the location the mod queries to your city's coordinates/weathersync location set city <name>: Sets the location the mod queries to the city you provide (default: Berlin)/weathersync location set custom <latitude> <longitude>: Sets the location the mod queries to the latitude and longitude you provide/weathersync location get: Sends you the location the mod queries/weathersync sync: Forces the game to send you your stored weather/weathersync timer get: Sends you the time left in minutes until the next global weather sync is performed
You can change the API base URL using the weathersync.api-backend Java system property. The default value is https://api.open-meteo.com/v1/dwd-icon.
Please open an issue if the weather doesn't properly sync and you don't get the weather described in the message to you
Credits
Weather data by OpenMeteo GeoIP by DB-IP
License
This mod is licensed under EUPL-1.2
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WeatherSync
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WeatherSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 将更新逻辑从仅在天气变化时运行改为基于刻的计时器
- 移除
/weathersync计时器重置命令 - 降低
/weathersync quota get命令所需的权限等级
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧