作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3
平台: fabric
标签: economy utility
BEconomy is a powerful and customizable economy mod designed for Minecraft servers that provides a flexible system for managing currencies, player balances, and economic transactions. Whether you're running a small community server or a large-scale network, BEconomy can be tailored to suit your needs with its easy-to-use commands, flexible configuration options, and support for multiple currencies.
The BEconomy mod provides a range of commands for managing the economy. Below is a list of commands with a brief description and their associated permissions:
Spoiler `/beco balance ` - Permission: `beconomy.balance` - Displays the player's current balance for the specified currency type. `/beco balance ` - Permission: `beconomy.balance.others` - Displays another player's balance for the specified currency type. `/beco pay ` - Permission: `beconomy.pay` - Transfers a specified amount of currency to another player. `/beco add ` - Permission: `beconomy.add` - Adds a specified amount of currency to a player's balance. `/beco remove ` - Permission: `beconomy.remove` - Removes a specified amount of currency from a player's balance. `/beco deposit ` - Permission: `beconomy.deposit` - Converts in-game items representing a currency into balance. `/beco withdraw ` - Permission: `beconomy.withdraw` - Withdraws a specified amount of currency as an item stack for trading or holding. `/beco reload` - Permission: `beconomy.reload` - Reloads the mod configuration without requiring a server restart. `/beco top` - Permission: `beconomy.top` - Displays a leaderboard of players with the highest balances for a specified currency. `/beco set ` - Permission: `beconomy.set` - with this command you can set a amount of money for a player. `/beco offline set ` - Permission: `beconomy.offline.set` - with this command you can set an amount of money to an offline player. `/beco offline balance ` - Permission: `beconomy.offline.balance` - with this command you can see the balance from an offline player. `/beco offline add ` - Permission: `beconomy.offline.add` - with this command you can add money to an offline player. `/beco offline remove ` - Permission: `beconomy.offline.remove` - with this command you can remove a certain amount of money from an offline player.The configuration for BEconomy is highly customizable and can be easily adjusted to fit the needs of your server.
The config file (config/beconomy/config.json) allows you to set up various settings for the economy.
Adding New Currencies
To add a new currency to the economy system, follow these steps:
Locate the Configuration File: Open the config/beconomy/config.json file located in your server's config folder.
Define a New Currency: Add a new entry in the economy list within the config file.
Each currency entry must include:
/beco pay features./beco withdraw features.Example:
{
"name": "&eCobble Coin",
"lore": [
"&8This is a &bcurrency",
"&8Lore 2"
],
"material": "minecraft:paper",
"custommodeldata": 7381,
"currencyType": "cobblecoins",
"balanceStart": 500,
"symbol": "$",
"isPrimary": true,
"transfer": true,
"withdraw": true
}
EX: For Sqlite Database
"localSave": false,
"databaseSave": true,
"database": {
"type": "sqlite",
"host": null,
"port": null,~~~~
"databaseName": "economy.db",
"username": null,
"password": null
}
EX: For MySQL/MongoDB/PostgreSQL Database
"localSave": false,
"databaseSave": true,
"database": {
"type": "mysql", // here you set which type of database to use the plugin!
"host": "localhost",
"port": 3306,
"databaseName": "economy",
"username": "root",
"password": "password"
}


请登录后举报
暂无评论,抢个沙发吧~