Skip to content

Configuration

BoxStand keeps its settings in plugins/BoxStand/. After any edit, run /boxstand reload. You do not need to restart.

/boxstand reload
I want to change File Page
How the plugin behaves config.yml Main Config
Menu titles, icons, layouts, button words menus/ Menus
Text players see messages.yml Messages
Mannequin kinds, one file each mannequins/ Mannequins
My own mannequin model Building a Model
Who can use each feature Permissions

Updates keep your settings

On each start and each reload, BoxStand compares config.yml, messages.yml and each file in menus/ with the files inside its jar. It adds missing files and keys with their default values, and removes keys it does not know, with their comments. It keeps your values and your comments, and it logs each change.

It finds It does
Text where a number, true/false or a list belongs Resets it to the default. Keys that take text are never checked
A single value where the jar has a section, or the reverse Resets it to the default
A key written twice Keeps the first, removes the rest

Deleting or misspelling a key does not turn it off, because the real key comes back with its default value. Change its value instead. In this example, the key is rise.enabled:

# config.yml
balloon:
  motion:
    rise:
      enabled: false   # deleting this line would bring it back as true
  • If a missing key cannot be added because of how you wrote that part of the file (an inline map), the file is left untouched. Add the keys the console names by hand, or write that part as a block. The example is the head's item.offset:
    # config.yml: an inline map, which updates cannot add a key to
    head:
      item:
        offset: {x: 0.0, y: 0.5}
    
    # config.yml: the same as a block, with the missing z added
    head:
      item:
        offset:
          x: 0.0
          y: 0.5
          z: 0.0
    
  • modeldata: and custom-buttons are never added or removed, and rows and layout keep whatever form you wrote them in.
  • A key with nothing after its colon, such as max:, is left as you wrote it. Write a value there.
  • Files in mannequins/ get no keys added or removed. Only the upgrades below change them.

A file that will not load

BoxStand drops unreadable lines, up to 20, until the file loads, saves the file without them, and logs each one (Dropped unreadable line 12: ...). The settings on those lines go back to their defaults.

If that fails, the file stays as you wrote it, and BoxStand uses its built-in defaults. Fix the line that the YAML error names, then reload.

  • This covers config.yml, messages.yml and the menus/ files. A file in mannequins/ that will not load is not repaired: the console shows the YAML error, and that kind is left out of the picker until you fix the file and reload.

Upgrading from an older version

When a version changes what a key means, BoxStand rewrites your old value so that the game looks the same. config-version tracks which of these upgrades config.yml still needs. The other files are recognised by what they hold (Changelog).

Change Your file
balloon.offsets.position became a nudge from the balloon's spot Numbers rewritten so balloons stay put
balloon.collide became a section true or false becomes sides, with top-bottom: false
Head and wear item scale and offset moved under item Moved, values kept
The helmet slot was called head Its icon and name move to helmet; the new head slot is added
Empty slot names moved from messages.yml slots: to each slot-name Moved, text kept
Menu titles and icons moved from config.yml to gui.yml Carried over into menus/. Old ItemsAdder ids, in mannequin files too, get the itemsadder: prefix
The Size button moved from the pose page to the stand menu Its two icons move with it, as you set them
gui.yml became the menus folder Split into the files of menus/, every change kept (From gui.yml)
A shipped text or hint in messages.yml was reworded Changed only where your file still has the old shipped words
<name>, <axis> and <angle> became {name}, {axis} and {angle} Rewritten in worn-item (menus/common.yml) and pose.subtitle (messages.yml)
The x of each picture in place-pictures (menus/common.yml) became shift Renamed, numbers kept
require-permission in a mannequin kind's file became permission true becomes permission: boxstand.<file name>, so the permissions you gave still work. false is taken out