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]

A
uto T rasher ( AT for short) is an awesome plugin allowing automatic deletion of any item you do not want as you gather various supplies, resources, items etc. Tired of your inventory filling up with cobblestone, dirt, and other useless stuff? Right-click your AT and add all those pesky useless items to the AT GUI and keep your inventory Clean ! As you pick up any of the defined items they are automatically deleted! AT supports any item, including custom items, which allows for compatibility with custom blocks and items from other plugins!

[​IMG]
[​IMG] [​IMG]
[​IMG] [​IMG]
Commands:
- /trash [help]____________- Help/Info.
- /trash open______________- Open your trasher.
- /trash toggle____________- Toggle your trasher.
- /trash create____________- Give yourself an AT.
- /trash give <player>_____- Give a player an AT.
- /trash delete <player>___- Delete a players AT.
- /trash reload____________- Reload all configs.
Aliases [at, autotrasher, trasher, autot, atrasher]


Preview & Setup:
[​IMG]
[​IMG]
[​IMG]


Features:
- Works out of the box.
- Setup items to trash in a GUI.
- Supports items from other plugins.
- Track the amount of items you trash!
- Custom/Editable crafting recipe in config.
- Per player Auto Trasher size with permissions.
- JSON '/trash' message with hover and click events!
- Supports custom items with custom names, lores and other data.
- Delete items when picked up if it matches any item from the GUI.
- Change item, name and lores along the way without breaking 'old' Auto Trashers.
- Saves trashed amounts of all items even if removed an re-added.


Default Config.yml:
Code (YAML):
################################################################################
# +--------------------------------------------------------------------------+ #
# |      _           _           _____                  _                    | #
# |     / \   _   _ | |_  ___   |_   _|_ __  __ _  ___ | |__    ___  _ __    | #
# |    / _ \ | | | || __|/ _ \    | | | '__|/ _` |/ __|| '_ \  / _ \| '__|   | #
# |   / ___ \| |_| || |_| (_) |   | | | |  | (_| |\__ \| | | ||  __/| |      | #
# |  /_/   \_\\__,_| \__|\___/    |_| |_|   \__,_||___/|_| |_| \___||_|      | #
# |                                                                          | #
# |                                                                          | #
# | By: Benz56                                                               | #
# +--------------------------------------------------------------------------+ #
################################################################################

# Update Checker.
# Enable or disable the update checker.
UpdateCheckerEnabled
: true


################################################################################
# +--------------------------------------------------------------------------+ #
# |                            Auto Trasher Item                             | #
# +--------------------------------------------------------------------------+ #
################################################################################

# You can change all attributes of the Trasher item
# without making old/previous Trashers unusable.

# The name of the Auto Trasher item.
name
: '&cAuto Trasher'

# Set any amount of lore.
lore
:
 - '&eLeft-Click &ato toggle.'
  - '&eRight-Click &ato open setup.'

# If true the item will glow.
glow
: false

# Set the material and optionally the data value for it.
# The material name and data value are split by a ':'.
# Examples: WOOL, WOOL:14, DIRT, STONE etc.
# N.b. data values are not supported on 1.13+; only the default below:
material
: WOOL:14

# Should players be able to craft the Auto Trasher item?
craftable
: true
# The recipe for the Auto Trasher.
# Use null if no item is needed in that slot.
recipe
:
 - 'GOLD_INGOT, DIAMOND, GOLD_INGOT'
  - 'DIAMOND, REDSTONE_BLOCK, DIAMOND'
  - 'GOLD_INGOT, DIAMOND, GOLD_INGOT'


################################################################################
# +--------------------------------------------------------------------------+ #
# |                       Auto Trasher GUI Appearance                        | #
# +--------------------------------------------------------------------------+ #
################################################################################

# Set the title of the GUI.
title
: '&9&lAuto Trasher : '

# The state of the Auto Trasher is appended to the title.
active
: '&7 (&aOn&7 )'
inactive
: '&7 (&cOff&7 )'

# Specify the size of the Auto Trasher. Max 54.
# If you chose a number that is not a multiple of 9 the remaining
# slots in the last inventory row will contain the 'lockedSlot' item below.
size
: 9

# Set the information on the items below.
# The info is added to the lore in the gui.
info
:
 - ''
  - '&cTrashed
: &a%trashed%'

# 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

Permissions:

- trasher.use______________- Permission to use Auto Trashers.
- trasher.toggle___________- Permission to toggle Auto Trashers via command.
- trasher.create___________- Permission to give yourself an AT.
- trasher.give_____________- Permission to give another player an AT.
- trasher.delete___________- Permission to delete any players GUI setup.
- trasher.open_____________- Permission to open your AT setup GUI via command.
- trasher.reload___________- Permission to reload AT configuration files.
- trasher.size.<size>______- Give players their own Auto Trasher size.


Installation:
1. Put AutoTrasher.jar inside your plugins folder.
2. Start or reload your server.
3. Edit the generated configuration files to your liking.
4. Clean inventories!



Versions:
Currently, 1.8 - 1.16 is supported. Action bar messages in 1.8 - 1.9 are replaced with normal chat messages.
Recommended versions are 1.10.x and up.



Please leave a rating and a comment below! :)
Found a bug? Please let me know in the discussion section or send me a PM.


[​IMG]
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