Backpacks 3.5.0 is intended to be fully backwards compatible with previous 3.x versions, but due to the number of users subscribed to the plugin, and the number of changes in this batch, we're releasing a beta to let the community test it out to ensure we didn't break anything before releasing to the broader audience. Thank you for participating!
Download: https://umod.org/plugins/Backpacks.cs?version=3.5.0&branch=beta
Documentation: https://github.com/LaserHydra/Backpacks/tree/develop
New features
- Added config option
"Softcore"->"Reclaim Fraction"which determines how much of your backpack inventory will be sent to the reclaim terminal for safe keeping when your backpack is dropped (from dying or via another plugin causing it to drop). Only applies to the Softcore game mode. - First suggested by Philoludos - Added server command
backpack.erase <id>which erases a player's backpack by Steam ID. - Requested by Kaucsenta
Improvements
- The backpack now opens more quickly, especially for the
/backpackchat command. - Suggested by Ts3hosting - Blacklisting items that are already present in player backpacks will no longer cause them to be erased. Instead, when the owner opens their backpack, the blacklisted items will be added to their inventory, or else dropped if they have insufficient space. - Requested by Mattdokn
Bug fixes
- Fixed several cases of
NullReferenceExceptioncaused by invalid or corrupt data files. The plugin will now simply create a new data file in these cases. - Reported by BlackJackFW95, plus LAIKALIZZARD and Heartlesswolve - Hopefully fixed backpacks occasionally getting stuck unable to be opened. - Reported by Skillz
- Fixed errors when a player tries to open their backpack if it contained items with other items inside them. This improves compatibility with various plugins. - Requested by Ts3hosting
For Developers
- The
CanBackpackAcceptItemhook is now called even when blacklisting is disabled. - Requested by Ts3hosting - Added
API_GetExistingBackpacks()method so that other plugins can get a reference to existing backpack containers. This allows item cleaner plugins to ignore items in backpacks to prevent breaking them. - Implemented by Vlad-00003 - Added
API_EraseBackpack(id)method to erase the contents of a specific player's backpack. - Requested by Kaucsenta