This is just a plugin that I threw together when I saw a post asking for a way to stop drops for certain blocks when mined in a particular world. It can also be used to prevent broken chests from dropping items in a particular world. If you want other features or customization let me know in the discussion. Please post any bug reports in the discussion as well since I have only tested for functionality but not compatibility, i.e with other plugins. It does work with Multiverse.
Usage is simple. Place the plugin in the plugins folder then restart the server. Then edit the config to your liking and make sure that you change enabled to true, and then do /stopminingdrops reload or restart the server again.
Commands:
/stopminingdrops reload Reloads the config.
/stopminingdrops version Shows the version.
Permission:
stopminingdrops.command Required for both commands or be an op.
Config:
#Hi! Thanks for using Weaves' plugin.
#Blocks drops and xp from mined blocks in a list of worlds.
#Should work with any block in the Material Enum found here:
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
enabled: false
blocks:
- iron_ore
- gold_ore
- diamond_ore
- emerald_ore
- coal_ore
- lapis_ore
- redstone_ore
- nether_quartz_ore
worlds:
- world
- world_nether
- world_end
#Block the contents of a container from dropping when broken by a player, in a list of worlds.
block-container-drops:
enabled: false
worlds:
- creative
enable-metrics: trueSimilar 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