Skip to main content

BetterStructures FAQ

If your question is about first-time Nightbreak linking, package downloads, or manual imports, start with the shared Global pages first. This FAQ only keeps BetterStructures-specific answers.

Why are structures not appearing?​

The most common reason is that you are testing in terrain that was already explored before BetterStructures was installed.

BetterStructures is designed to generate into unexplored terrain so it does not retroactively fill in old chunks. If you want to see natural generation quickly:

  • fly into fresh chunks
  • generate a new test world
  • or use the placement and setup commands instead of waiting for natural generation

If fresh chunks still get nothing, check these in order:

  • the world is set to true in ValidWorlds.yml (see How do I disable structures in specific worlds?)
  • at least one content package is installed and enabled in /bs setup, or your own schematics are in schematics/
  • the generators those schematics use allow the world, its environment and its biomes (validWorlds, validWorldEnvironments and validBiomesV2 in Creating Generators)
  • you are outside spawnProtectionRadius, which keeps structures away from coordinates 0, 0

When you ask for support, include the generator and schematic configuration files for the structures you expect to see.

Why did BetterStructures disable itself after a reload?​

/bs reload clears every content registry before a worker thread rebuilds them. If that rebuild throws, continuing would leave a plugin that looks enabled but has partial or empty content, so BetterStructures deliberately fails closed and disables itself instead.

The real error is printed to the console immediately before the disable. Fix the config or schematic it names, then restart the server.

Why is my command being refused while a reload is running?​

/bs place, /bs lootify, /bs pregenerate and /bs generateModules all read or mutate the content registries that the reload worker owns, so they are refused for the duration with a "content is reloading" message. The dungeon and structure scans of new chunks generated during the reload wait until the reload succeeds. If a queued new chunk unloads, both scans wait for that chunk to load again. Wait for the reload to report success and try again.

Running /bs reload again during a reload does not fail - your request is queued, and one more complete reload runs once the first finishes, so file changes you made mid-reload are still picked up.

How do I stop the admin warnings about new structures?​

BetterStructures keeps a warnAdminsAboutNewBuildings toggle in config.yml, and /betterstructures silent flips that value for you.

This is useful during pregeneration or other admin-heavy testing where the warnings become noisy.

The toggle is server-wide. The messages go to online players with the betterstructures.warn permission, which OPs have by default, so you can also deny that permission to individual staff members.

What does setupDone mean?​

setupDone tracks whether the BetterStructures first-time setup flow has been completed.

  • false means the setup flow is still considered incomplete
  • true means the setup flow has already been completed

If you intentionally want to rerun setup, set setupDone: false, reload the plugin, and run /bs initialize again.

Does BetterStructures require WorldEdit?​

Yes. WorldEdit is a hard dependency in plugin.yml, so BetterStructures is not expected to run without it.

Why does the console say WorldEdit can't load schematics?​

WorldEdit and FastAsyncWorldEdit ship separate code for each Minecraft version. When a schematic fails inside that version-specific code, or WorldEdit throws a linkage error, the installed WorldEdit build is the cause and only a WorldEdit update fixes it. BetterStructures then prints a boxed error that names the WorldEdit or FastAsyncWorldEdit version, the server version, the schematic that failed and the WorldEdit method it failed in, with the Modrinth download page for the update. Later failures in the same load get one line each, and the "refusing to initialize a partial structure registry" error that follows points back at the WorldEdit warning. If the failure happened during /bs reload, whoever ran the reload gets a short chat message saying WorldEdit is the problem.

The known case is WorldEdit 7.4.6-beta-01 on Minecraft 26.3, which fails while converting older schematics. WorldEdit 7.4.6-beta-02 fixes it. Update WorldEdit and restart the server.

At startup, BetterStructures also warns when WorldEdit found no adapter for the running Minecraft version, because WorldEdit then cannot read block data, signs or chests from schematics.

A damaged schematic fails in WorldEdit's file reader instead and gets the ordinary load error. Schematic load errors name the installed file under plugins/BetterStructures, not the temporary copy BetterStructures reads it from.

How does WorldGuard integration work?​

If both WorldGuard and EliteMobs are installed, BetterStructures registers and uses the betterstructures-protect flag for its protected areas. Both plugins must be present for WorldGuard protection to activate.

The relevant config toggle is:

protectEliteMobsRegions: true

Set it to false if you do not want BetterStructures-managed WorldGuard protection for supported content.

The message shown to players when they attempt to break or place blocks in a protected area is also configurable:

regionProtectedMessage: "&8[BetterStructures] &cDefeat the zone's bosses to edit blocks!"

Can I add custom items to BetterStructures treasure?​

Yes. BetterStructures includes:

/betterstructures lootify <generator> <rarity> <minAmount> <maxAmount> <weight>

Use it while holding the item you want to register. The command writes the held item into the selected treasure generator entry.

Current validation rules from the command implementation:

  • the treasure generator must exist
  • the rarity must already exist in that treasure config
  • minAmount must be at least 1
  • maxAmount must be at most 64
  • the held item cannot be air

Does BetterStructures support MMOItems treasure entries?​

Yes. Use the mmoitem: TYPE@ITEMNAME field described in Creating treasure. If MMOItems is not installed or enabled, BetterStructures logs a warning for each such entry and skips it; the rest of the treasure file still loads.

How do EliteMobs and BetterStructures work together?​

BetterStructures has soft integration with EliteMobs.

At a high level:

  • BetterStructures can place EliteMobs content markers inside generated structures
  • BetterStructures can also manage protected areas that matter for EliteMobs-backed content when the integration is enabled

For the shared setup flow, token linking, and official package lifecycle, use the Global docs and the BetterStructures setup/content pages instead of treating this FAQ as the primary source.

Can I pregenerate a world more safely?​

Yes. BetterStructures exposes performance-oriented pregeneration settings in config.yml, including:

  • percentageOfTickUsedForPregeneration (default: 0.1) - how much of each server tick is used for chunk pregeneration
  • pregenerationTPSPauseThreshold (default: 12.0) - TPS below which pregeneration pauses
  • pregenerationTPSResumeThreshold (default: 14.0) - TPS above which pregeneration resumes

For normal structure pasting, the main pacing setting is:

percentageOfTickUsedForPasting: 0.2

Lower values reduce per-tick impact but make structure pasting slower. In 2.7.2 to 2.7.11, a paste also stopped after 4,096 blocks per tick, so raising the value above about 0.04 did not speed anything up. It does now.

Do pregenerated areas get structures?​

Yes. Chunks generated by /bs pregenerate or Chunky get structures and natural dungeons like chunks a player explores. The dungeon check runs inside the new chunk's load event and needs only the chunk's coordinates. The structure scan reads terrain in the neighbouring chunks too, so BetterStructures holds the new chunk with a plugin chunk ticket until its scans finish, even after the pregenerator releases it.

From 2.7.12, a structure scan on Paper never loads a chunk on the server thread. When it needs a neighbouring chunk that isn't loaded yet, it requests the chunk and runs again once it arrives, with the same structure and position. On Spigot, which has no asynchronous chunk loading, the scan loads those chunks on the server thread instead, one per tick. A scan that is still waiting after 60 seconds is skipped with a console warning; see the warning below.

Pastes load each chunk they write to and hold it with a plugin chunk ticket, so they finish with no player nearby. A paste keeps up to 64 chunks loaded until it ends, so a large build doesn't unload and reload the same chunks on every layer. A paste that waits more than 60 seconds for one chunk fails instead of blocking the pastes queued after it. From 2.7.14, a paste also waits for the chunks around each chunk it writes, so a paste next to a chunk border no longer loads a neighbouring chunk on the server thread, which could freeze Paper servers. A paste that gives up logs one console warning that starts with Skipped or Stopped ... partway and names the chunk.

While /bs pregenerate runs, the console prints a stats block every 30 seconds. Structures Pasted counts structures whose paste finished, in total and in the last 30 seconds. Structures Waiting To Paste is the number placed minus the number pasted. Modular dungeons are not included in these counts.

Console says "Skipped structure placement at chunk ..."​

BetterStructures 2.7.12 and newer log this when a structure scan waited 60 seconds for a neighbouring chunk that never finished loading:

Skipped structure placement at chunk <x>, <z> in <world> because chunks (<x>, <z>) did not finish loading within 60 seconds. Paper can leave a chunk stuck partway through generation (PaperMC/Paper#11174); BetterStructures skips it instead of waiting on the server thread.

That grid spot gets no structure. The rest of generation carries on, and nothing needs fixing. Older versions waited for such a chunk on the server thread, which could freeze the server until the watchdog stopped it. The warning appears at most once a minute; later skips are counted in the next warning.

How are structure locations determined?​

BetterStructures keeps per-structure-type spacing and random-offset controls in config.yml. See Configuration for the full reference.

Each structure type is placed on its own seeded diamond grid. The distance and offset values are measured in chunks, not blocks - a distanceSurface of 27 is roughly one surface structure every 27 chunks, or about 432 blocks.

The main distance controls are:

  • distanceSurface (default: 27)
  • distanceShallow (default: 22)
  • distanceDeep (default: 22)
  • distanceSky (default: 90)
  • distanceLiquid (default: 60)
  • distanceDungeonV2 (default: 80)

The related offset controls are:

  • maxOffsetSurface (default: 5)
  • maxOffsetShallow (default: 5)
  • maxOffsetDeep (default: 5)
  • maxOffsetSky (default: 5)
  • maxOffsetLiquid (default: 5)
  • maxOffsetDungeonV2 (default: 18)

Distances must be at least 1. Offsets must be between 0 and 1073741823 (the largest value the placement randomizer can safely use). If a value is outside its valid range, BetterStructures logs a warning, writes that key's default back to config.yml, and continues with the default instead of failing generation.

In practice, this means generation stays seed-driven and config-driven rather than reshuffling randomly on every restart.

What does spawnProtectionRadius do?​

spawnProtectionRadius (default: 100) defines the minimum distance in blocks from world coordinates 0, 0 within which no structures will be placed. This applies to all worlds. Set to 0 to disable spawn protection.

How do I disable structures in specific worlds?​

BetterStructures maintains a ValidWorlds.yml configuration file that controls which worlds are eligible for structure generation. Each world is listed with a boolean toggle:

New worlds spawn structures: true
Valid worlds v2:
world: true
world_nether: true
world_the_end: true

Set a world to false to prevent BetterStructures from placing any structures in that world. The New worlds spawn structures setting controls whether newly detected worlds are automatically enabled for structure generation.

If your old file uses Valid worlds, the update archives it and generates current defaults. Reapply your intended choices under Valid worlds v2 using the configuration upgrade guidance.

Two behaviours are worth knowing about:

  • New EliteMobs-managed worlds are excluded by default. BetterStructures checks EliteMobs' ownership registry and adds these worlds as false, even when New worlds spawn structures is true. Existing settings are preserved, including an explicit true. An enabled managed world produces a warning. World names beginning with em_ do not establish ownership, and the old migration marker is no longer used.
  • Entries for deleted worlds are pruned. On startup, and about ten seconds after a world unloads, BetterStructures removes any Valid worlds v2 entry whose world is neither loaded nor present on disk, so the file does not accumulate dead entries.

Can I apply a plugin update without restarting?​

Yes. After /bs downloadpluginupdate, /bs downloadall or the setup menu has downloaded an update, run /bs applypluginupdate. To have downloaded updates applied automatically, set nightbreak.applyPluginUpdatesWithoutRestart in config.yml to when-empty or immediately. See Commands for what the swap reloads and when it refuses.

How do I repair a broken or partially deleted content pack?​

Use /bs forcereinstallcontent <package|all>. Normal downloads compare versions and skip anything already up to date, which is exactly the wrong behaviour when the files on disk are damaged. Force reinstall pushes the package back through the same authenticated download, import and reload pipeline regardless of version.

all covers every package BetterStructures currently sees as downloaded, installed or out of date. If a package's files are gone entirely BetterStructures cannot see it any more, so name its slug directly instead - tab completion lists every known slug.