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. |
Chat Reward
| Setting | Default | Description |
|---|---|---|
ChatReward.ENABLED | true | Enables Chat Reward. |
ChatReward.PATTERN | '(?i)\b(gg|gz)\b' | Java regular expression a chat message must match. |
ChatReward.MIN_POINTS | 5 | Minimum number of points per reward. |
ChatReward.MAX_POINTS | 50 | Maximum number of points per reward. |
ChatReward.WINDOW_SECONDS | 30 | How long the reward window stays open after an announced purchase. |
ChatReward.MIN_PURCHASE_PRICE | 100 | Minimum purchase price that opens a reward window. |
ChatReward.DAILY_LIMIT | 5 | Maximum rewards per player per day. 0 means unlimited. |
ChatReward.SKIP_SAME_IP | true | Skips players on the same IP address as the buyer. |
See Chat Reward for details and pattern examples.
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. |
DebugMessages.CHAT_REWARD | false | Logs every chat message and the Chat Reward window state to the console. Useful when rewards do not work. |
Messages
| Key | Placeholders |
|---|---|
Wallet.Chat_Reward | {0} points received, {1} new balance, {2} buyer name. |
DiscordWebhooksLogs.Admin_Take_Command | {0} administrator, {1} player, {2} points. |
/wallet take sends a Discord webhook log in the same way as add and set.
Do not change Version. It is used internally for configuration migration.
