Configuration
The main configuration is stored in plugins/PixaWallet/settings.yml.
Commands and language
| Setting | Default | Description |
|---|---|---|
Command_Aliases | [ wallet, portfel ] | Commands that open the main command group. The first entry is the primary alias. |
Locale | en | Message language. Bundled values are en and pl. |
Prefix | PixaWallet prefix | Prefix used by plugin messages. |
Commands.MAIN_COMMAND | portfel|wallet | Main command and aliases used by the command configuration. |
Commands.MAIN_DESCRIPTION | Open the PixaWallet menu | Command description. |
Menus
| Setting | Default | Description |
|---|---|---|
MenuSettings.MENU_CONFIG_FOLDER | menus/en | Folder scanned for regular menu YAML files. |
MenuSettings.MENU_CONFIRM_CONFIG_FILE | menus/confirm_menu_en.yml | Purchase confirmation menu file. |
See Menus for layouts, buttons and actions.
PlaceholderAPI
| Setting | Default | Description |
|---|---|---|
PlaceholderSettings.IDENTIFIER | pixawallet | Primary placeholder identifier without % or _. Only letters and numbers are allowed. |
PlaceholderSettings.ALIASES | [ portfel ] | Additional active identifiers for compatibility. |
Changing the identifier from pixawallet to premium creates placeholders such as %premium_points%. Update your menus and external plugins accordingly.
Purchase rewards
| Setting | Default | Description |
|---|---|---|
BuyCommandSettings.BUY_COMMAND_DELAY | 0 | Delay in seconds between confirming a purchase and executing Buy_Command. Must be zero or greater. |
Storage
| Setting | Default | Description |
|---|---|---|
Database.TYPE | SQLITE | SQLITE or MYSQL. |
Database.SQLITE_FILE | pixawallet.db | Local database file name. It must end with .db and cannot contain folders. |
MysqlConnection.MYSQL_IP | ip | MySQL host or address. |
MysqlConnection.MYSQL_PORT | 3306 | MySQL port from 1 to 65535. |
MysqlConnection.MYSQL_USER | user | Database user. |
MysqlConnection.MYSQL_PASSWORD | password | Database password. |
MysqlConnection.MYSQL_DATABASE | db name | Database name. |
MysqlConnection.MYSQL_PREFIX | pixawallet_ | Prefix for the players, history and purchases tables. Only letters, numbers and underscores are allowed. |
MysqlConnection.MYSQL_SERVERNAME | MyServerName | Server name written to transaction records. Use a different value on each server. |
Never publish real database credentials or commit them to a public repository.
Spending leaderboards
| Setting | Default | Description |
|---|---|---|
TopSettings.MAX_TOP_GET_PLAYERS | 15 | Maximum cached leaderboard positions. Must be greater than zero. |
TopSettings.TIME_TO_REFRESH | 10 | Leaderboard refresh interval in minutes. Must be greater than zero. |
TopSettings.NPC_SKIN_UPDATE_ENABLED | false | Enables FancyNpcs skin updates for the 30-day ranking. |
TopSettings.NPC_TOP_NAMES | three example names | Exact FancyNpcs NPC names in ranking order. |
Performance and logging
| Setting | Default | Description |
|---|---|---|
Performance.SYNC_PLAYER_NAMES | true | Synchronizes changed player names with the database. Disable it on instances where the extra updates are not needed. |
DiscordWebhooks.ADMIN_COMMANDS | empty | Discord webhook URL for administrative balance-change logs. Leave empty to disable. |
DebugMessages.TOP_UPDATES | false | Enables additional leaderboard update messages. |
Do not change Version. It is used internally for configuration migration.
