Configuration

Storage

  • Storage: Choose storage type in JSON, SQLITE and MYSQL

  • UpdateInterval: Allows to update the data

# Change the storage type of the plugin.
#
# Here are the types of storage available:
# - JSON, a JSON file that will contain all the plugin data, for small and medium servers
# - SQLITE, use of a database, for large servers
# - MYSQL, use of a database, for large servers
#
storage: JSON

# Updates data every 120,000 milliseconds (2 minutes).
# If the storage is in JSON, then the file will save
# If the storage is SQLITE or MYSQL then the drawers will be updated if they need to be
updateInterval: 120000

# Configuration for SQLITE and MYSQL storage
sql:
  # Table name
  tableName: "zdrawers"
  user: homestead
  password: secret
  port: 3306
  host: 192.168.10.10
  database: zauctionhouse

Drawer

  • Type: Specifies the drawer type (SINGLE, DUO, TRIO, QUAD).

  • Limit: The maximum number of items a single drawer can hold.

  • EnableHopper: Whether or not the drawer interacts with hoppers.

  • DropContent: Settings for dropping items when the drawer is broken.

    • Enable: Enables or disables dropping of contents.

    • Limit: Maximum items allowed for the drawer to be breakable.

Display Settings

Configure items for drawer display entities.

  • ViewRange: Distance for displaying entities related to the drawer.

  • EnableTextBackground: Enables or disables background behind text display.

Item Configuration

You can configure the item that the player will have in his inventory. The configuration of the items is that of the zMenu plugin, you can use all the information in the documentation here: https://docs.zmenu.dev/configurations/items

Border Settings

You can apply a border to your drawer. The border will be on the front hard drawer.

  • Enable: Toggles the display of borders around the drawer.

  • Scale: Adjusts the scale of itemDisplay entities.

  • Item: Item configuration

Crafting Settings

You can activate a craft for the drawer.

  • Enable: Enables or disables crafting for the drawer.

  • Shade: Defines the crafting pattern.

  • Indredients: The ingredients that were used in the shade.


Number Formatting

Settings for displaying large numbers in a more readable format.

  • Display: Allows the use of colors to display text if number format is disable.

  • Enable: Toggles custom number formatting.

  • Formats: All the formats the plugin will use


Upgrades

Details on available upgrades for the drawer, including material changes and increased item limits.


For more detailed item configuration, refer to the zMenu documentation.

Last updated