Unofficial site, not affiliated with modrinth.com.What is this?
Все версииMeowEco 26.6.7

MeowEco 26.6.7

Release3 мес. назад

Список изменений

Changelog

Features

1. Restored Classic Top-Level Commands & Enhanced /eco Admin Tools

  • Restored and registered the following top-level commands in plugin.yml:

    • /bal (aliases: /money, /balance)
    • /pay
    • /baltop
    • /eco (alias: /economy)
  • These commands can now be used directly without the /meco prefix, greatly improving compatibility with existing habits of veteran players and administrators.

  • Enhanced /eco admin commands and aligned behavior:

    • Added quick lookup shortcuts:
      • /eco bal [player] [currency]
      • /eco top [currency]
    • All admin subcommands under /eco (give, take, set, hide, refresh, etc.) now work correctly and are consistent with previous behavior.

2. Tab Completion & Permission Control

  • Added / synchronized intelligent tab-completion for all restored commands, improving usability and input efficiency.
  • Strictly preserved the existing permission model:
    • For example, only players with meoweco.admin can use /eco admin features and related subcommands.

3. Baltop UI Cleanup

  • Updated BaltopCommand.java to remove duplicated currency names from the baltop header.
  • The baltop header now uses only the colored display name defined in the config, resulting in a cleaner, more professional, and visually consistent UI.

4. Fully Localized Help Menu

  • Refactored the sendHelp method in MeowEcoCommand.java:

    • All help messages (including player commands and admin commands) are now dynamically loaded from language files.
  • Language & permission support:

    • All help content is now read from zh_CN.yml and en_US.yml, fully respecting the server’s selected language.
    • The help menu is permission-aware and only shows admin entries to users who actually have the corresponding permissions.

5. New Developer API (MeowEcoAPI)

  • Introduced the MeowEcoAPI.java interface providing two core methods:

    • getRegisteredCurrencies(): returns a collection of all registered currency objects.
    • getCurrency(String id): retrieves a currency object by its ID.
  • The implementation of MeowEcoAPI is registered via Bukkit ServicesManager on plugin startup:

    • Other plugins can obtain the API instance via Bukkit.getServicesManager() and integrate with the economy system in a standardized way.

Docs & Config

  • Updated WIKI_CN.md and WIKI_EN.md:

    • Documented /bal, /pay, /baltop, /eco, etc. as “shortcut commands”, while keeping /meco as the unified entry point for users who prefer a single root command.
    • Added a “Developer API” section with code samples showing how other plugins can obtain and use MeowEcoAPI via Bukkit.getServicesManager().
  • Synchronized plugin version and related metadata in build.gradle.kts and plugin.yml to reflect the current feature set.

Метаданные

Канал релиза

Release

Номер версии

26.6.7

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.18–1.21.11

Загрузок

10

Дата публикации

3 мес. назад

Загрузил

ID версии

Главная