Skip to content

Configuration ​

The main configuration is stored in plugins/PixaWallet/settings.yml.

Commands and language ​

SettingDefaultDescription
Command_Aliases[ wallet, portfel ]Commands that open the main command group. The first entry is the primary alias.
LocaleenMessage language. Bundled values are en and pl.
PrefixPixaWallet prefixPrefix used by plugin messages.
Commands.MAIN_COMMANDportfel|walletMain command and aliases used by the command configuration.
Commands.MAIN_DESCRIPTIONOpen the PixaWallet menuCommand description.
SettingDefaultDescription
MenuSettings.MENU_CONFIG_FOLDERmenus/enFolder scanned for regular menu YAML files.
MenuSettings.MENU_CONFIRM_CONFIG_FILEmenus/confirm_menu_en.ymlPurchase confirmation menu file.

See Menus for layouts, buttons and actions.

PlaceholderAPI ​

SettingDefaultDescription
PlaceholderSettings.IDENTIFIERpixawalletPrimary 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 ​

SettingDefaultDescription
BuyCommandSettings.BUY_COMMAND_DELAY0Delay in seconds between confirming a purchase and executing Buy_Command. Must be zero or greater.

Storage ​

SettingDefaultDescription
Database.TYPESQLITESQLITE or MYSQL.
Database.SQLITE_FILEpixawallet.dbLocal database file name. It must end with .db and cannot contain folders.
MysqlConnection.MYSQL_IPipMySQL host or address.
MysqlConnection.MYSQL_PORT3306MySQL port from 1 to 65535.
MysqlConnection.MYSQL_USERuserDatabase user.
MysqlConnection.MYSQL_PASSWORDpasswordDatabase password.
MysqlConnection.MYSQL_DATABASEdb nameDatabase name.
MysqlConnection.MYSQL_PREFIXpixawallet_Prefix for the players, history and purchases tables. Only letters, numbers and underscores are allowed.
MysqlConnection.MYSQL_SERVERNAMEMyServerNameServer 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 ​

SettingDefaultDescription
TopSettings.MAX_TOP_GET_PLAYERS15Maximum cached leaderboard positions. Must be greater than zero.
TopSettings.TIME_TO_REFRESH10Leaderboard refresh interval in minutes. Must be greater than zero.
TopSettings.NPC_SKIN_UPDATE_ENABLEDfalseEnables FancyNpcs skin updates for the 30-day ranking.
TopSettings.NPC_TOP_NAMESthree example namesExact FancyNpcs NPC names in ranking order.

Performance and logging ​

SettingDefaultDescription
Performance.SYNC_PLAYER_NAMEStrueSynchronizes changed player names with the database. Disable it on instances where the extra updates are not needed.
DiscordWebhooks.ADMIN_COMMANDSemptyDiscord webhook URL for administrative balance-change logs. Leave empty to disable.
DebugMessages.TOP_UPDATESfalseEnables additional leaderboard update messages.

Do not change Version. It is used internally for configuration migration.

PixaDev is owned and built by DonPedroTV.