registerHook using the event name onItemTransferred.
Payload
Examples
Block police weapons in player inventory
Block police weapons in player inventory
Simple crafting (drag items together)
Simple crafting (drag items together)
registerHook API, available filters (including the transfer-specific inventoryFromTypeFilter/inventoryToTypeFilter/intraInventoryOnly), and return-value behavior.