Configuration File
Chambers writes its configuration on its first start, with default values:
mods/HaporeLab_Chambers/config.json: the general options.mods/HaporeLab_Chambers/Tiers/: one file per tier,T1.jsontoT5.json.
Most servers never need to touch either.
General
| Option | Default | What it does |
|---|---|---|
Version | "1" | The file's version. Do not edit it (see Versioning). |
MaxPartySize | 4 | Most players in one run. |
TeamLives | 5 | Lives the whole party shares in a run, the same in every tier; at zero everyone is sent out. |
MaxInstanceMinutes | 30 | Time limit of a run; the party is sent home when it runs out. |
EmptyInstanceGraceSeconds | 180 | How long an empty instance is kept for reconnecting players, and how long a member who left their party's run waits to open their own. |
EntranceClosesWhenCleared | true | When true, an entrance closes for everyone once any party clears it. |
ReturnAfterClearSeconds | 60 | Seconds the party keeps after the boss falls (to loot) before being sent home. 0 keeps them until they leave. |
UseTemporaryGroup | true | Locks the party into a GroupManager temporary group for the run (no invites, kicks or leaves). |
BypassPermission | "chambers.bypass" | Permission that skips every progression check. |
TierPermissionPrefix | "chambers.tier." | Optional per-tier permission that also lets a player in: chambers.tier.<N>. |
Key Bosses
| Option | Default | What it does |
|---|---|---|
Kyros.MaxHealth | 4500 | Kyros's max health when he appears (both phases share it); in a dungeon the tier's multiplier comes on top. 0 or less keeps his role's. |
Varyn.MaxHealth | 11000 | Varyn's max health when he appears. 0 or less keeps his role's. |
Varyn.Loot | empty | Changes to what Varyn drops (see Loot changes). |
ShroudedOne.MaxHealth | 10000 | The Shrouded One's max health when it appears. 0 or less keeps its role's. |
ShroudedOne.Loot | empty | Changes to what the Shrouded One drops. |
ShroudedOne.GaiaGift | empty | Changes to Gaia's gift after the Shrouded One falls. |
A change reaches the next boss to appear (after /chambers reload).
DPS Meter
A personal damage meter, like the ones in WoW: a small HUD with your damage per second, the fight's total and its time, and the result of your last fight under it. It counts the damage you deal (blows, arrows, spells, and what bleeds or burns from you). A fight starts with your first blow and ends after ResetSeconds without dealing damage; the meter then goes back to zero and keeps the fight on its "Last fight" line. It shows while you fight and for 30 s after.
| Option | Default | What it does |
|---|---|---|
DpsMeter.Public | false | true: every player gets the meter. false: only players with DpsMeter.Permission. |
DpsMeter.Permission | chambers.dps | Who gets the meter while it is not public. |
DpsMeter.ResetSeconds | 5 | Seconds without dealing damage that end a fight. |
Players can move it, like every Chambers HUD, with /chambers hud.
Tiers
Each tier has its own file in Tiers/: T1.json is tier 1, and so on.
- Removing a tier: delete its file; it does not come back.
- Restoring the defaults: delete the whole
Tiers/folder; it is written again with every tier's defaults.
| Option | What it does |
|---|---|
Name | The tier's name, shown in the HUD ("Castle Walls", "Trork Stronghold", "Scarak Hive", "Infernal Depths", "Outlander Warcamp"). |
Theme | The look of the tier's dungeons: the prefix of its pieces (castle, trork, scarak, infernal, outlander). A kind of piece the theme does not have yet comes from the tier below. The theme also decides how its doors close and what walls them up. |
Path | Length of the main path, [min, max] pieces. |
Arenas | Arenas along the path. |
MiniBosses | Mini-boss rooms on the path (placed halfway). |
Branches | Side branches, [min, max]. |
BranchLength | Pieces per side branch. |
RequiresTier | Tier that must be cleared first; 0 means none. |
NpcHealthMultiplier | Max health multiplier for every NPC in this tier. |
NpcEffects | Entity effects given to every NPC of the tier (by default Chambers_Damage_T<N>, +20 % to +100 % damage). |
ScaleBosses | Whether the boss is scaled too (on from tier 2). |
RoleSwaps | NPC roles swapped for others: {"Skeleton_Fighter": "Skeleton_Soldier"}. Also how another mod's creatures come into a dungeon. |
MobDropList | Loot table of ordinary enemies (Chambers_Mob_T<N>). Empty drops nothing. |
MiniBossDropList | Loot table of mini-bosses (Chambers_MiniBoss_T<N>). |
BossDropList | Loot table of the boss. Empty by default: the boss's reward is the final chest. |
MiniBossRoles | More roles that count as mini-bosses in this tier, besides the plugin's own (empty by default). |
BossRoles | More roles whose death clears the dungeon, besides the plugin's own bosses (empty by default). |
CommandsOnClear | Console commands run once per player when a run is cleared; %player% and %tier% are replaced. |
Loot | Changes to the tier's loot: Chests, BossChest, Boss, MiniBosses, Mobs (see Loot changes). |
Default values per tier:
| Tier | Path | Arenas | Mini-bosses | Branches | Health | Damage |
|---|---|---|---|---|---|---|
| 1 | 18 – 24 | 3 | 0 | 1 – 3 | ×1.4 | — |
| 2 | 24 – 30 | 6 | 1 | 2 – 4 | ×1.8 | +20 % |
| 3 | 30 – 36 | 6 | 1 | 2 – 5 | ×2.2 | +40 % |
| 4 | 36 – 42 | 9 | 2 | 2 – 6 | ×2.8 | +60 % |
| 5 | 42 – 48 | 9 | 3 | 2 – 7 | ×3.2 | +80 % |
The plugin's own bosses and mini-bosses (every phase) always count. BossRoles and MiniBossRoles are only for creatures you bring in yourself, for example another mod's boss swapped in with RoleSwaps.
Loot Changes
Add items to the loot or take items out without touching the plugin's loot tables, for example to bring in another mod's items. Each set of changes has two lists:
-
Removetakes item ids out of what the table gives. An id ending in*takes every id that starts that way ("Rune_*"). -
Addadds items, each on its own roll:Item: the item id.Chance: from0to1.Min,Max: the size of the stack.
An id the server does not know (a mod that is not installed, a typo) is skipped and noted once in the log.
Where the changes go:
| Where | Applies to |
|---|---|
Loot.Chests (tier file) | The small chests along the way. |
Loot.BossChest (tier file) | The boss's treasure chest. |
Loot.Boss (tier file) | What the boss drops (rolled Need / Greed). |
Loot.MiniBosses (tier file) | What the mini-bosses drop (rolled Need / Greed). |
Loot.Mobs (tier file) | What ordinary enemies drop. |
Varyn.Loot, ShroudedOne.Loot, ShroudedOne.GaiaGift (config.json) | The key bosses and Gaia's gift. |
Example, in Tiers/T3.json: the boss's chest gives a quarter of the time one or two gems of another mod, and never an iron sword.
"Loot": {
"BossChest": {
"Remove": ["Weapon_Sword_Iron"],
"Add": [{ "Item": "OtherMod_Gem_Sapphire", "Chance": 0.25, "Min": 1, "Max": 2 }]
}
}
/lore shows the changes too: what you take out is gone from a boss's or a dungeon's possible drops, and what you add is listed with its chance. Changes reach the next chest and the next drop after /chambers reload.
Versioning
-
Version 1 is the first public version of the file.
-
The current version is read as it is. Options it lacks are added with their default value, also in each tier's file. Everything else stays as it is: values, order and unknown keys.
-
Another version, or none (the files of Chambers' development versions, up to 17, too):
- the old file is backed up as
config.json.bkp(orconfig.json.<timestamp>.bkpif one exists), andTiers/asTiers.bkp; - new files are written with default values.
Copy your settings over from the backup by hand.
- the old file is backed up as
-
A file that cannot be read (
config.jsonor a tier's file) is backed up as<file>.bak.<timestamp>and replaced with its defaults. -
/chambers reloadrereads the files as they are, without backups or version checks.
Data Files
Stored next to config.json. They carry no version and are never replaced:
| File | Contents |
|---|---|
progress.json | Cleared tiers and entrances, per player. |
entrances.json | The known entrances. |
returns.json | Pending return points (where to send players back after a run). |
hud_layout.json | Where each player moved each Chambers HUD (/chambers hud). |