Wiki 9Minecraft Roguelike Dungeons Mod Wiki
Roguelike Dungeons Mod Wiki › Configuration

Roguelike Dungeons Mod — Configuration

Configuration and JSON Settings

As of version 1.8.0, the mod uses a powerful JSON-based settings system located in the config/roguelike_dungeons/settings/ directory. This allows for total customization of dungeon generation.

Core JSON Files

  1. main.json: The master file that defines which settings are active and the criteria for their application.
  2. loot.json: Defines loot tables, item weights, and enchantments for chests.
  3. segments.json: Controls the architectural pieces (rooms and corridors) used during generation.
  4. themes.json: Defines the block palettes (e.g., using Sandstone for deserts).

Key Configuration Options

Option Type Description
spawnFrequency Float (0.0 - 1.0) The probability that a dungeon will attempt to generate in a new chunk.
doNaturalSpawn Boolean If false, dungeons will only generate via command.
rooms_per_level Integer The target number of rooms to generate for each of the 5 floors.
below_sea_level Boolean If true, the first floor starts below Y=62.
preciousBlock Boolean If true, rare blocks like Diamond or Gold blocks may generate in walls.

Commands

The mod provides several administrative commands for testing and manual generation. Note that the prefix may vary between roguelike and rd depending on the specific port version.

  • /roguelike dungeon here: Generates a dungeon at the player's current X and Z coordinates.
  • /roguelike dungeon <x> <z> [name]: Generates a dungeon at the specified coordinates using an optional specific theme name.
  • /roguelike settings reload: Reloads all JSON configuration files from the config folder without restarting the server.
  • /roguelike settings list: Displays all currently loaded dungeon themes and settings profiles.
  • /gamerule roguelikeDungeonsGenerate <true/false>: Toggles whether dungeons generate naturally during world exploration.