I use Comet!Are you using Plus? This seems to be a crackable furniture like the party hat gift boxes, eggs etc., not implemented in Plus.
Edit: Didn't answer your actual question, I'm sorry. Since 'crackable' is just an interaction-type, I think you only have to create the interaction for it where you most likely have to send back the current state of the crackable but I'm not 100% sure I have not dealt with it yet.
I will look into it since Comet doesn't have crackables implemented either, I might do so and help you out with plus afterwards.
I looked at the GitHub repo from Leon *drumroll* and it's already implemented since a looong looong time - lul, my bad tbh, I wish I had searched for it earlier.I use Comet!
furniture
table and search for the desired crackable furnitureid
column to your clipboard and set the interaction type to crackable
items_crackable_rewards
table and insert a new row which links the reward with the desired crackable furniture.item_id
: Crackable furniture Idhit_requirement
: How much hits you need to crack the furniture / get rewardedreward_type
: Type of reward - BADGE, ITEM, COINS, VIP_POINTS, ACTIVITY_POINTS, EFFECTreward_data
: Only for reward type BADGE, e.g ADM
reward_data_int
: Only for reward type ITEM(Id), COINS(Amount), VIP_POINTS(Amount), ACTIVITY_POINTS(Amount), EFFECT(Id)