Skip to main content
Version: 5.4.x

Configuration (TOML)

History Stages provides extensive configuration options to fine-tune its behavior, accessible via two TOML files located in the /config directory. These settings can also be managed through the in-game config editor.

Common Config (historystages-common.toml)

This file contains server-side settings that govern core game logic and global behaviors. These settings apply to all players on the server.

SettingDefault ValueDescription
showWelcomeMessagetrueControls the display of a welcome message to players upon joining the server.
showDebugErrorsfalseIf true, configuration validation errors are displayed in chat, assisting in debugging modpack setups.
lockMobLoottrueIf true, locked items are removed from mob drops.
lockBlockBreakingtrueIf true, locked blocks become significantly harder to break and will not drop items.
lockedBlockBreakSpeedMultiplier0.05A multiplier for the break speed of locked blocks. A value of 0.05 results in blocks breaking 20 times slower.
structure_lock.checkInterval10Interval in ticks for checking if a player is inside a locked structure.
structure_lock.messageEnabledtrueIf true, sends a message when a player enters a locked structure.
structure_lock.messageFormat"&cYou cannot enter &e{structure}&c yet!"Customizes the format of the structure lock message. Supports {stage} and {structure} placeholders.
structure_lock.showInChatfalseIf true, structure lock messages are sent to chat in addition to the actionbar.
structure_lock.damageEnabledfalseIf true, players take damage while inside a locked structure.
structure_lock.damageAmount1.0Amount of damage dealt per damage tick when inside a locked structure.
structure_lock.damageInterval20Interval in ticks between damage ticks when inside a locked structure.
structure_lock.blockRightClicktrueCancel all right-click interactions (blocks, items, entities) while inside a locked structure.
structure_lock.blockLeftClicktrueCancel all left-click interactions (attacking entities, breaking blocks) while inside a locked structure.
structure_lock.blockProjectilestrueCancel projectiles (arrows, snowballs, ender pearls, etc.) the moment they would impact something inside a locked structure.
structure_lock.lockPadding0Advanced. Extra blocks added around each structure piece when building the lock zone, on top of a fixed 2-block safety buffer. Range 0-16.
structure_lock.clusterDistance6Advanced. How far apart (in blocks) two pieces of the same structure can be while still being joined into one connected lock zone. Higher = larger, more filled-in zones; lower = more precise, more gaps. Range 0-32.
lockItemUsagetrueIf true, players are prevented from using (eating, equipping, attacking with) locked items.
lockEntityItemstrueIf true, prevents interaction with or breaking of armor stands and item frames containing locked items.
lockBlockGUItrueIf true, prevents players from opening GUIs (e.g., chests, furnaces, crafting tables) of locked blocks.
lockContainerInteractiontrueIf true, prevents moving individually-locked items within containers.
lockEnchantingtrueIf true, prevents applying locked enchantments via anvils and enchanting tables.
broadcastChattrueIf true, unlock/lock messages are broadcast to all players on the server.
unlockMessageFormat"&aNew Era: {stage}"Customizes the format of the global unlock message. Supports {stage} placeholder and Minecraft color codes (&a, &b, etc.).
individualUnlockMessageFormat"&a{player} unlocked: {stage}"Customizes the format of individual unlock messages. Supports {player} and {stage} placeholders.
useActionbartrueIf true, messages (unlocks, blocked actions) are displayed in the actionbar.
useSoundstrueIf true, plays notification sounds for unlocks and blocked actions.
useToaststrueIf true, displays advancement-style toast popups for unlocks.
defaultStageIcon"minecraft:book"The default item ID used as the icon in unlock toast notifications if a stage doesn't specify an icon.
researchTimeInSeconds20The default research duration in seconds for stages. This value is used if research_time is not specified in a stage's JSON file or is set to 0.
showDependencyScreenInPedestaltrueIf true, the Research Pedestal GUI expands to show the dependency checklist.
researchBoosters[]List of booster-block definitions placed under a pedestal to accelerate or discount research. Format per entry: "block_id, speed%, cost%, tier, mode" (see Research System).
hideLockedItemsInJeifalseIf true, locked items are removed from the JEI ingredient panel entirely instead of being marked with a lock overlay.
hideLockedRecipesInJeifalseIf true, recipes whose output is a locked item are hidden from JEI entirely instead of receiving the "Locked" overlay.
lockedItemMultiStagePolicySTRICTHow items assigned to multiple stages behave. STRICT = locked while ANY assigned stage is still locked. LENIENT = unlocked as soon as ANY assigned stage is unlocked.
enableRuntimeLoggingfalseIf true, enables comprehensive runtime event logging to a file, tracking stage changes, blocked actions, and inventory issues for debugging.
useReplacementsfalseIf true, locked items found in chests or mob drops will be replaced by items from replacementItems or replacementTag instead of being removed.
replacementItems[]A list of item IDs (e.g., minecraft:stick) that can be used as replacements for locked loot when useReplacements is true.
replacementTag""An item tag (e.g., forge:dusts/stone) that can be used as a fallback for loot replacement if replacementItems is empty or exhausted.

Lock Messages ([lock_messages])

The lock_messages subsection of historystages-common.toml lets modpack creators override the actionbar/chat messages shown when players interact with locked content. All entries default to an empty string, which falls back to the built-in translation key — so existing localisations (en_us, de_de) are preserved unless overridden. Override strings support &-style color codes (&c, &a, …) and the same {stage} / {player} / {structure} placeholders as the other message settings where applicable.

SettingLang Key FallbackDescription
itemLockedmessage.historystages.item_lockedShown when interacting with a locked item.
blockLockedmessage.historystages.block_lockedShown when interacting with a locked block.
entityItemLockedmessage.historystages.entity_item_lockedShown when interacting with armor stands or item frames holding locked items.
enchantmentLockedmessage.historystages.enchantment_lockedShown when applying a locked enchantment via an anvil or enchanting table.
dimensionUnknownmessage.historystages.dimension_unknownShown when entering a locked dimension.
mobUnknownmessage.historystages.mob_unknownShown when attacking a locked mob.

Client Config (historystages-client.toml)

This file contains client-side settings that control visual display and feedback for individual players. These settings can be adjusted by each player.

SettingDefault ValueDescription
showDependenciesOnScrolltrueIf true, the required dependencies are shown in the tooltip of Research Scrolls.
hideFulfilledDependenciesfalseIf true, fulfilled dependencies are hidden from the Research Scroll tooltip.
showTooltipstrueIf true, information tooltips (e.g., required stage name) are displayed on locked items.
showStageNametrueIf true, the required stage name is included in tooltips for locked items.
showAllUntilCompletefalseIf true, all required stages for an item are shown in tooltips until the item is unlocked.
showLockIconstrueIf true, displays a padlock icon overlay on locked items in inventories and JEI (automatically disabled if EMI is present).
jadeShowInfotrueIf true, History Stages information is displayed within Jade tooltips for locked blocks/entities.
jadeStageNametrueIf true, the required stage name is shown in Jade tooltips.
jadeShowAllUntilCompletefalseIf true, all required stages are shown in Jade tooltips until the item is unlocked.
dimensionLockFeedback"ACTIONBAR"Controls feedback for dimension locking ("ACTIONBAR", "CHAT", or "NONE").
mobLockFeedback"ACTIONBAR"Controls feedback for mob locking ("ACTIONBAR", "CHAT", or "NONE").
structureLockOverlayEnabledtrueIf true, displays the red force-field border overlay around locked structures while the player stands inside the lock zone.
structureLockOverlayOpacity0.30Opacity of the structure lock force-field overlay. Range 0.0 (invisible) to 1.0 (fully opaque).

Debugging and Logging

History Stages includes a two-tier logging system to assist modpack creators and developers:

  • Load-time Diagnostic Reports (debug-*.log): These reports provide comprehensive config validation and registry checks, listing both global and individual stages. They are used for identifying issues during modpack startup.
  • Runtime Event Logs (runtime-*.log): These logs track stage changes, blocked actions, and inventory issues in real-time. They offer insights into player progression and potential conflicts. Enable enableRuntimeLogging in historystages-common.toml to activate. |
Something wrong or missing here? Ask on Discord · Open an issue