- Improved read/write transaction speed in all storage systems
- Optimized MySQL, SQLite, JSON, and YAML storage performance
- Reduced storage lookups during tab completion
- Refactored economy storage into a cleaner multi-class architecture for easier future updates
- The new config and messages keys will be added automatically
- Fixed tab completion to match the active economy storage only
- Fixed offline player balance handling
- Renamed `economy` to `balance` in YAML and JSON storages system to match SQLite and MySQL for future compatibility
- - If you use YAML (`Mineconomy\player_economy\YAML`) or JSON (`Mineconomy\player_economy\JSON`) you have 2 options:
- - - Rename (in YAML or JSON folder) in all player files the `economy` value to `balance` and save all files with this change to save economy values
- - - Delete the folder (YAML or JSON) and LOSE the economy balance of all players
- Moved messages key `messages.pay-self` to `messages.pay.self`
- Added new top command `/money top [amount]`, `/eco money top [amount]`
- Added new top message:
Code (Text):
messages:
top:
title: '&b<---- &6TOP ECONOMY &b------------------------------------>'
entry: '&6#%playerTop_<top>% &b%playerName_<top>% &7- &a%balance_<top>%'
player:
- ''
- '&fYou: &6#%playerTop% &d%playerName% &7- &a%balance%'
- Added new config:
Code (Text):
config:
# Clear loaded player balance cache every X minutes
# This is not used in MySQL
# 300 = 5 hours, 0 = disabled
loaded-player-cache-clear-minutes: 300
- Added new economy storage stats placeholders [
See it here] `
%totalStorageQueryCount%`,`
%readStorageQueryCount%`,`
%writeStorageQueryCount%`, `
%totalStorageAvgQueryMs%`, `
%readStorageAvgQueryMs%`,`
%writeStorageAvgQueryMs%`,`
%loadedPlayersCount%`
- Added new top plugin placeholders `
%playerTop%`, `
%playerName%`, `
%balance%`, `
%playerTop_<top>%`, `
%playerName_<top>%`, `
%balance_<top>%`
- Added new PlaceholderAPI internal placeholders `
%mineconomy_player_name%`, `
%mineconomy_player_balance%`, `
%mineconomy_player_top%`, `
%mineconomy_top_player_name_<X>%`, `
%mineconomy_top_player_balance_<X>%`
- Added new default permission `mineconomy.use.top` to use the top command
- Now, `player_name` is stored in the data storage. This allows networks (using the MySQL database) to display the names of top players on any server, even if those players have never logged in.
- - If a network wants each server to have its own economy and top rankings, they should use a data storage system other than MySQL. SQLite is recommended.
- - Also, if SQLITE, JSON, or YAML is used, player names are also saved. This is in case a new server is created and the economy from the old server is transferred to the new one, without losing player names.
- Any issue, bug, or error you find in this plugin, please report it on [
Github] or via [
Spigot]. If possible, provide some steps to reproduce the issue.