Auto Trasher | Keep your inventory Clean | [1.8 - 1.16] icon

Auto Trasher | Keep your inventory Clean | [1.8 - 1.16] -----

Resembles an advanced version of the OpenBlocks /dev /null!




[​IMG]

  • Optimization | Prior to this update permissions were checked 1 through 54 to determine the size of inventory a certain player was allowed to use. This has been optimized and is now established based on the player's registered effective permissions. This will improve performance.
[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG]
----------, Mar 8, 2021

[​IMG]

  • Fix | Due to some of the refactorings in the previous update, an error would be thrown on startup on servers running Minecraft version 1.12 or lower. This has been fixed.

    Reported by @Athame; thanks!
[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG]
----------, Feb 13, 2021

[​IMG]

  • Shapeless | You can now make the AutoTrasher crafting recipe shapeless. Enable this by adding the following to your config.yml file:
    Code (YAML):
    # Shaped or shapeless recipe.
    shaped
    : false
    The recipe is shaped by default. You do not have to add the above option if you do not want a shapeless recipe.

    Suggested by @ToxicSchiz; thanks!


  • Reload Enhancement | /at reload now also reload the registered recipe.


  • UpdateChecker Enhancement | The update checker only reports that a new version is available if the version on Spigot is greater than the one installed.
[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG]
----------, Jan 16, 2021

[​IMG]

  • Fix | Due to an inadvertent arithmetic slipup, the task in charge of saving the data file would run every 30 ticks instead of every 12000 ticks i.e. 10 minutes. I apologize for the inconvenience.

    Reported by @freakdk; thanks!
[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG]
----------, Jan 28, 2020

[​IMG]

  • Optimization | The number of I/O operations i.e. file saves, has been heavily reduced from saving to disk every time an AutoTrasher was toggled, an item was trashed, a trasher was edited etc. to just once every 10 minutes instead. This update will have a noticeable positive impact on your server's performance. I recommend and urge you to update as soon as possible.
[​IMG] [​IMG]
[​IMG] [​IMG]
[​IMG]
----------, Jan 27, 2020

[​IMG]

  • Fix | An NPE could occur if trying to interact with an item without any metadata. This has been fixed.
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Dec 23, 2019

[​IMG]

  • 1.15 Support | AutoTrasher now supports 1.15 servers.

  • Fix | A missing check could cause an NPE on BlockPlace. This has been fixed.

    Reported by @Solder; thanks! ;)
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Dec 13, 2019

[​IMG]

  • Ignore Durability | You can now toggle whether AutoTrasher should account for item durability or simply ignore it and treat damaged items as non-damaged items and vice versa. If you wish to make use of this functionality please add the following:
    Code (YAML):
    # Ignore item durability.
    # E.g. putting a full durability axe in the trasher will also trash axes with e.g. 10 durability left.
    ignoreDurability
    : true
    The default is false. If you do not wish to ignore durability you do not have to add the above.
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Dec 9, 2019

[​IMG]

  • Fix | Running 1.13 or 1.14 servers would throw a warning on startup due to a small syntax error. This has been fixed.

    Reported by @minegameworld; thanks ;)
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Sep 3, 2019

[​IMG]

  • Tab Completion | You can now tab-complete all Auto Trasher commands.
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Aug 30, 2019

[​IMG]

  • Feature | You can now select whether players need to have the Auto Trasher item in their inventory for it to trash items. Prior to this update, you were required to have it in your inventory. The following has been added to the config.yml file:
    Code (YAML):
    # Set whether players are required to have the Auto Trasher item
    # in their inventory for it to trash their configured items.
    RequireInInventory
    : true
    You'll have to manually add the above if you wish to change the default from true to false. If you do not wish to change the default (true) you do not have to add the above.
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Aug 7, 2019

[​IMG]

  • ActionBar | ActionBar messages are now supported on 1.8 and 1.9 servers as well.
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Aug 6, 2019

[​IMG]

  • Improvement | The Auto Trasher GUI now supports all sizes between 1 and 54 and not just a multiple of 9. Below is an example of setting the default size to 14:
    [​IMG]
    The remaining slots are filled with a configurable "Locked Slot" item.

  • Dynamic Permissions | You can now give players their own Auto Trasher size with the trasher.size.<size> permission. This takes priority over the default size. If a player has trasher.size.30 their Auto Trasher will be 6 rows with 6 locked slots. Auto Trasher will automatically select the "largest" permission such that if a player has both trasher.size.15 and trasher.size.20 their Auto Trasher will be 20 slots.

  • Config.yml | The following has been added to the config.yml file:
    Code (YAML):
    # The item that appears in slots a player can't use.
    lockedSlot
    :
      name
    : '&cLocked Slot!'
      lore
    :
       - '&7This slot is locked!'
      glow
    : false
      material
    : STAINED_GLASS_PANE:14
    You'll have to add it manually if you wish to change the Locked Slot item.

    Features suggested by @TakenNone and @ArZor; thanks :)
[​IMG] [​IMG]
[​IMG]
[​IMG]
----------, Aug 5, 2019

[​IMG]

  • Craftable | You can now choose whether the Auto Trasher item should be craftable or not. The following has been added to the config.yml:
    Code (YAML):
    # Should players be able to craft the Auto Trasher item?
    craftable
    : true
    You'll have to add the above manually if you wish to change craftable to false. If you do not want to change the default you do not have to add the above.

    Suggested by @TakenNone; thanks :)
[​IMG] [​IMG]
[​IMG]
----------, Aug 2, 2019

[​IMG]

  • Permissions | Added all permissions to the plugin.yml as well as a short description of each permission.
[​IMG] [​IMG]
[​IMG]
----------, Jul 28, 2019

[​IMG]
  • Update Checker | With this update and onwards a message is printed in the console when a new update is available on Spigotmc. OP's are also notified of new updates when they join. You may disable the Update Checker by adding the following to your config.yml:
    Code (YAML):
    # Enable or disable the update checker.
    UpdateCheckerEnabled
    : false
    By default, the Update Checker is enabled. If you do not wish to disable it you do not have to add the above.

  • Fix | The glow option in the config was not loaded which meant that regardless of what it was set to in the config it would always be false. This has been fixed.
[​IMG] [​IMG]
[​IMG]
----------, Jun 25, 2019

[​IMG]

  • Metrics | Added Metrics.
[​IMG] [​IMG]
[​IMG]
----------, Jun 24, 2019

[​IMG]

  • 1.13 and 1.14 | AutoTrasher now support 1.13 and 1.14 servers!

    Please note that if your material for the autotrasher contains a datavalue you'll have to change that to an enum that is present in 1.13/1.14. E.g. black wool would have been WOOL:15. You have to change that to BLACK_WOOL. An exception has been made for WOOL:14 which will automatically resolve to RED_WOOL as it is the default.

  • Fix | When left clicking to open you can no longer accidentally break the block you're looking at.

  • Fix | Reloading the plugin with e.g. Plugman or BileTools no longer throws an exception.
[​IMG] [​IMG]
[​IMG]
----------, Jun 23, 2019

*Important*
This update completely changes everything internally and how the plugin is handled and saved. The jar has been renamed meaning a new folder with the configuration files will be created.
Delete the old auto_trasher.jar and folder -> Drag & drop the new jar -> Reload -> Then edit the new configuration files to your liking.

Changes:
This update is actually a completely new plugin. Everything has been re-coded from scratch. This has been done due to some inconsistent methods which could throw NPE's and other exceptions at any moment due to unchecked castings aka. bad coding. Since I created this plugin I have improved vastly in many aspects of the Spigot API as well as general Java programming. The plugin now utilizes completely new reliable methods and Base64 encoding for saving. All messages are now configurable in a yml file, the config has been redone, trash amounts are saved even if the item is removed and re-added to the GUI, and much, much more!

Please send me a message if you have questions or any issues should come up :)
----------, Mar 15, 2018

Changes:
  • Feature - Added an option to make the inventory larger so you can trash more items. Add the following to the config.yml file:
    Code (YAML):
      # - Set the size of the GUI. Increment by 9. Max is 54.
      # - It is advised not decreasing the size once used with larger sizes.
    GUI_size
    : 9
----------, Mar 12, 2018

Changes:
  • Fix - Fixed an issue regarding block placing which would spam your console.
  • Improved - Cleaned up some of the events in this process as well.
----------, Nov 26, 2017

Changes:
  • Added - Trash tracker. Keep track of how many items you trash. (Works with custom items aswell)
  • Improved - Duplicate prevention improved. You can no longer have two of the same item in your Trasher.
  • Fix - Eighth item slot was a bit buggy and has now been fixed.
[​IMG]
You do not have to delete player_data.yml. This update should allow for compatibility and adaptability with previous versions. If errors should occur generate a new player_data.yml or send me a PM with the console stacktrace
----------, Aug 23, 2017

Changes:
  • Bug Fix - Removed ability to shift-click stacks.
----------, Aug 22, 2017

Updating?
Updating from 1.0.0? Save a copy of your current config, and let a new one generate.

Changes:
  • Added - 1.7.x Support.
  • Important - If running spigot 1.7.x the plugin will throw an error on startup. Go to the generated config and change 'trasher_item: BARRIER' to an item supported in 1.7.x!
----------, Aug 20, 2017

Resource Information
Author:
----------
Total Downloads: 4,092
First Release: Aug 20, 2017
Last Update: Mar 8, 2021
Category: ---------------
All-Time Rating:
7 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings