Seasons API
Seasons API 专为创建自定义的季节、天气与挑战而开发!
本模组参照 Spigot 插件 "Seasons" 的设计思路,专门为 Minecraft 私人服务器 "Zixa City" 的管理员(kochkaev,又名 kleverdi)定制开发。该模组的灵感来源于 Harieo。
这是什么?
- 季节(Season):一个虚拟年份中的特定阶段,对应当前虚拟时间下的固定天气。
- 天气(Weather):游戏中的昼夜环境条件,各自配有专属的挑战任务。
- 挑战(Challenge):一套适用于玩家的行为规则,与当前的季节和天气相匹配。
命令语法:
/seasons get season- 获取当前季节。/seasons get weather- 获取当前天气。/seasons get lang- 获取当前设置的语言。/seasons get challenges- 获取活跃挑战列表。/seasons set season <season>- 设置季节。/seasons set weather <weather>- 设置天气。/seasons set lang <language>- 设置语言。/seasons set challenge [forceAllow|forceDisable] <challenge>- 强制开始或结束一个挑战。/seasons reload- 重新加载配置。/seasons actionbar [on|off]- 为执行此命令的玩家设置动作栏中季节信息的显示。
对于开发者
您可以在模组中创建自己的季节、天气和挑战集。关于在模组中实现 Seasons API 的更多信息,请参阅 wiki。
附加信息
链接
依赖项
- Fabric API(必需)
- Text Placeholder API(可选)
- Mod Menu(可选)
- Cloth Config API(可选)
创意来源:Harieo
- Harieo 的 GitHub:
- 原版插件(GitHub):
- 原版插件(SpigotMC):
开发者:kochkaev
- GitHub:
- VK:
- YouTube:
- 联系邮箱: kleverdi@vk.com
Seasons API
Seasons API was developed for creating your own seasons, weathers and challenges!
This mod was developed by analogy with the Spigot plugin "Seasons" specifically for the private Minecraft server "Zixa City" by its administrator (kochkaev, aka kleverdi). The idea of this mod was taken from Harieo.
What is this?
- Season - a certain period of a conditional year that has a certain weather for the current conditional time.
- Weather - daytime conditions for the game that have their own Challenges.
- Challenge - a set of some sort of rules for the player, appropriate to the current season and weather.
Command Syntax:
/seasons get season- get current season./seasons get weather- get the current weather./seasons get lang- get the currently set language./seasons get challenges- get the list of active Challenges./seasons set season <season>- set season./seasons set weather <weather>- set weather./seasons set lang <language>- set language./seasons set challenge [forceAllow|forceDisable] <challenge>- force start or end a challenge./seasons reload- reload configs./seasons actionbar [on|off]- set the display of season information in the action bar for the player executing this command.
For developers
You can create your own set of seasons, weathers and challenges in your mod. More information about implementing the Seasons API in your mod can be found in wiki.
Additional info
Links
Dependencies
- Fabric API (Required)
- Text Placeholder API (Optional)
- Mod Menu (Optional)
- Cloth Config API (Optional)
Idea by Harieo
- Harieo on GitHub:
- Original plugin on GitHub:
- Original plugin on SpigotMC:
Created by kochkaev
- GitHub:
- VK:
- YouTube:
- Contact email: kleverdi@vk.com
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Seasons API
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
消息现在使用更灵活的 MiniMessage 进行格式化,取代了过时的颜色代码。 了解更多关于 MiniMessage 的信息。 Placeholder API 现在是必需的依赖项。
建议插件开发者在显示任何消息(如季节名称、天气名称、聊天消息)时使用 Minecraft Text 而非 String。为此,ConfigFileObject 和 ConfigContentObject 中新增了专门的 getText 和 addTextValue 方法。
所有配置文件现在都包含版本号(默认为 1)。这样你可以轻松且安全地在配置文件中更新值以适配新格式,而用户不会察觉;为此,你需要在你继承自 ConfigFileObject 的类中重写 update 方法。
MiniMessage 已内置于 JAR 文件中!
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧