destroyInventoryItem
Searches all player, dino, and storage inventories (including offline players) for instances of the specified item and destroys them. Players will not see an “item removed” icon on their screen.
Signatures
beacon.destroyInventoryItem(itemPath);
Parameters
itemPath
The blueprint path of the item that should be destroyed in all inventories.
Examples
Destroy all longnecks
beacon.destroyInventoryItem('/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponOneShotRifle.PrimalItem_WeaponOneShotRifle');