promotional bannermobile promotional banner

BaruSikoZako API

Public API for integrating with BaruSikoZako
Back to Files

barusikozako_api-v1.2.0+fabric1.21.11

File namebarusikozako_api-v1.2.0-fabric1.21.11.jar
Uploader
WJiangzhiWJiangzhi
Uploaded
Nov 27, 2026
Downloads
0
Size
79.3 KB
Mod Loaders
FabricQuilt
File ID
9852011
Type
R
Release
Supported game versions
  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:barusikozako-api-1823783:9852011"

Quilt

modImplementation "curse.maven:barusikozako-api-1823783:9852011"

Learn more about Curse Maven

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 presets ALL, EXECUTOR and ADMINS; the API never accepts a player name or UUID. EXECUTOR resolves 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.yml holds authorization.enabled and defaults to false. 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 / 完整更新日志:

CHANGELOG.API.md

This mod has no additional files