Skip to content

Getting Started

This is the recommended first configuration pass after installing HeadDB.

1. Start the server once

HeadDB generates its data folder during startup:

text
plugins/HeadDB/

Important files:

FilePurpose
config.ymlCore runtime, remote database, cache, storage, player heads, language, GUI behavior, scheduled refresh, and updater settings.
gui.ymlGUI layouts, buttons, icons, names, lore, and slots.
sounds.ymlConfigurable sounds for GUI, economy, commands, confirmations, and administrative actions.
economy.ymlOptional Vault integration and pricing.
messages/en-US.ymlDefault localized messages.
storage/headdb.dbDurable local data such as favorites, Custom Heads, Custom Categories, drafts, overrides, and player-head cache entries.

2. Confirm database health

Run:

text
/hdb version
/hdb status
/hdb verify

A healthy installation should report a loaded database and non-zero head, category, tag, and collection counts.

Database: LOADED from CACHE is normal after startup. It means HeadDB loaded the last verified local artifacts and can still check the remote manifest for updates.

3. Assign permissions

Simple setup:

text
Players: headdb.basic
Staff:   headdb.admin

For restricted servers, grant individual command and GUI permissions instead. See Permissions.

4. Decide whether heads cost money

Economy support is disabled by default. To charge players:

  1. Install Vault.
  2. Install a Vault-compatible economy provider.
  3. Enable economy support in economy.yml.
  4. Configure fallback, category, player-head, custom-category, or individual-head prices.

See Economy.

5. Review automatic database refreshes

Scheduled remote checks are enabled by default:

yaml
refresh:
  load-cache-on-startup: true
  refresh-on-startup: true
  scheduled:
    enabled: true
    interval-hours: 6

HeadDB only downloads database artifacts when the catalog or revocations resource changed. Manual refreshes remain available through /hdb refresh.

6. Back up local data

Back up these files before major upgrades or migrations:

text
config.yml
gui.yml
sounds.yml
economy.yml
messages/
storage/headdb.db

The database cache can be recreated. storage/headdb.db contains server-specific persistent data and should be treated as important state.

Released by SilentDevelopment.