
MeowEco
MeowEco is a High-Efficiency, Lightweight, and Highly Compatible economy plugin designed for modern Minecraft servers.
Список изменений
Updates
1. Language File Renaming
- Renamed
src/main/resources/lang/messages_en_US.ymltoen_US.yml. - Renamed
src/main/resources/lang/messages_zh_CN.ymltozh_CN.yml. - Code update: Updated the
resolveMessagesResourceNamemethod inConfigManager.javato remove themessages_prefix. Language files are now loaded directly using theen_US.ymlformat. - Please delete the old language files in the
langfolder before updating.
2. Added Transfer Tax Mechanism
-
Configuration: Added a new
currency.transfer-taxoption inconfig.yml(default:0.0).
Supports tax rates between0.0and1.0(e.g.,0.05= 5% tax). -
Core logic: Implemented transfer transactions with tax support in
DatabaseManager.javaandAbstractSQLDatabase.java, ensuring that the deduction (including tax) and the credited amount (after tax) are completed within the same transaction. -
Command update: Updated
PayCommand.java. Transfer commands now automatically calculate and deduct the tax. -
Multilingual support: Added a new
pay-success-sender-taxmessage in bothmessages_en_US.ymlandmessages_zh_CN.yml. When tax is applied, the sender will see a message including the tax amount.
3. Fixed Baltop Command Issue
- Fixed an issue where the
/baltopcommand would not work properly under certain conditions.
