BitAspire Wiki

YAML Files

Shared rules for BitAspire YAML configuration files, strings, lists, comments, and runtime state files.

YAML files in BitAspire plugins

Most modern BitAspire plugins use YAML files for defaults, messages, modules, commands, and runtime state. This shared page applies especially to plugins powered by Takion/PrismaticAPI-backed text handling. CWR, XWR, and XenoScavenger can differ; use their product pages when they document a different rule.

String or list values

Many message keys accept either a single string or a list of strings.

message: '&aWelcome {player}.'
message:
  - '&aWelcome {player}.'
  - '&7Read /help when you are ready.'

Use a string for one short line. Use a list when the feature should send multiple chat lines, title lines, action-bar steps, or a multi-line embed/message body.

Indentation rules

Use spaces, not tabs. Keep child keys aligned under their parent.

join:
  default:
    public: '&8[&a+&8] &7Welcome &e{player}&7!'

If a section has repeated entries, keep each entry under a stable id:

profiles:
  default:
    priority: 0
  staff:
    priority: 100

Descriptor files vs behavior files

Do not treat every YAML file as normal configuration.

FileRole
plugin.ymlBukkit/Paper plugin metadata.
module.ymlSIR/SIR+ module descriptor.
commands.ymlCommand provider descriptor and command metadata.
addon.ymlSIR+ addon descriptor.
config.yml, messages.yml, lang.yml, feature filesBehavior and text configuration.

Edit behavior files for normal customization. Descriptor files should only change when you are building your own module, provider, or addon.

Runtime state files

State files such as modules/states.yml, commands/states.yml, or addons/states.yml record enable/disable choices made by the plugin. Prefer the admin command or GUI first:

  • /sir modules
  • /sir commands
  • /sir addons in SIR+

Manual edits are safest while the server is stopped.

Common key patterns

Key patternMeaning
enabledMaster toggle for a section or entry.
permissionPermission required to use or match the entry.
priorityHigher value wins when several entries match.
groupOptional grouping label or permission-group style selector.
commandsConsole or plugin commands executed by the feature.
messages, public, private, langPlayer-facing text values.
soundSound feedback with enabled, type, volume, and pitch.
conditionsMatching rules such as permissions, worlds, or other selectors.
  1. Change one feature file at a time.
  2. Keep a backup of the original generated default.
  3. Reload through the plugin command when supported.
  4. If the feature is still wrong, check the state file before assuming the YAML syntax is broken.

Last updated on

On this page