v1.4.0.0 - Improved reliability and performance improvements
-
Implemented fixes for backpack system crashes, memory leaks, and permission issues:
- Attempted to resolve thread safety issues to prevent server freezing during heavy use.
- Workaround for possible memory leaks by ensuring backpacks properly clean up when players leave.
- Implemented fix for permission changes to handle item preservation and restoration correctly.
- Optimized file operations to make saving/loading more efficient.
- Enhanced overflow system to prevent item loss and duplication on permission changes.
-
Attempts to improve overall plugin functionality:
- Atomic saves to ensure data integrity even during server crashes.
- Admin tools refinement to allow viewing player backpacks without conflicts.
- Constants implementation for navigation arrows and slots to replace magic numbers.
- Loop protection to prevent items from getting stuck in endless loops.
-
Performance optimization attempts
- Reduced memory usage per player.
- Accelerated file operations for faster backpack interactions.
- Improved queue management to reduce "wait to open" occurrences.
Previous Version:
- v1.3.2.0:
- Fixed Messages not loading from file
- Made so if the player has items present in the overflow file, it will be visible from the /bpview command so an admin can take and recover items
- v1.3.1.0:
- Added fallback option to prevent losing items on permission shrinks
- Added lock mechanism to prevent two players accessing the same inventory at the same time (ex. /bp and /bpview), not ideal but safest approach to prevent item duping
- Rewrote Messages, Titles, and Item Names to read from configuration files for player customization
- Command /vsreload no longer needed to update inventory sizes - now done automatically
- Command /vsreload now reloads the text cache used for titles and messages
Full Changelog: https://github.com/852DuartePls/Spigot-VirtualStorages/compare/1.3.1.0...1.4.0.0
VirtualStorages | Backpacks 1.3.0.2
on Jul 19, 2024Changes:
Small bugfixes
Full Changelog: 1.3.0.1 >> 1.3.0.2
It is still recommended to make a backup of all the backpacks just in case
Previous Changes:
- Fixed error displaying the Backpack Title after updating the permissions.
- Added a new command "/backpackview " to display the content of another player's backpack ingame.
- The permission "virtualstorages.admin" is now necessary for both reload and bacpackview.
- The data is now compressed into a .gz file to reduce storage space.
- Old .yml files should still be recognizable by the plugin without losing any data from the backpacks, and they will be converted into the new format.
- Many internal changes in the code.
VirtualStorages | Backpacks 1.3.0.1
on Jul 12, 2024Out of Experimental
It is still recommended to make a backup of all the backpacks just in case
Changes:
- Fixed error displaying the Backpack Title after updating the permissions.
- Added a new command "/backpackview " to display the content of another player's backpack ingame.
- The permission "virtualstorages.admin" is now necessary for both reload and bacpackview.
Previous Changes:
- The data is now compressed into a .gz file to reduce storage space.
- Old .yml files should still be recognizeable by the plugin without losing any data from the backpacks and will get converted into the new format
- Many internal changes in the code.
VirtualStorages | Backpacks 1.3.0.0-EXPERIMENTAL
on Jul 6, 2024HIGHLY RECOMMENDED TO BACKUP ALL YOUR VIRTUALSTORAGE'S RELATED FILES BEFORE UPDATING TO THIS VERSION
Changes:
- The data is now compressed into a .gz file to reduce storage space.
- Added a new command "/backpackview " to display the content of another player's backpack ingame.
- This command requires the new permission: "virtualstorage.admin"
- Many internal changes in the code
- Old .yml files should still be recognizeable by the plugin without losing any data from the backpacks, but it is still recommended to make a backup.
VirtualStorages | Backpacks 1.2.2
on Jun 14, 2024- Optimized code and implemented asynchronous inventory loading for improved performance
- Now backups are created every time the server is closed or the /vsreload command is used
- New techniques were implemented to avoid deleting items or cases where the entire backpack was deleted when an item was in the slot where a “Navigation Item” should appear
VirtualStorages - 1.1.1
on Apr 22, 2024- Modified YAML File Naming in saveAllBackpacks()
- Adjusted method to include PlayerName in the YAML file names along with UUIDs during inventory saving, changing file name format from "UUID.yml" to "PlayerName - UUID.yml".
VirtualStorages 1.1
on Apr 15, 2024Enhanced exception handling, refactored permission updates, improved logging, code cleanup, and documentation improvements for better code reliability and maintenance.
VirtualStorages 1.0
on Apr 13, 2024First Release



