Hi!
I searched on API events to can interact with item placement / pickup item placed but not find any. They are exist and i missed? Something like:
If this type of event are not yet in API i can use another solution to detect if player want to place a permanent item and eventually stop it? Same for pickup permanent item?
Maybe another solution can be to extend PlayerPickupItemEvent() with a method to get source of item pickedup.
Source can be:
- Ground - for item dropped on ground
- PermanentItem - for items placed permanently
- CraftStation - For items take from crafting station (ex: ingots / ore from furnace, meat/dried meat from Drying rack, meat/cooked meat from grill/oven, etc.)
- etc.
In meantime maybe is a solution for this problem which i don't see it!
Thx in advance!
Bamse