LiteEco 简易经济插件 1.18.x - 1.20
作者:RydlosCZ
发布时间:2022年5月10日
原生版本:未知
测试支持:1.18,1.19,1.20
经济,经济,金钱,绿色环保
点此下载插件详细介绍
💰LiteEco 经济插件
LiteEco 是一个为 Minecraft 服务器设计的轻量级经济插件,支持 Vault API 和多种权限插件,例如 LuckPerms 和 bPermissions。它还支持 PlaceholderAPI 和 MiniPlaceholders,方便进行信息展示。插件推荐使用 PaperSpigot 服务器,不支持代理服务器。
🛠️要求
- Vault 或 VaultUnlocked:Vault, VaultUnlocked
- 权限插件:LuckPerms, bPermissions
- PlaceholderAPI:下载
- MiniPlaceholders:下载
⚠️冲突插件
- Towny:Towny 生成虚假的 UUID,可能导致 LiteEco 出现问题。
- Treasury:未包含 API 支持。
📜命令 & 权限
👤玩家命令
/money help- 权限:
lite.eco.help - 说明: 显示玩家可用命令。
- 权限:
/money bal [username]- 权限:
lite.eco.money - 说明: 显示你的当前余额。
- 权限:
lite.eco.suggestion.players - 说明: 向管理员显示玩家名称建议。
- 权限:
/balance或/bal- 说明:
/money bal的代理命令。
- 说明:
/money top- 权限:
lite.eco.top - 说明: 显示最富有的玩家。
- 权限:
/money pay <username> <amount>- 权限:
lite.eco.pay - 说明: 向目标玩家支付金额。
- 权限:
🛡️管理命令
/eco help- 权限:
lite.eco.admin.help - 说明: 显示管理员可用命令。
- 权限:
/eco add <username> <amount>- 权限:
lite.eco.admin.add - 说明: 给予玩家金钱。
- 权限:
/eco global add <amount>- 权限:
lite.eco.admin.global.add - 说明: 给予所有在线和离线账户金钱。
- 权限:
/eco set <username> <amount>- 权限:
lite.eco.admin.set - 说明: 设置玩家的金钱。
- 权限:
/eco global set <amount>- 权限:
lite.eco.admin.global.set - 说明: 为所有在线和离线帐户设置固定金额。
- 权限:
/eco withdraw <username> <amount>- 权限:
lite.eco.admin.withdraw - 说明: 从玩家账户中移除金钱。
- 权限:
/eco global withdraw <amount>- 权限:
lite.eco.admin.global.withdraw - 说明: 从所有在线和离线账户中移除金钱。
- 权限:
/eco delete <account>- 权限:
lite.eco.admin.delete - 说明: 删除玩家账户及其缓存。
- 权限:
/eco monolog [page] [player]- 权限:
lite.eco.admin.monolog - 说明: 货币日志 - 关于支付、提取、存款等信息...
- 权限:
/eco lang [lang]- 权限:
lite.eco.admin.lang - 说明: 切换插件使用的语言文件。
- 权限:
/eco purge <argument>- 权限:
lite.eco.admin.purge - 说明: 清理数据。
- 权限:
/eco migration <argument>- 权限:
lite.eco.admin.migration - 说明: 将数据库数据导出到 SQL 或 CSV 文件。
- 权限:
/eco convert <argument>- 权限:
lite.eco.admin.convert - 说明: 从其他经济插件转换到 LiteEco。
- 权限:
/eco debug create accounts <amount>- 权限:
lite.eco.debug.create.accounts - 说明: 创建虚拟账户并保存到数据库。
- 权限:
/eco reload- 权限:
lite.eco.admin.reload - 说明: 重新加载配置和当前语言文件。
- 权限:
⚙️配置 & 文件
config.yml
#Official settings for this plugin.
plugin:
# Translations list of supported locales below
# https://github.com/EncryptSL/LiteEco/blob/main/src/main/kotlin/encryptsl/cekuj/net/api/enums/LangKey.kt
translation: EN_US
# Plugin prefix
prefix: "[Eco] » "
# Enable or disable Metrics
metrics: true
# Settings for modifiable players suggestion.
# Enabled: Offline Players Suggestion..
# Disabled: Online Players Suggestion...
offline-suggestion-players: true
economy:
currencies: # Since 1.4.8 to newer versions
# Don't change this currency because this is implemented for vault....
# Key of currencies is name of table please don't change this value if you don't want to lose data.
dollars:
currency_name: dollars
currency_plural_name: dollars
currency_singular_name: dollar
# Currency Format
currency_format: '$ '
# This amount is granted to players who don't have an existing account in the database.
starting_balance: 30
# This amount is checked when player is above allowed limit
balance_limit: 1000000
# Enabled or disable balance limit, disabled check mean fully for paid amounts by player, given/set by admins.
balance_limit_check: true
# Convert large currency values into a more compact format.
compact_display: false
# Example of other currencies
# Don't change this currency because this is implemented for vault....
# Key of currencies is name of table please don't change this value if you don't want to lose data.
# credits:
# currency_name: credits
# currency_plural_name: credits
# currency_singular_name: credit
# Currency Format
# currency_format: '€ '
# # This amount is granted to players who don't have an existing account in the database.
# starting_balance: 30
# # This amount is checked when player is above allowed limit
# balance_limit: 1000000
# # Enabled or disable balance limit, disabled check mean fully for paid amounts by player, given/set by admins.
# balance_limit_check: true
# # Convert large currency values into a more compact format.
# compact_display: false
# Enable logging about economies activities add, set, withdraw, pay money.
# Command /eco monolog [player]
monolog_activity: true
formatting:
# Currency value format
currency_pattern: "#,##0.00"
# Compact value format
compacted_pattern: "#,##0.0##"
# Locale symbol format
currency_locale: en-US
# These settings toggle messages.
messages:
global:
notify_add: true
notify_withdraw: true
notify_set: true
target:
notify_add: true
notify_withdraw: true
notify_set: true
# Settings for Database or SQLite connection.
database:
# For SQLite, the path to the SQLite database file: jdbc:sqlite:plugins/LiteEco/database.db
# For MySQL, the JDBC connection URL in the format: jdbc:mysql://your_host:port/name_of_database
connection:
# Settings for JDBC_HOST
jdbc_url: "jdbc:sqlite:plugins/LiteEco/database.db"
# The username of the user to connect to your database (MySQL only).
username: user_name
# The password of the user to connect to your database (MySQL only).
password: password
# You can enable sql-plugin-logger for some problems with database...
sql-plugin-logger: false
# Please don't remove this version settings
version: 1.2.5