Dev Settings (Server Configuration) - bym-refitted/backyard-monsters-refitted GitHub Wiki

⚙️ Development Settings

This configuration file contains flags that improve the development process by allowing developers to enable or disable features server-wide.

The game settings file is located at:

./server/src/config/DevSettings.ts

⚠️ Note: For some flags (such as loading dev bases or rewards), you will need to wipe your database.


🔑 Available Flags

Flag Type Default Description
maproom Boolean true Enable or disable the MapRoom on the server.
inferno Boolean false Enable or disable Inferno on the server.
infernoMaproom Boolean false Enable or disable the Inferno MapRoom on the server.
shiny Number 1000 Sets the default amount of shiny on new accounts (must be set before record creation).
debugMode Boolean false Enables the debug console (requires client restart). Commands are listed in ConsoleCommands.as.
devSandbox Boolean false Inserts a sandbox test base with all buildings placed (set before record creation).
infernoSandbox Boolean false Inserts an Inferno sandbox test base with all buildings placed (set before record creation).
logMissingAssets Boolean false Logs all missing assets and their paths to the server console.
unlockAllEventRewards Boolean false Grants all unlockable event rewards (set before record creation).
skipDescent Boolean false Enables/disables the Inferno descent sequence.
startEventNowOverride Number 0 Override epoch timestamp for event start dates. If set, the event begins immediately from this timestamp. Default: 0 (no override).
skipTutorial Boolean false Enables/disables the tutorial phase.
allowedMessageType Object { message: true } Defines which message types are allowed from the client.

📄 Example Config

maproom: true,
inferno: true,
shiny: 1000,
debugMode: false,
devSandbox: false,
infernoSandbox: false,
logMissingAssets: false,
unlockAllEventRewards: true,
skipDescent: false,
startEventNowOverride: 1756039033,
skipTutorial: false,
allowedMessageType: {
  message: true,
  trucerequest: false,
  truceaccept: false,
  trucereject: false,
  migraterequest: false,
}