economy-plugin
v1.0.0
Published
**Developed by Uncommon** --- Welcome to the Economy-Plugin! This plugin is expertly crafted to integrate with your **[Robo.js](https://github.com/Wave-Play/robo)** setup, enhancing your bot with new features and capabilities. Once installed, it automatic
Downloads
65
Maintainers
Readme
🚀 Economy Plugin
Developed by Uncommon
Welcome to the Economy-Plugin! This plugin is expertly crafted to integrate with your Robo.js setup, enhancing your bot with new features and capabilities. Once installed, it automatically adds exciting economy-based functionalities!
The Economy Plugin encompasses essential commands for a basic economy bot. Data storage is managed via Flashcore. This feature enriches the user experience by providing goals like purchasing roles to customize names or prioritizing display in user lists. Everything is customizable!
Getting Started
To initiate, execute the /admin set-up
command.
Configurable Settings
While you can modify all settings by editing the code, basic adjustments are also accessible via bot commands, such as /admin settings change
. This command displays a menu of configurable options.
| Settings | Description |
|-------------------------|----------------------------------------------------------------------------------|
| Economy Name
| Designate the display name for the economy |
| Starting Balance
| Specify the initial balance for all members |
| Daily Claim Amount
| Define the daily reward amount accessible via /daily
|
| Economy Sign
| Choose the currency symbol (e.g., £, $, €) |
| Shop Status
| Enable (true
) or disable (false
) the shop commands |
| Gamble Returns
| Determine payout levels for gambling commands (Very high, High, Medium, Low) |
| Robbery Success %
| Set the success rate for the /rob
command |
| Admin Role
| Assign the role required for admin-level commands |
| Member Role
| Set the role needed to access economy commands; set to 0 to disable |
User Commands
| Command | Description |
|---------------------|--------------------------------------------------------------|
| /balance
| View your current balance |
| /coinflip
| Win money by guessing the coin toss outcome |
| /daily
| Claim a daily reward every 24 hours |
| /leaderboard
| Display the top 10 richest members |
| /roll-dice
| Roll a dice for a chance to win substantial rewards |
| /transfer
| Transfer funds to another user |
| /rob
| Attempt to steal money from another user |
| /shop list-items
| View available items for purchase |
| /shop buy-item
| Purchase an item from the shop |
Administrative Commands
| Command | Description |
|-----------------------------|------------------------------------------------------------|
| /admin edit
| Modify user balances |
| /admin set-up
| Initialize the plugin setup |
| /admin reset-daily
| Reset a user's daily claim cooldown |
| /admin reset-leaderboard
| Reset the leaderboard if necessary |
| /admin reset-rob
| Reset a user's robbery cooldown |
| /admin shop add-item
| Add a new item to the shop |
| /admin shop delete-item
| Remove an item from the shop |
| /admin shop reset
| reset the economy shop items |
| /admin settings change
| Update plugin settings |
| /admin settings info
| View current settings configurations |
| /admin settings reset-everything
| completly reset the economy (the balances, item in shop and leaderborad) other then settings use |
➞ 📚 Documentation: Getting Started
➞ 🚀 Community: Join our Discord Server
Installation 💻
To install this plugin in your Robo project, run the following command in your project directory:
npx robo add economy-plugin
This command links the plugin with your existing Robo setup, including any necessary bot permissions when generating an invite link using npx robo invite
.
Enjoy the new functionalities of your enhanced Robo bot! 🚀
New to Robo? Start your project here!