barusikozako_api-v1.2.0+fabric1.21.11
Curse Maven Snippet
What's new
Added / 新增
- Integrations can write log lines through
BackupService.log(level, message). The host prefixes every line with the integration's container ID, so an extension cannot forge its origin, and ignores lines silently after its binding is revoked.
集成可以通过BackupService.log(level, message)写日志。宿主会为每行自动附加集成的容器 ID 前缀,扩展无法伪造来源;绑定被撤销后调用会静默忽略。 - Integrations can notify players through
BackupService.sendMessage(target, message). The target is limited to the presetsALL,EXECUTORandADMINS; the API never accepts a player name or UUID.EXECUTORresolves to the operator carried by the most recent task the same binding submitted, and the returned stage reports how many players were queued.
集成可以通过BackupService.sendMessage(target, message)通知玩家。目标只允许ALL、EXECUTOR、ADMINS三类预设值,API 从不接受玩家名或 UUID。EXECUTOR解析为同一绑定最近一次提交任务时携带的操作人,返回的阶段给出已排队投递的玩家数。
Changed / 变更
- Integration authorization is now opt-in:
api.ymlholdsauthorization.enabledand defaults tofalse. While disabled, integrations are activated without allowlist checks and receive full rights; when enabled, the previous allowlists and grants apply unchanged.
集成授权改为可选:api.yml的authorization.enabled默认为false。关闭时集成不需要名单即可激活并获得全部权限;开启时沿用原有名单与授权范围。
This Changelog is AIGC and verified
本次更新日志为AI生成内容,并且经过验证
Full changelog / 完整更新日志:
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

