Container dropChance when dropping inventory itemsSolved
Someone recently reported a compatibility issue with the Turret Loadouts plugin, which has an option to lock turrets that were automatically filled with weapons and ammo, to prevent players from accessing them. That functionality works fine standalone, but when the turret is removed by the Remover Tool, the inventory is dropped anyway. I wanted to solve this by setting dropChance = 0 on the turret, since that is automatically considered by the StorageContainer.DropItems() and ContainerIOEntity.DropItems() methods, but the inventory is still dropped due to the fact that Remover Tool uses DropUtil.DropItems() rather than the container-specific methods.

My suggestion is to update Remover Tool to directly consider dropChance. Ideally you could just use the container-specific DropItems() methods, but that would probably not be appropriate for the scenario where the plugin is configured "* - Drop items from container": true since that drops items individually, and it would be best to have a consistent behavior for both configurations.

If you don't want to do this, I can explore implementing new Oxide hooks to allow blocking the methods this plugin is calling, or this plugin could define hooks to allow other plugins to prevent items from being dropped.
I'll try to add a hook. lol

Merged post

You can now prevent it by modifying dropChance
Locked automatically