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
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
you could get a custom plugin to cancel fall damage from mobs
With mob limits in chunks, spawners are spawning in mobs that are entity crushing. That's my biggest issue.
Custom plugin that cancels the drop of mob unless killed by entity player
You'd probably want it to work with wolves too
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
Players can still create afk farms using things like tnt, or auto clickers
can't deal with autoclicker... for tnt you might find something useful in EntityDamageByEntity or EntityExplosion
Auto clicker is probably something an anti-cheat could catch
Anyone know of a plugin that could do this? Thanks for the help guys!
Ya!
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
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