1 146
收录服务器
1525
注册
44 623
玩家
LiteEco 简易经济插件 1.18.x - 1.20
经济,经济,金钱,绿色环保
作 者 RydlosCZ
发布时间 2022年5月10日
支持核心 Spigot
原生版本
支持版本 1.18,1.19,1.20
点此下载

💰LiteEco 经济插件

LiteEco 是一个为 Minecraft 服务器设计的轻量级经济插件,支持 Vault API 和多种权限插件,例如 LuckPerms 和 bPermissions。它还支持 PlaceholderAPI 和 MiniPlaceholders,方便进行信息展示。插件推荐使用 PaperSpigot 服务器,不支持代理服务器。

🛠️要求

⚠️冲突插件

  • 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