File Structure

File Structure

View as Markdown ·

On this page

#Overview

Everything the plugin writes lives in plugins/PhoenixCurrencies.

plugins/PhoenixCurrencies/
├── currencies/
│   ├── money.yml
│   └── gems.yml
├── migrations/
│   └── imported.yml
├── menus/
│   ├── wallet.yml
│   ├── history.yml
│   ├── bank.yml
│   └── bank-history.yml
├── translations/
│   └── translations.en.yml
├── backups/
├── config.yml
├── labels.yml
└── database.db
File or Folder Contents
currencies One file per currency. See Currency File.
migrations The players an Add migration already credited, so a second run skips them.
menus The layout of the player menus. See Customize Menus.
translations The language file. See Languages & Translations.
backups A copy of a file taken before the plugin rewrote it.
config.yml The main settings and the database connection. See Main Configuration.
labels.yml The names given to money other plugins and commands move. See Payment Labels.
database.db The SQLite database, when SQLite is used.

#What Lives in the Database

Balances, the list of known players, the transaction log, banknotes, banks and the daily payment counters are not in these files. They are in the database set in config.yml, which is SQLite by default and MySQL, MariaDB or PostgreSQL if you set it up.

#Moving to Another Server

  • Configuration - copy currencies/, menus/, translations/, config.yml and labels.yml.
  • Balances - point the new server at the same MySQL, MariaDB or PostgreSQL database, or copy database.db across while both servers are stopped.

#What to Back Up

The whole plugins/PhoenixCurrencies folder, plus your database if you use MySQL, MariaDB or PostgreSQL.

My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping