Skip to content

Configuration

Jerry Lum edited this page Feb 2, 2021 · 3 revisions

Configuration


General

lang

The language used by the console. It also affect the title of the public trash bin.


mode

The inventory mode. It can be share or separate. It does exactly what you think.


size

The number of rows in the bin. Range: 1 to 6.


countdown-despawn

Despawn an item stack after a certain amount of time. Every item stack has its own despawn timer. When the time is up, the item stack will be removed from the inventory. When the quantity of the item stack is changed, the despawn timer will be reset to zero.


clear-intervals

Remove all items at regular intervals. Show warning messages when the trash bin is about to be cleared.


remove-when-full

Remove item stacks when there is not much space left. The system will remove item stacks with lower priority. Please check the Sorting Principle section to understand how the system calculates the priority.


smart-grouping

Stack similar items together and sort them according to specified principles. The item stack with the highest priority will be placed in the first grid.


collect-despawn

Experimental function

Collect all dropped items that are about to disappear in the server into the public trash bin. These items include but are not limited to items that disappear due to despawn time, cactus damage, magma damage, or explosion damage. Items that disappear because of being dropped into the void are exceptions.



Sorting Principle

The system will sort items according to some principles. An ordered list in the configuration file indicates the sorting principles. When the system needs to evaluate which of the two items has a higher priority, it will start scoring from the first principle. If the scores of the two item stack are the same, the next principle will be considered, and go on.


Type

Sort by the name of the item. The letter Z is the largest.


Metadata

Sort by the number of enchantments the item has. More is better.


Durability

The sooner it breaks, the better


Amount

The more the better.


Time

Sort by the time placed in the inventory. Newer is better



Config Auto Update

Starting from 1.1.0, the plugin will automatically update the config file to the latest version. Before the update starts, the plugin will backup the old config file to the ./backup folder.

The updated config file will retain most comments, if the updated config file is not satisfactory or contains error, you can manually replace the updated config file with the backed up one.