No Monster Drop - Flag
LadyCailinBot opened this issue ยท 6 comments
WORLDGUARD-2278 - Reported by yopsy
With this Flag you can disable Mobdrops from all types of mobs. Example: You kill a cow and in this region is the mobdrop disabled the cow dont drop anything
Comment by dddeeefff
I would love this too. It would make it possible to create, on survival servers, mob arenas that don't allow illegitimate items into the players' hands and into the servers' economy
Comment by sk89q
Closing this issue due to age. If someone is still interested in this issue, please make a new one or ask this one to be re-opened.
Comment by dddeeefff.dddeeefff
I would still like this feature.
I think that the implementation would be rather tricky. Since this issue was originally posted, mobs have gained the ability to pick up items, which could lead to players losing their items when the mob doesn't drop it after death. One solution to this would be having a mobs-don't-pick-up-items flag, but a mob could potentially pick up an item inside the region and then wander into it. Alternatively, the flag could allow player item drops to be dropped - I've no idea how you'd manage that though.
I ended up implementing this myself using CommandHelper, however; CH's WG support is broken atm (due to WG6 API changes and/or UUIDs I think) so I've lost the ability to do this. It proved rather tricky to implement in CH since, if I recall correctly, regular item drops are treated differently to equipment drops. Is this true of the Bukkit API too?