Skip to main content

Mod configurations

The Configuration tab defines variables that server admins fill when installing your mod.

Each configuration field can include:

  • identifier (key)
  • display title
  • help text
  • required flag
  • default value
  • optional group name

Use clear identifiers and meaningful help text so server admins can configure your mod without guesswork.

Validation note:

  • required fields are checked as non-empty values
  • if you provide a default value, admins may not need to enter that field manually

Every configuration field becomes a Dynamic Variable using its identifier. If your mod has a field with identifier spawn_location, it is available as {$spawn_location} in all file contents and paths when Dynamic Variables is enabled.

Field types

TypeTemplate variable shapeNotes
stringstring|nullSingle-line text; empty → null
textareastring|nullMulti-line text; identical to string in templates
emailstring|nullEmail address input; identical to string in templates
numberint|float|nullAuto-cast; use |default: 0 for optional fields
booleanbool|nullRender conditionally: {if $flag}true{else}false{/if}
coordinate{x, z, y?, radius?}|nullAccess sub-fields: {$pos.x}, {$pos.z}
generic_selectstring|null or string[]Dropdown from a fixed list; array when multiple: true
faction_selectstring|null or string[]Server's faction IDs
player_selectstring|null or string[]Server's player usernames
relation_selectstring[]Always an array; never null — empty returns []
discord_channel_selectstring|null or string[]Discord text channel IDs
discord_category_selectstring|null or string[]Discord category IDs
discord_role_selectstring|null or string[]Discord role IDs
discord_guild_selectstring|null or string[]Discord guild IDs
object_listarrayRepeatable list of objects; never null — iterate with {foreach}

For full template usage examples per type, see the Mod Builder agent reference.