Skip to main content

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.json to T5.json.

Most servers never need to touch either.

General​

OptionDefaultWhat it does
Version"1"The file's version. Do not edit it (see Versioning).
MaxPartySize4Most players in one run.
TeamLives5Lives the whole party shares in a run, the same in every tier; at zero everyone is sent out.
MaxInstanceMinutes30Time limit of a run; the party is sent home when it runs out.
EmptyInstanceGraceSeconds180How 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.
EntranceClosesWhenClearedtrueWhen true, an entrance closes for everyone once any party clears it.
ReturnAfterClearSeconds60Seconds the party keeps after the boss falls (to loot) before being sent home. 0 keeps them until they leave.
UseTemporaryGrouptrueLocks 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​

OptionDefaultWhat it does
Kyros.MaxHealth4500Kyros'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.MaxHealth11000Varyn's max health when he appears. 0 or less keeps his role's.
Varyn.LootemptyChanges to what Varyn drops (see Loot changes).
ShroudedOne.MaxHealth10000The Shrouded One's max health when it appears. 0 or less keeps its role's.
ShroudedOne.LootemptyChanges to what the Shrouded One drops.
ShroudedOne.GaiaGiftemptyChanges 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.

OptionDefaultWhat it does
DpsMeter.Publicfalsetrue: every player gets the meter. false: only players with DpsMeter.Permission.
DpsMeter.Permissionchambers.dpsWho gets the meter while it is not public.
DpsMeter.ResetSeconds5Seconds 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.
OptionWhat it does
NameThe tier's name, shown in the HUD ("Castle Walls", "Trork Stronghold", "Scarak Hive", "Infernal Depths", "Outlander Warcamp").
ThemeThe 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.
PathLength of the main path, [min, max] pieces.
ArenasArenas along the path.
MiniBossesMini-boss rooms on the path (placed halfway).
BranchesSide branches, [min, max].
BranchLengthPieces per side branch.
RequiresTierTier that must be cleared first; 0 means none.
NpcHealthMultiplierMax health multiplier for every NPC in this tier.
NpcEffectsEntity effects given to every NPC of the tier (by default Chambers_Damage_T<N>, +20 % to +100 % damage).
ScaleBossesWhether the boss is scaled too (on from tier 2).
RoleSwapsNPC roles swapped for others: {"Skeleton_Fighter": "Skeleton_Soldier"}. Also how another mod's creatures come into a dungeon.
MobDropListLoot table of ordinary enemies (Chambers_Mob_T<N>). Empty drops nothing.
MiniBossDropListLoot table of mini-bosses (Chambers_MiniBoss_T<N>).
BossDropListLoot table of the boss. Empty by default: the boss's reward is the final chest.
MiniBossRolesMore roles that count as mini-bosses in this tier, besides the plugin's own (empty by default).
BossRolesMore roles whose death clears the dungeon, besides the plugin's own bosses (empty by default).
CommandsOnClearConsole commands run once per player when a run is cleared; %player% and %tier% are replaced.
LootChanges to the tier's loot: Chests, BossChest, Boss, MiniBosses, Mobs (see Loot changes).

Default values per tier:

TierPathArenasMini-bossesBranchesHealthDamage
118 – 24301 – 3×1.4—
224 – 30612 – 4×1.8+20 %
330 – 36612 – 5×2.2+40 %
436 – 42922 – 6×2.8+60 %
542 – 48932 – 7×3.2+80 %
tip

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:

  • Remove takes item ids out of what the table gives. An id ending in * takes every id that starts that way ("Rune_*").

  • Add adds items, each on its own roll:

    • Item: the item id.
    • Chance: from 0 to 1.
    • 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:

WhereApplies 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 (or config.json.<timestamp>.bkp if one exists), and Tiers/ as Tiers.bkp;
    • new files are written with default values.

    Copy your settings over from the backup by hand.

  • A file that cannot be read (config.json or a tier's file) is backed up as <file>.bak.<timestamp> and replaced with its defaults.

  • /chambers reload rereads 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:

FileContents
progress.jsonCleared tiers and entrances, per player.
entrances.jsonThe known entrances.
returns.jsonPending return points (where to send players back after a run).
hud_layout.jsonWhere each player moved each Chambers HUD (/chambers hud).