Unofficial site, not affiliated with modrinth.com.What is this?
Моды/EcoBal Economy API
Все версииEcoBal Economy API

EcoBal Economy API

Release7 мес. назад

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

EcoBal Changelog

Version 1.0.1 (Stability & API Expansion Update)

This update focuses on API stability, adding essential API methods for compatibility with leaderboard mods, and improving the command structure.

🐛 Critical Fixes & Stability

  • [FIXED] Permission Fallback: Corrected the OP level requirements when no permissions mod is present:
    • Public commands (/bal, /pay, /baltop, /ecobal) now require OP Level 0 (available to everyone).
    • All administrative commands (/eco give, /ecobal reload, /eco start, etc.) now consistently require OP Level 2.

✨ New API Features (EconomyManager)

  • [NEW] getPlayerBalance(UUID): Added a new API method for external mods to check a player's balance without risking the creation of a new player account. Returns 0.00 if no data exists.
  • [NEW] getAllBalances(): Added a new API method that returns the raw, unmodifiable map of all player balances (UUID to Double). Ideal for leaderboard mods that handle their own complex sorting or pagination.
  • [NEW] getCurrencySymbol(): Exposed the configured currency symbol via the API for external mods to use in custom formatting and display.

💻 Command & UX Improvements

  • [IMPROVED] Baltop Display: The /baltop command now reliably uses the persistent name cache to display the last known username for offline players instead of their UUID string.

Метаданные

Канал релиза

Release

Номер версии

1.0.1

Загрузчики

Fabric

Версии игры

1.21.9–1.21.10

Загрузок

550

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

7 мес. назад

Загрузил

ID версии

Главная