BaruSikoZako (Backup)Web
A web modbased on BaruSikoZako for managing backups and backup audit logs
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
BaruSikoZako (Backup)Web
English
BaruSikoZako Web is a browser-based backup console for BaruSikoZako. It manages the host's existing backup repositories through the public Backup API rather than implementing a second backup engine. No Node.js, external web server, or separately hosted frontend is required: install the mod and manage backups, snapshots, and live tasks from your browser.
It supports Fabric, Forge, and NeoForge on Minecraft: Java Edition, in both single-player integrated servers and dedicated servers. One universal JAR covers the supported loader environments.
Features
- Dashboard: Inspect host and API versions, the active backend, repository, backup schedule, online-capture availability, online players, and more.
- Backup creation: Choose configured, full, incremental, differential, fixed-chunk, or rebuild mode. Availability depends on the host and active backend.
- Snapshot management: Browse snapshots and detailed metadata, then submit verify, restore, or delete tasks. Deletion requires confirmation. Restore replaces the target world on the next start, so make a backup first.
- Live tasks: Follow progress, results, and failure reasons over the event stream, with optional task cancellation.
- Audit log: Observe in-game commands, backup operations, and third-party API calls, with configurable filtering and hourly persistence.
- Settings: Change the administrator password, switch between Chinese and English or light and dark themes, and—when supported and authorized by the host—view and edit host and backend configuration.
- Account and transport security: PBKDF2 password hashes, login rate limiting, session expiration, HttpOnly / SameSite cookies, CSRF and Origin checks, and optional HTTPS.
- Responsive UI: Designed for both desktop and mobile browsers.
Installation and first launch
- Install the BaruSikoZako host mod and BaruSikoZako API 1.3.0 or newer.
- Place
barusikozako_web-1.0.0.jarin the game or server'smods/directory. Fabric, Forge, and NeoForge use the same JAR; no loader-specific or game-version-specific build is needed. - Start the game or server. A fully commented bilingual configuration file is generated on first launch:
config/barusikozako_web/barusikozako_web.yml
- With the default configuration, open this address on the same computer running Minecraft:
http://127.0.0.1:8443
- Because the default listener is loopback-only, you can create the administrator account directly without an enrollment token. Usernames are 3–32 characters using letters, digits, dots, dashes, or underscores. Passwords must contain at least 12 characters and three of these four classes: uppercase, lowercase, digits, and symbols.
- On a non-loopback listener, initial enrollment requires the one-time token printed in the startup log. It expires after 30 minutes by default and is never written to disk. Restart the game or server to receive a new token if it expires.
Changes to
barusikozako_web.ymlrequire a game or server restart.
Configuration
Configuration file location
The default path is relative to the game or server working directory:
config/barusikozako_web/barusikozako_web.yml
A different path can be supplied as a JVM property. Relative paths are still resolved from the working directory:
-Dbarusikozako_web.config=config/barusikozako_web/custom.yml
Password hashes are stored in config/barusikozako_web/users.json by default. When audit persistence is enabled, audit events are written to hourly files under logs/barusikozako/.
Complete default configuration
These are the effective values in the generated template. The template also contains bilingual comments for every option. Most installations only need to adjust networking, integration, and audit settings; the secure defaults for the remaining options can be kept.
schema: 1
server:
enabled: true
bind: "127.0.0.1"
port: 8443
protocol: http
workerThreads: 4
queueCapacity: 64
maxBodyBytes: 8192
streamClients: 8
shutdownGraceSeconds: 3
plaintextRiskAcknowledged: true
allowRemoteHttp: false
tls:
keyStore: "config/barusikozako_web/server.p12"
keyStoreType: PKCS12
keyStorePassword: ""
authentication:
password:
algorithm: PBKDF2WithHmacSHA256
saltBytes: 16
hashBytes: 32
iterations: 600000
session:
tokenBytes: 32
idleTimeoutSeconds: 1800
maxLifetimeSeconds: 86400
maxSessions: 64
rateLimit:
maxAttempts: 5
windowSeconds: 60
userStore: "config/barusikozako_web/users.json"
enrollment: loopback
bootstrapTokenMinutes: 30
integration:
repositoryId: ""
sourceId: world
restoreTargetId: world
queryTimeoutSeconds: 10
audit:
command: true
operation: true
apiCall: false
apiBlacklist: "zakobakadsl"
persist: false
Networking and performance: server
| Option | Default | Description |
|---|---|---|
enabled |
true |
Enables the web console. When false, no port is opened and no sessions are retained. |
bind |
127.0.0.1 |
Listener address as an IPv4 address, IPv6 address, or host name. 0.0.0.0 listens on all IPv4 interfaces; use ::1 or [::1] for IPv6 loopback. |
port |
8443 |
TCP port, from 1 to 65535. A port conflict is reported in the startup log. |
protocol |
http |
Either http or https. Keep HTTP for local use; prefer HTTPS for remote access. |
workerThreads |
4 |
Request worker threads, from 1 to 32. Keep this small when sharing a machine with the game. |
queueCapacity |
64 |
Bounded request queue size, from 4 to 1024. Overload returns 503 instead of growing without limit. |
maxBodyBytes |
8192 |
Maximum request body size, from 1024 to 65536 bytes. Larger requests receive 413. |
streamClients |
8 |
Maximum concurrent event streams, from 1 to 32. Each connected live stream occupies one thread. |
shutdownGraceSeconds |
3 |
Time allowed for in-flight responses during shutdown, from 0 to 30 seconds. |
plaintextRiskAcknowledged |
true |
Must explicitly be true when using plaintext HTTP, acknowledging the lack of transport encryption. |
allowRemoteHttp |
false |
Allows plaintext HTTP on a non-loopback listener. Remote HTTP requires both this option and the acknowledgement above. |
0.0.0.0is a listener address, not the address to enter in a browser. Use the server's actual address on a LAN, such ashttps://192.168.1.20:8443, and allow the TCP port through the host firewall when necessary.
HTTPS: tls
| Option | Default | Description |
|---|---|---|
keyStore |
config/barusikozako_web/server.p12 |
Keystore containing the server certificate and private key. Relative paths use the working directory. |
keyStoreType |
PKCS12 |
Supports PKCS12 or JKS. |
keyStorePassword |
Empty | Keystore password. Leave empty to read BARUSIKOZAKO_WEB_KEYSTORE_PASSWORD from the environment instead of storing the password in the file. |
A valid keystore is required only when protocol: https is selected. A self-signed PKCS12 keystore can be generated with the JDK's keytool:
keytool -genkeypair -alias barusikozako_web -keyalg RSA -keysize 2048 -validity 825 -storetype PKCS12 -keystore config/barusikozako_web/server.p12 -dname CN=localhost
Browsers require additional trust for self-signed certificates. For LAN or public access, use a certificate appropriate for the actual host name or address. TLS 1.2 and TLS 1.3 are supported.
Passwords, sessions, and enrollment: authentication
| Option | Default | Description |
|---|---|---|
password.algorithm |
PBKDF2WithHmacSHA256 |
PBKDF2WithHmacSHA512 is also supported. Existing records retain the algorithm used when they were created. |
password.saltBytes |
16 |
Random salt length, from 16 to 64 bytes. |
password.hashBytes |
32 |
Derived-key length, from 32 to 64 bytes. |
password.iterations |
600000 |
PBKDF2 iterations, from 600000 to 5000000. Lower values are rejected. Higher values increase login computation cost. |
session.tokenBytes |
32 |
Session token length, from 32 to 64 bytes. |
session.idleTimeoutSeconds |
1800 |
Idle session timeout, from 300 to 86400 seconds; 30 minutes by default. |
session.maxLifetimeSeconds |
86400 |
Absolute session lifetime, from 600 to 604800 seconds; 24 hours by default. Must not be shorter than the idle timeout. |
session.maxSessions |
64 |
Maximum concurrent sessions, from 1 to 1024. The least recently used session is evicted first. |
rateLimit.maxAttempts |
5 |
Failed sign-in attempts allowed per window, from 1 to 50. Limits apply by source IP and by IP-plus-username. |
rateLimit.windowSeconds |
60 |
Sliding login rate-limit window, from 10 to 3600 seconds. |
userStore |
config/barusikozako_web/users.json |
Account database path. It contains password hashes, never plaintext passwords. |
enrollment |
loopback |
Initial enrollment policy; see the table below. |
bootstrapTokenMinutes |
30 |
Lifetime of the one-time enrollment token and initial enrollment window, from 5 to 1440 minutes. |
The three enrollment modes are:
| Mode | Behavior |
|---|---|
loopback |
Default. Loopback listeners allow direct administrator creation; non-loopback listeners require the one-time token from the startup log. |
always |
Requires the one-time token on every listener address. |
never |
Never requires a token, but is accepted only on loopback listeners. Combining it with a non-loopback bind prevents startup. |
Host connection: integration
| Option | Default | Description |
|---|---|---|
repositoryId |
Empty | Repository ID to expose. Empty selects the only repository reported by the API; set an explicit ID in a multi-repository setup. |
sourceId |
world |
Source identifier used when creating backups. It should match the world source configured in the host. |
restoreTargetId |
world |
Target identifier used for restore jobs. It should match the host's restore target. |
queryTimeoutSeconds |
10 |
Timeout for each host query, from 1 to 60 seconds. Increase it for large repositories or heavily loaded servers if necessary. |
These values are identifier mappings between the web extension and the host, not world-directory paths. Check the restore target carefully: an incorrect mapping may cause the host to reject the operation.
Auditing: audit
| Option | Default | Description |
|---|---|---|
command |
true |
Records in-game and console backup commands, including the executor and command input. |
operation |
true |
Records backup, verify, restore, delete, configuration-update, and other operation events. |
apiCall |
false |
Records third-party integration API calls. Disabled by default to reduce noise. |
apiBlacklist |
zakobakadsl |
Comma-separated integration mod IDs excluded from API-call auditing when apiCall: true. Leave empty to disable filtering. |
persist |
false |
Appends audit events to hourly logs/barusikozako/audit-*.log files. When disabled, records are kept only in memory for the current run. |
Common configuration profiles
Profile 1: local access only (default and simplest)
server:
enabled: true
bind: "127.0.0.1"
port: 8443
protocol: http
plaintextRiskAcknowledged: true
allowRemoteHttp: false
authentication:
enrollment: loopback
Suitable for single-player or when opening the console only on the server machine itself. No certificate or enrollment token is needed, and other computers or phones cannot connect directly.
Profile 2: LAN or remote HTTPS (recommended)
Change these values in the complete default configuration:
server:
bind: "0.0.0.0"
port: 8443
protocol: https
allowRemoteHttp: false
tls:
keyStore: "config/barusikozako_web/server.p12"
keyStoreType: PKCS12
keyStorePassword: ""
authentication:
enrollment: loopback
Prepare the keystore, restart, and open https://actual-server-address:8443. Since this is not a loopback listener, enrollment: loopback requires the initial enrollment token, preventing another visitor from claiming the administrator account first.
Profile 3: LAN plaintext HTTP (explicit risk acknowledgement)
server:
bind: "0.0.0.0"
port: 8443
protocol: http
plaintextRiskAcknowledged: true
allowRemoteHttp: true
authentication:
enrollment: loopback
Both switches are required or the configuration is rejected. Passwords, session cookies, and backup operations are transmitted without encryption. Use this only on a trusted, isolated network; choose HTTPS for public or untrusted networks. Initial enrollment still requires the one-time token from the startup log.
Host configuration versus web configuration
config/barusikozako_web/barusikozako_web.ymlconfigures the web console itself: listener, HTTPS, accounts, sessions, backup-source mappings, and auditing. Restart after editing it.- “Host configuration / Backend configuration” on the Settings page reads or updates settings exposed by BaruSikoZako and the active backup backend through the public API. Available keys, immediate application, and restart requirements follow the host and backend.
config/barusikozako/api.ymlis the host's third-party integration authorization file. Allowlist checks are disabled by default.
If integration authorization is enabled in the host, add this extension's mod ID, barusikozako_web, to the integration allowlist. Maintenance capabilities such as restore, delete, and global audit observation also require the maintenance allowlist:
schema=1
authorization.enabled=true
authorization.integrations="barusikozako_web"
authorization.maintenanceIntegrations="barusikozako_web"
No api.yml change is needed while authorization is disabled. This mechanism controls integration permissions; it is not a security sandbox for untrusted Java mods. Install mods only from sources you trust.
Security notes
- The default configuration does not expose the console to the LAN or public internet. Change
bindonly when remote administration is intentional. - Prefer HTTPS for remote access and keep the enrollment-token requirement enabled.
- Restore overwrites the target world, and snapshot deletion is irreversible. Verify the repository, snapshot, and target before proceeding, and keep an additional backup.
- The web console does not replace host backup configuration. Schedules, storage backends, and repository policies remain managed by BaruSikoZako.
Project homepage · Issue tracker · MPL-2.0 License
中文
BaruSikoZako Web 是 BaruSikoZako 的浏览器备份控制台。 它通过主模组的公开 Backup API 管理现有备份仓库,不另设一套备份引擎。无需 Node.js、外部 Web 服务或额外前端资源,安装模组后即可在浏览器中创建备份、管理快照并实时跟踪任务。
适用于 Minecraft: Java Edition 的 Fabric、Forge 与 NeoForge 环境,可用于单人游戏的集成服务端,也可用于独立服务器。一个通用 JAR 即可覆盖受支持的加载器环境。
功能
- 概览: 查看主模组与 API 版本、备份后端、仓库、定时备份、在线捕获状态及在线玩家等信息。
- 创建备份: 支持按配置、全量、增量、差分、固定分块与重建模式;实际可用能力取决于主模组和当前后端。
- 快照管理: 按时间查看快照与详细元数据,提交校验、恢复和删除任务。删除需要确认;恢复会在下次启动时替换目标世界,请务必先备份。
- 实时任务: 通过事件流查看任务进度、结果与失败原因,并可请求取消任务。
- 审计日志: 集中查看游戏内命令、备份操作和第三方 API 调用,可配置过滤及按小时持久化。
- 设置: 修改管理员密码、切换中英文和明暗主题;在主模组支持并授权时,还可查看和编辑主模组及当前后端的配置。
- 账户与传输安全: PBKDF2 密码哈希、登录限流、会话超时、HttpOnly / SameSite Cookie、CSRF 与 Origin 校验,并支持 HTTPS。
- 响应式界面: 同时适配桌面与手机浏览器。
安装与首次启动
- 安装 BaruSikoZako 主模组及 BaruSikoZako API 1.3.0 或更高版本。
- 将
barusikozako_web-1.0.0.jar放入游戏或服务器的mods/目录。Fabric、Forge、NeoForge 使用同一个 JAR,不需要分加载器或分游戏版本的构建。 - 启动游戏或服务器。首次启动会自动生成带中英注释的配置文件:
config/barusikozako_web/barusikozako_web.yml
- 保持默认配置时,在运行游戏的同一台电脑上打开:
http://127.0.0.1:8443
- 默认只监听回环地址,因此首次进入可直接设置管理员账户,无需注册令牌。用户名为 3–32 位字母、数字、点、短横线或下划线;密码至少 12 位,并包含大写字母、小写字母、数字、符号中的三类。
- 如果监听非回环地址,首次注册需要启动日志中打印的一次性令牌。令牌默认 30 分钟后过期,不会写入磁盘;过期后重启游戏或服务器可获取新令牌。
修改
barusikozako_web.yml后,需要重启游戏或服务器才能生效。
配置
配置文件位置
默认路径相对于游戏或服务器的工作目录:
config/barusikozako_web/barusikozako_web.yml
可以通过 JVM 参数指定其他路径;相对路径仍以工作目录为基准:
-Dbarusikozako_web.config=config/barusikozako_web/custom.yml
账户哈希默认保存在 config/barusikozako_web/users.json,启用审计持久化后,审计事件按小时写入 logs/barusikozako/。
完整默认配置
以下是默认模板中的有效配置值。模板文件还包含逐项中英注释;通常只需修改网络、集成和审计部分,安全参数的默认值可直接保留。
schema: 1
server:
enabled: true
bind: "127.0.0.1"
port: 8443
protocol: http
workerThreads: 4
queueCapacity: 64
maxBodyBytes: 8192
streamClients: 8
shutdownGraceSeconds: 3
plaintextRiskAcknowledged: true
allowRemoteHttp: false
tls:
keyStore: "config/barusikozako_web/server.p12"
keyStoreType: PKCS12
keyStorePassword: ""
authentication:
password:
algorithm: PBKDF2WithHmacSHA256
saltBytes: 16
hashBytes: 32
iterations: 600000
session:
tokenBytes: 32
idleTimeoutSeconds: 1800
maxLifetimeSeconds: 86400
maxSessions: 64
rateLimit:
maxAttempts: 5
windowSeconds: 60
userStore: "config/barusikozako_web/users.json"
enrollment: loopback
bootstrapTokenMinutes: 30
integration:
repositoryId: ""
sourceId: world
restoreTargetId: world
queryTimeoutSeconds: 10
audit:
command: true
operation: true
apiCall: false
apiBlacklist: "zakobakadsl"
persist: false
网络与性能:server
| 配置项 | 默认值 | 说明 |
|---|---|---|
enabled |
true |
是否启用 Web 控制台。设为 false 后不监听端口,也不保留会话。 |
bind |
127.0.0.1 |
监听地址,支持 IPv4、IPv6 或主机名。0.0.0.0 表示监听所有 IPv4 网卡;IPv6 回环可写 ::1 或 [::1]。 |
port |
8443 |
TCP 端口,范围 1–65535。端口被占用时会在日志中报告启动失败。 |
protocol |
http |
可选 http 或 https。默认 HTTP 仅建议用于本机;远程访问优先使用 HTTPS。 |
workerThreads |
4 |
请求工作线程数,范围 1–32。与游戏共机时建议保持较小值。 |
queueCapacity |
64 |
工作线程前的请求队列容量,范围 4–1024;过载时返回 503,而不是无限排队。 |
maxBodyBytes |
8192 |
请求体上限,范围 1024–65536 字节;超限返回 413。 |
streamClients |
8 |
最大并发事件流数,范围 1–32。每条实时事件流在连接期间占用一个线程。 |
shutdownGraceSeconds |
3 |
停止时等待进行中响应的时间,范围 0–30 秒。 |
plaintextRiskAcknowledged |
true |
使用明文 HTTP 必须显式设为 true,表示了解传输未加密的风险。 |
allowRemoteHttp |
false |
是否允许在非回环地址上使用明文 HTTP。远程 HTTP 必须同时打开此项和上一项。 |
0.0.0.0是监听地址,不是浏览器访问地址。局域网访问时应使用服务器的实际 IP,例如https://192.168.1.20:8443,并按需放行系统防火墙中的 TCP 端口。
HTTPS:tls
| 配置项 | 默认值 | 说明 |
|---|---|---|
keyStore |
config/barusikozako_web/server.p12 |
包含服务器证书和私钥的密钥库路径;相对路径以工作目录为基准。 |
keyStoreType |
PKCS12 |
支持 PKCS12 或 JKS。 |
keyStorePassword |
空 | 密钥库口令。留空时读取环境变量 BARUSIKOZAKO_WEB_KEYSTORE_PASSWORD,避免把口令写入配置。 |
仅在 protocol: https 时需要有效密钥库。可以使用 JDK 自带的 keytool 生成自签名 PKCS12 密钥库:
keytool -genkeypair -alias barusikozako_web -keyalg RSA -keysize 2048 -validity 825 -storetype PKCS12 -keystore config/barusikozako_web/server.p12 -dname CN=localhost
自签名证书需要浏览器额外信任;面向局域网或公网使用时,建议为实际访问域名或地址配置合适证书。HTTPS 支持 TLS 1.2 与 TLS 1.3。
密码、会话与首次注册:authentication
| 配置项 | 默认值 | 说明 |
|---|---|---|
password.algorithm |
PBKDF2WithHmacSHA256 |
也可使用 PBKDF2WithHmacSHA512。已有密码记录仍使用创建时的算法。 |
password.saltBytes |
16 |
随机盐长度,范围 16–64 字节。 |
password.hashBytes |
32 |
派生密钥长度,范围 32–64 字节。 |
password.iterations |
600000 |
PBKDF2 迭代次数,范围 600000–5000000;过低会被拒绝。提高次数会增加登录计算成本。 |
session.tokenBytes |
32 |
会话令牌长度,范围 32–64 字节。 |
session.idleTimeoutSeconds |
1800 |
空闲会话超时,范围 300–86400 秒,默认 30 分钟。 |
session.maxLifetimeSeconds |
86400 |
会话绝对有效期,范围 600–604800 秒,默认 24 小时,且不得小于空闲超时。 |
session.maxSessions |
64 |
最大并发会话数,范围 1–1024;超限时优先淘汰最久未使用的会话。 |
rateLimit.maxAttempts |
5 |
每个限流窗口允许的失败登录次数,范围 1–50。按来源 IP 及“IP + 用户名”分别限制。 |
rateLimit.windowSeconds |
60 |
登录限流滑动窗口,范围 10–3600 秒。 |
userStore |
config/barusikozako_web/users.json |
账户数据库路径,只保存密码哈希,不保存明文密码。 |
enrollment |
loopback |
首次注册策略,见下表。 |
bootstrapTokenMinutes |
30 |
一次性注册令牌及首次注册窗口的有效期,范围 5–1440 分钟。 |
enrollment 的三种模式:
| 模式 | 行为 |
|---|---|
loopback |
默认。回环监听可直接创建管理员;非回环监听必须输入启动日志中的一次性令牌。 |
always |
无论监听地址为何,首次注册都必须输入一次性令牌。 |
never |
从不要求令牌,仅允许回环监听;与非回环 bind 组合时会拒绝启动。 |
主模组连接:integration
| 配置项 | 默认值 | 说明 |
|---|---|---|
repositoryId |
空 | 要展示的仓库 ID。留空表示使用 API 报告的唯一仓库;多仓库环境中可填写目标 ID。 |
sourceId |
world |
创建备份时使用的来源标识,应与主模组中的世界来源一致。 |
restoreTargetId |
world |
恢复任务的目标标识,应与主模组中的恢复目标一致。 |
queryTimeoutSeconds |
10 |
每次主模组查询的超时时间,范围 1–60 秒。大型仓库或高负载服务器可适当提高。 |
这些值是 Web 扩展与主模组之间的标识映射,不是世界文件夹路径。恢复目标尤其需要谨慎确认,错误的映射可能导致任务被主模组拒绝。
审计:audit
| 配置项 | 默认值 | 说明 |
|---|---|---|
command |
true |
记录游戏内及控制台备份命令,包括执行者和命令输入。 |
operation |
true |
记录备份、校验、恢复、删除及配置更新等操作事件。 |
apiCall |
false |
记录第三方集成的 API 调用。默认关闭以减少噪音。 |
apiBlacklist |
zakobakadsl |
英文逗号分隔的集成模组 ID 黑名单,仅在 apiCall: true 时用于排除高频调用。留空表示不过滤。 |
persist |
false |
是否把审计事件按小时追加到 logs/barusikozako/audit-*.log。关闭时仅保留当前运行期间的内存记录。 |
常见配置方案
方案一:仅本机使用(默认,最省事)
server:
enabled: true
bind: "127.0.0.1"
port: 8443
protocol: http
plaintextRiskAcknowledged: true
allowRemoteHttp: false
authentication:
enrollment: loopback
适合单人游戏或只在服务器本机打开控制台。无需证书和注册令牌,其他电脑或手机无法直接连接。
方案二:局域网或远程 HTTPS(推荐)
在完整默认配置基础上修改以下值:
server:
bind: "0.0.0.0"
port: 8443
protocol: https
allowRemoteHttp: false
tls:
keyStore: "config/barusikozako_web/server.p12"
keyStoreType: PKCS12
keyStorePassword: ""
authentication:
enrollment: loopback
准备好密钥库并重启后,通过 https://服务器实际地址:8443 访问。由于不是回环监听,enrollment: loopback 会要求首次注册令牌,防止其他访问者抢先设置管理员。
方案三:局域网明文 HTTP(需显式确认风险)
server:
bind: "0.0.0.0"
port: 8443
protocol: http
plaintextRiskAcknowledged: true
allowRemoteHttp: true
authentication:
enrollment: loopback
两个开关缺一不可,否则配置会被拒绝。密码、会话 Cookie 和备份操作将以明文传输,仅建议在可信、隔离的网络中使用;公网或不可信网络请使用 HTTPS。首次注册仍需启动日志中的一次性令牌。
主模组与 Web 扩展的配置有什么区别?
config/barusikozako_web/barusikozako_web.yml:控制 Web 控制台自身,包括监听地址、HTTPS、账户、会话、备份来源映射与审计。修改后重启生效。- 设置页中的“主模组配置 / 后端配置”:通过公开 API 查看或修改 BaruSikoZako 及当前备份后端 公开的设置。可用键由主模组和后端决定,是否立即可用及是否需要重启也以主模组规则为准。
config/barusikozako/api.yml:主模组的第三方集成授权配置,默认不启用名单检查。
如果已在主模组中启用集成授权,需要将本扩展的模组 ID barusikozako_web 加入接入名单;恢复、删除和全局审计等维护能力还需要加入维护名单:
schema=1
authorization.enabled=true
authorization.integrations="barusikozako_web"
authorization.maintenanceIntegrations="barusikozako_web"
授权默认关闭时不需要修改 api.yml。该机制用于控制集成权限,并不是隔离不可信 Java 模组的安全沙箱;请只安装可信来源的模组。
安全提示
- 默认配置不会向局域网或公网开放控制台。只有在明确需要远程管理时才修改
bind。 - 远程访问优先使用 HTTPS,并保留首次注册令牌要求。
- 恢复会覆盖目标世界,删除快照不可撤销。执行前应确认仓库、快照与目标,并保留额外备份。
- Web 控制台不替代主模组的备份配置。定时备份、存储后端和仓库策略仍由 BaruSikoZako 管理。
项目主页 · 问题反馈 · MPL-2.0 许可证
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Dec 2, 2026 12:21 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Dec 2, 2026 12:21 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works