Home›Java›Mods›Remove Drops
plugin pvp.jpg
Tired of items on the floor on your pvp server?
Remove the dropped items with this plugin.
For minecraft 1.8.3
Code (Text):
 code to implement in your plugin
    public void onEnable(){
        getLogger().info("xxx");
        getServer().getPluginManager().registerEvents(this, this);
    }
           
       

   

   
    public void onDisable(){
        getLogger().info("xxx");
    }
    @EventHandler(priority=EventPriority.MONITOR)
    public void drops(PlayerDropItemEvent itemEvent){
       
    if(itemEvent.getItemDrop().getType() != null ){
        itemEvent.getItemDrop().remove();
    }
        }
   
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Remove Drops is a free Minecraft Java mod. Downloaded 586 times (via Spigot). Download it and open it directly in the game.

Explore more