Skip to content

Configuration introduction

XiaoColorful edited this page Mar 20, 2026 · 19 revisions

English

配置文件说明

配置文件目录位于 ./minecraft/config/battleroyale

模组会尝试读取每个配置目录下所有 .json 文件 一般配置文件都具有:

  • id:配置唯一id,遇到重复id则覆盖,不小于0
  • default:当配置文件里任意单个配置设置为true,则默认选用该文件/配置(该项可选,默认为 false
  • name:给配置起名,可重复
  • color:用途不同的颜色,可使用 #RRGGBB#RRGGBBAA

一个配置文件内可包含多个配置,用方括号包围,内部每个花括号为一项配置

物资刷新配置

位于 ./minecraft/config/battleroyale/loot 下的子文件夹: 0. loot_spawner:物资刷新器配置文件

  1. entity_spawner:实体生成器配置文件
  2. airdrop:补给箱配置文件
  3. airdrop_special:特殊补给箱配置文件
  4. secret_room:暂未使用

以上刷新配置均使用通用刷新配置

大逃杀游戏配置

位于 ./minecraft/config/battleroyale/game 下的子文件夹:

效果配置

位于 ./minecraft/config/battleroyale/effect 下的子文件夹:

客户端配置

位于 ./minecraft/config/battleroyale/client 下的子文件夹:

服务端配置

位于 ./minecraft/config/battleroyale/server 下的子文件夹:

English

Configuration directory located in ./minecraft/config/battleroyale

The mod will attempt to read every .json file in each config directory Generally, the configuration will has:

  • id: a unique id, overwrite if duplicate, not less than 0
  • default: When any single configuration in the file is set to true, the file/config is selected by default (optional, defaults to false )
  • name: name the config, can be repeated
  • color: color for different purposes, use #RRGGBB or #RRBBGGAA

A config file can contain multiple configs, surrounded by square brackets, each curly brace inside is a single config

Loot

Located in subfolders under ./minecraft/config/battleroyale/loot 0. loot_spawner: for battleroyale:loot_spawner

  1. entity_spawner: for battleroyale:entity_spawner
  2. airdrop
  3. airdrop_special
  4. secret_room: currently has no idea

All of them use the General loot

BattleRoyale

Located in subfolders under ./minecraft/config/battleroyale/game

Effect

Located in subfolders under ./minecraft/config/battleroyale/effect

Client

Located in subfolders under ./minecraft/config/battleroyale/client

Server

Located in subfolders under ./minecraft/config/battleroyale/server

🌐 Language / 语言


Clone this wiki locally