Remove Drops 2015-04-10

No Drops

  1. Gasperlk
    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();
        }
            }
       
    }

Recent Reviews

  1. Luky584
    Luky584
    5/5,
    Version: 2015-04-10
    Clear easy code :)
    Works as it was described. Good job :)
    (Nice 80 character limit. Rating has to be longer, than code of this plugin :D )
  2. SuperSniper
    SuperSniper
    3/5,
    Version: 2015-04-10
    This plugin is nice, but it is EXTREMELY easy to code. Nice plugin doe :)
    Do you have a skype? We can make a plugin together if youd like