block "X" item on arenas


I have a custom server and i need block “x” item on arenas.

how can I do this?

sorry my english

thanks you!

as I can lock an item in an area(map)? anyone knows?


You can block the player from equipping the item in the function that handles CanEquip.
But what should happen if the player already has the item equipped when trying to enter? You can not unequip the item unless you mail it to the player if he has no space. Possibly using some mechanic like what running out of durability could work?