Fixed: - Bug in which you were unable to deposit money after restart/reload
- Empty tooBigOrSmallAmount option in config.yml
- There wasn't any message to Operators about version and update
- False sending messages / logs
[Error]
Fixed: - Removed possible memory stealer in Database.java, that was storing Players` object and not theirs unique ids
- Improved generating material from NoteItem.java
Added: - Tab Completer for every command (including blank, so no default will be showed)
- New method that re-formarts config file with old values (used while /opreload command)
Created: - TimeEqualsMoney class that generates database (not saved in file) and rewards player for selected values in config
Fixed: - Removed @testonly from ColorUtils.java
- Changed "Best" code length from 12 to 10
- Changed onPlayerJoin event to joinEvent
Added: - Auto-Updating config file WITH old values
Created: - Entire new class ClickEvent.java which tracks for Player Interact Event and checks if player "deposited" clicked money note
- New class that is allowing to manipulate deaths' economy settings
- /moneynote class (/withdraw as alias) that can generate a note
- New class file that generate Moneynote Itemstack
Greetings.
Today I come with new Big update which:
Fixes: - Error while trying to use not generated code Added: - Metrics.java which tracks statistics, more info at bstats.org - OpEconomyApi.java which developers can use - OpEconomyExpansion.java that is used in PlaceholderAPI - UpdateChecker.java which will tell if you have the latest version of OpEconomy Created: - PAPI support for all messages (in console they aren't showing) - In Database.java added methods that can return player from positions / player names - Improvement to MoneyExecutor.java
Now PlaceholderAPI is needed to run OpEconomy!
Have fun!
- Added function to Database.java which can generate all uuids that are used in money map - Added entire section in config.yml which represents balancetop command - Added to ObjectUtils.java methods that are used in /baltop command (hover / click events) - Added TimeWatch.java with new catalog that can be used for testing (e.g testing performance how quick baltop can be generated [ms])
- Created new Command Executor: BalTopExecutor.java, which allows you to use /baltop command, that creates pages of top player's with money - Created entire new Database.java (which doesn't generate new file, but instead it's using already generated one, money database) - Created NameFetcher.java which will be later used for better getting player / uuid
Code optimization in relation to the file size (from 72 kb to 46 kb)