Any plugin or way to make mob drops only come from player kills?

As the title says, I am looing for a plugin that lets me basically disable AKF/Auto Mob farms. I want the players to have to actualyl kill the mobs to get the loot. Any suggestions appreciated! Cheers
11 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by ryanlego9#0
ProGamingDk
ProGamingDk2y ago
you could get a custom plugin to cancel fall damage from mobs
Ryanlego9
Ryanlego9OP2y ago
With mob limits in chunks, spawners are spawning in mobs that are entity crushing. That's my biggest issue.
Mortis
Mortis2y ago
Custom plugin that cancels the drop of mob unless killed by entity player You'd probably want it to work with wolves too
Chechu
Chechu2y ago
EntityDamageByEntityEvent and if damage cause is a player and the final damage (calculated for armors, resistances...) is higher than the current hp, then you can add it to a hashmap for the EntityDeathEvent, if it could remove the dead entity from the hashmap, allow drops, otherwise, clear drop list. Need to allow drops if dead entity is a player if you want players to drop their inventory on death afaik
QarthO
QarthO2y ago
Players can still create afk farms using things like tnt, or auto clickers
Chechu
Chechu2y ago
can't deal with autoclicker... for tnt you might find something useful in EntityDamageByEntity or EntityExplosion
Discount Milk
Discount Milk2y ago
Auto clicker is probably something an anti-cheat could catch
Ryanlego9
Ryanlego9OP2y ago
Anyone know of a plugin that could do this? Thanks for the help guys! Ya!
QarthO
QarthO2y ago
I think you’d want a custom plugin made. Or think about a different way to tackle the problem I don’t know of a plugin off the top of my head
mercury
mercury2y ago
You could have auto afk kick enabled, after a certain amount of time the player is made afk and if they are afk a certain amount of time they are kicked from the server

Did you find this page helpful?