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: 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.