promotional bannermobile promotional banner
premium banner
Transforms an inventory slot into a "trash" slot by deleting items with functionality similar to Terraria's Trash Slot.

Description

JunkSlot

A lightweight Hytale plugin that transforms an inventory slot into a "junk" slot, mimicking the similar behavior to Terraria's Trash Slot. Instead of dropping items, the JunkSlot plugin allows players to remove items with a specified slot.

Features

Items can be dragged into the junk slot, which can act as a temporary inventory slot. The junk slot saves the item until another item is inserted into the junk slot. Here are the list of main features this plugin adds:

Join-Clear

A flag option for a player to delete items in their junk-slot when the player joins the world.

Command: /junkslot --join-clear

Auto-Clear

A flag option for a player to always delete the items inside of the junk slot automatically when an item enters into the junk-slot. The player is notified whenever an item is deleted.

Command: /junkslot --auto-clear

Setting Junk Slot Location

A setter option that allows a player to change the location of the junk slot with up to four places (top-left, top-right, bottom-left, bottom-right).

Command: /junkslot --slot=top_left (Example)

Other small features include:

  • The JunkSlot plugin can be enabled and disabled anytime using /junkslot --enable.
  • SHIFT-Clicking on an item in the hotbar prevents adding the item into the junk slot.
  • Items picked up from the world do not automatically enter into the junk slot unless inventory is full.

Notes:

  • This plugin is currently in development. Custom UI Page implementation will be added for config visualization.
  • Right now, I have no idea how to add an additional slot to the inventory for junk slot purposes. If the ability to add slots in the inventory exists, it is considered.
  • If custom inventory UI is possible (i.e. red border around junk slot), it is considered.