Cramming Drop Blocker
This is a very simple plugin that prevents items from dropping off of mobs that die from cramming, suffocation or anything else you want to prevent.
Why would you want this?
If you run an economy server or server where items have worth, many players will build massive cramming farms to farm hundreds of stacks of items very quickly. This plugin prevents that so players have to work harder to get the items that drop from mobs.
Commands:
/cdb reload
Permissions:
cdb.reload
The config file lists all the possible ways for a mob to die from damage and whether they should drop items from that damage. You should configure these to fit your needs. I have tried to preconfigure what I think players might abuse to afk farm items, but you should still take a look at them. Damage cause descriptions are listed here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
Config:
IgnoreWorlds: world1,world2
AllowDropsFor:
BLOCK_EXPLOSION: true
CONTACT: false
CRAMMING: false
CUSTOM: false
DRAGON_BREATH: false
DROWNING: false
DRYOUT: true
ENTITY_ATTACK: true
ENTITY_EXPLOSION: true
ENTITY_SWEEP_ATTACK: true
FALL: false
FALLING_BLOCK: false
FIRE: false
FIRE_TICK: false
FLY_INTO_WALL: false
HOT_FLOOR: false
LAVA: false
LIGHTNING: true
MAGIC: true
MELTING: true
POISON: true
PROJECTILE: true
SUFFOCATION: false
THORNS: true
VOID: false
WITHER: true
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta