Advanced CryptomarketDeprecated
Config
Configure the framework, database integration, limits, update intervals and optional systems.
Main config
Configuration
Server configuration
Configure the main Advanced Cryptomarket server settings.
source-files/server/server.ts
Aquiver.Config.Framework = "ESX_LEGACY";
Aquiver.Config.SqlDebug = true;
Aquiver.Config.sqlResource = "oxmysql";
Aquiver.Config.checkResourceVersion = true;
Aquiver.Config.ResourceExtra = {
/** Fee percentage applied when depositing or withdrawing cryptocurrency. This fee does not apply to premium users. */
feePercentage: 0.07,
/** Fee percentage applied to premium users. */
premiumFeePercentage: 0.03,
/** Maximum number of digits allowed. */
maxDigits: 5,
/** Maximum number of buy and sell transactions stored in MySQL. */
maximumTransactionHistory: 100,
/** Maximum number of buy and sell transactions shown on the NUI dashboard. */
dashboardMaximumRecentTrades: 20,
/** Maximum number of daily chart entries stored in MySQL. */
maximumDailyDataDays: 30,
/** Maximum number of cryptocurrency history entries stored in MySQL for symbol charts. */
maximumHistoryEntry: 200,
/** Maximum number of sent wallet payments. */
maximumWalletRecentSendPayments: 25,
/** Maximum number of received wallet payments. */
maximumWalletRecentReceivedPayments: 25,
/** Maximum number of wallet notifications. */
maximumWalletNotifications: 25,
/** Maximum number of leaderboard entries sent to the player NUI. */
maximumToplistEntry: 15,
/** Leaderboard update interval. */
toplistUpdateRate: 60000 * 10,
/** Enable or disable the leaderboard. */
leaderboardEnabled: true,
/** Enable or disable player flood protection. */
antiFloodSystem: true,
/** Flood-protection timeout in milliseconds. */
floodSystemMS: 1000,
/** Enable or disable server-side debugging. */
enableDebug: true,
/** Enable or disable Discord messages. */
enableDiscordBot: true,
/** Add your Discord webhook URL here. */
discordWebhook: "",
}