Config.json
Json configuration file
You can set the values "true" or "false" in play with the command /ah config, a description of each item is also given.
config.json
{
"storage": "JSON",
"defaultEconomy": "VAULT",
"useSellCooldown": true,
"enablePlugin": true,
"creativeSell": true,
"betterPrice": true,
"betterPriceReduction": false,
"useNoMoneyItem": true,
"displayErrorBuyMessage": false,
"enableSellAnnonce": false,
"enableBuyAnnonce": false,
"openInventoryAfterRemoveConfirm": true,
"openInventoryAfterBuying": false,
"useLog": true,
"useLogInFile": false,
"disableCommands": false,
"enableAutoUpdate": false,
"enableClaimMoney": false,
"enableClaimMoneyMessageOnJoin": true,
"enableTransactionMessageOnJoin": true,
"needPriceForSellInventory": true,
"enableDebugMode": false,
"enableCustomHelpMessage": false,
"enableCustomSellMessage": false,
"enableCustomOpenMessage": false,
"disableSellBreakItem": false,
"enablePlayerPoint": false,
"enableTokenManager": false,
"enableMySQLToken": false,
"enableLevel": false,
"enableVault": false,
"enableItem1": false,
"enableItem2": false,
"enableItem3": false,
"enableOptEco": false,
"enableCustomEconomy": false,
"displayCooldownMessage": true,
"giveItemAfterPurchase": false,
"sendItemToPurchaseInventoryIfIsFull": true,
"enableInventoryPreRender": false,
"enableCommandInventories": false,
"enableOpenSyncInventory": false,
"disablePriceErrorDefault": true,
"enableMinMaxPricePerItems": false,
"enableVersionChecker": true,
"enableRedisAutoUpdateInventory": false,
"enableRedisAutoGiveMoneyIfPlayerIsOnline": false,
"enableNumberformatSell": true,
"enableAddItemFlagToAuctionItem": false,
"enableLogFileSaveInformations": true,
"enablePrioritySort": false,
"enablePrioritySortLimit": false,
"disableDefaultSellPriceFormatError": true,
"enableDefaultTax": false,
"enableItemsTax": false,
"taxType": "SELL",
"taxDefaultPercent": 10.0,
"removeTransactionAfterSeconds": 1296000,
"maxPrice": 999999999999999999,
"minPrice": 10,
"sellTime": 172800,
"expireTime": 604800,
"noMoneyItemTicks": 20,
"autoUpdateMilliSecond": 3000,
"cooldownClaimMoneyMessageTicks": 10,
"cooldownInformationsMessageTicks": 15,
"cooldownCommandSell": 5,
"transactionPageSize": 5,
"cooldownClaimMoneySecond": 300,
"transactionDateFormat": "YYYY MM dd hh:mm:ss",
"betterPriceEspace": " ",
"playerPointFormat": "p",
"tokenManagerFormat": "t",
"tokenLevel": "l",
"customEcoForm": "c",
"mySqlTokenFormat": "mt",
"item1Format": "i",
"item2Format": "o",
"item3Format": "b",
"vaultFormat": "v",
"optEcoFormat": "oe",
"currencyVault": "$",
"currencyLevel": "L",
"currencyPlayerPoint": "£",
"currencyTokenManager": "T",
"currencyMySQLToken": "MT",
"currencyItem1": "gold nuggets",
"currencyItem2": "gold ingot",
"currencyItem3": "gold block",
"currencyOptEco": "OPT",
"mainCommand": "zauctionhouse",
"subCommands": [
"zauction",
"ah",
"hdv",
"zah",
"zhdv"
],
"materialItem": "GOLD_NUGGET",
"materialItem2": "GOLD_INGOT",
"materialItem3": "GOLD_BLOCK",
"showClick": "RIGHT",
"itemFlags": [
"HIDE_ENCHANTS",
"HIDE_ATTRIBUTES",
"HIDE_UNBREAKABLE",
"HIDE_DESTROYS",
"HIDE_PLACED_ON",
"HIDE_POTION_EFFECTS",
"HIDE_DYE"
],
"blacklistPlayers": [],
"autoSaveSecond": 900,
"sortCooldownChange": 5,
"maxSqlRetryAmount": 5,
"defaultSort": "DECRASING_DATE",
"enableDebugCustomItemModeOnlyForDevDontUseThat": false,
"enableCooldownClick": false,
"cooldownClickMilliseconds": 500,
"discordWebhook": {
"url": "https://discord.com/api/webhooks/xxxxx/xxxxxxxxxxxx",
"isEnable": false,
"content": null,
"embed": {
"title": "New sale!",
"description": null,
"url": null,
"color": {
"r": 40,
"g": 240,
"b": 40
},
"footer": {
"text": "zAuctionHouseV3",
"iconUrl": null
},
"thumbnail": null,
"image": null,
"author": {
"name": null,
"url": null,
"iconUrl": null
},
"fields": [
{
"name": "Sale",
"value": "Player **%seller%** just added x%amount% %material% for **%price%%currency%**",
"inline": false
}
]
}
},
"numberFormatThousand": "k ",
"numberFormatMillion": "m ",
"numberFormatBillion": "M ",
"numberFormatTrillion": "T ",
"decimalFormatDefault": "#.#",
"decimalFormatThousand": "#.#",
"decimalFormatMillion": "#.#",
"decimalFormatBillion": "#.#",
"decimalFormatTrillion": "#.##",
"tablSqlPrefix": "",
"numberFormatSells": [
{
"format": "k",
"multiplicator": 1000
},
{
"format": "m",
"multiplicator": 1000000
},
{
"format": "B",
"multiplicator": 1000000000
},
{
"format": "T",
"multiplicator": 1000000000000
}
],
"enableCacheItems": false,
"cacheSeconds": 15,
"commandCooldownMilliSeconds": 5000,
"enableCooldownCommand": true,
"enableAntiDupeListener": true
}
storage: "JSON"
» You will be able to choose the type of storage for your data. Be careful, if you want to change the storage type you have to turn off the server and then change the file, you cannot change the storage type while the server is active.Type de stockage:
MYSQL
, MARIADB
, PGSQL
, JSON
"defaultEconomy": "VAULT" » You will be able to configure the economy that will be used by default for the sale of items.
Economy:
VAULT
, PLAYERPOINT
, TOKENMANAGER
, MYSQLTOKEN
, CUSTOM
, LEVEL
, ITME1
, ITEM2
, ITEM3
Last modified 2mo ago