Sneak Peek
This edition of the sneak peek is for the update to the ItemSpy 2.0.1 release.
New features
Description
New features add to the functionality of the plugin. These generally include things like language localization, more ways to perform something, or more options to perform something.
Changes
- Two more ways to receive alerts and scan results, as a setting per-player. The log.txt will record alerts in summary format, the current format.
- Tabular alerts, displaying the data in a clean separated form, on anywhere from 2 to 20 lines.
- Micro alerts, displaying the alert data on exactly 1 line, using more of a list method rather than a sentence.
- The log.txt writer will now be buffered, threaded, and queued, increasing server responsiveness (and reducing disk usage). Added!
- The config will now be cached, making it even faster to process alerts.
Removed during testing, due to glitches. - The ability to log to a .txt file will have a toggle option in the config. Added!
Bugfixes
Description
Bugfixes are meant to improve the stability of the plugin, or to fix things that shouldn't happen. They accomplish this by resolving errors or glitches within the plugin's code.
Changes
- ItemSpy will no longer save the main config when it is disabled. Fixed!
- Container alerts will now display the container name, rather than "container."
Refactoring
Description
Refactoring changes the source code to make it cleaner, faster, more legible, or simply better. This is done by consolidating functions in a way that is useful to the developer.
Changes
- The method of storing alerts to be decoded will be improved. Changed!
- The method of storing all the player data will be consolidated and improved. In progress.
- This means that your .dat file is going to be useless, because the data will be migrated to a .yml form. I will include an automatic function to convert your existing .dat file (if it exists) into the new .yml form.
- No more scheduler tasks to determine if a player's alerts are being dropped. Changed!
- Changed the package namespace to comply with Java convention (doesn't affect anything user-based). Changed!
- Simplified the way ItemSpy gets values from the config. Changed!
Comments