Economy System

Squint's economy system allows users to earn, save, and spend virtual currency within your server. It includes features like daily rewards, working for coins, a bank for savings, and a shop for items.

Setup

No specific setup command is required. The economy system is active by default, and user data is created automatically upon their first interaction with an economy command.

Configuration

  • balance: The amount of coins a user has in their wallet.

  • bank: The amount of coins a user has deposited in their bank account.

  • inventory: A list of items a user owns.

  • history: A log of a user's economy transactions.

  • lastDaily: Timestamp of the last time a user claimed their daily reward.

  • lastWeekly: Timestamp of the last time a user claimed their weekly reward.

  • lastWork: Timestamp of the last time a user worked for coins.

  • lastMonthly: Timestamp of the last time a user claimed their monthly reward.

  • dailyStreak: The number of consecutive days a user has claimed their daily reward.

  • fishTypes: A list of fish objects with name, emoji, price, and rarity for the fishing minigame.

  • baseChances: Probability percentages for different fish rarities.

Usage

  • Check balance: ;economy balance

  • Claim daily reward: ;economy daily

  • Work for coins: ;economy work

  • Deposit to bank: ;economy bank_transfer <amount>

  • Withdraw from bank: ;economy bank_withdraw <amount>

  • Give money to another user: ;economy give_money @user <amount>

  • View leaderboard: ;economy leaderboard

  • Check daily streak: ;economy streak

  • Go fishing: ;economy fish

  • ;economy - Main command for all economy features.

Last updated

Was this helpful?