Upgrades
Upgrades Menu
This section defines the layout and navigation options within the upgrade menu for the VoidChest plugin. The menu is structured into slots, each representing a button or display for navigation and information.
Values:
title: The title of the upgrades menu, which supports dynamic placeholders like
%currentPage%
to show the current page of the menu.navigation: A section where each number (0-8) represents a slot in the player's inventory. Each slot defines:
name: The name that will appear when hovering over the slot.
item: The item that will appear in the slot (e.g., "PAPER", "PLAYER_HEAD").
skull property: Used if the item is a player head, specifying the texture of the head.
action: Defines the action when clicked, such as
NOTHING
,PREVIOUS_PAGE
,NEXT_PAGE
, orCLOSE
.lores: A list of lines displayed as the item’s description when hovered over.
Configuration Example:
BoundingBox Upgrade
This upgrade enhances the collection range of the VoidChest, defining the area within which items are collected.
Values:
item:
type: The type of block used to represent this upgrade level (e.g., DIRT, GRASS_BLOCK, STONE).
name: The display name for the upgrade.
lore: Describes the current and next level of the upgrade, including collection range information (Max/Min X, Y, Z values).
price: The cost to upgrade to this level.
minX, minY, minZ: The minimum coordinates (relative to the VoidChest) for item collection.
maxX, maxY, maxZ: The maximum coordinates (relative to the VoidChest) for item collection.
Configuration Example:
BoostSell Upgrade
This upgrade increases the sell boost of the VoidChest, meaning the chest will sell items for a higher profit.
Values:
item:
type: The type of item used to represent this level (e.g., COAL, IRON_INGOT, GOLD_INGOT).
name: The display name for the upgrade.
lore: Describes the current and next level, including the sell boost percentage.
price: The cost to upgrade to this level.
value: The percentage increase in sell prices. A value of 1.0 corresponds to a 100% boost in sell prices.
Configuration Example:
Links Upgrade
This upgrade allows the VoidChest to link with other VoidChests, enabling shared item collection between multiple chests.
Values:
item:
type: The type of chest used to represent this level (e.g., TRAPPED_CHEST, CHEST, ENDER_CHEST).
name: The display name for the upgrade.
lore: Describes the current and next level, including the number of links to other VoidChests.
price: The cost to upgrade to this level.
value: The number of other VoidChests this chest can link with.
Configuration Example:
Last updated