Skip to content
On this page

Athena.systems.inventory.config

Modules

Functions

disableWeight

Usage

Athena.systems.inventory.config.disableWeight(): void

Use this function to disable weight restrictions on inventories.

Returns

void

Defined in

server/systems/inventory/config.ts:49


get

Usage

Athena.systems.inventory.config.get(): typeof DEFAULT_CONFIG

Returns the current inventory configurations.

Returns

typeof DEFAULT_CONFIG

Defined in

server/systems/inventory/config.ts:42


set

Usage

Athena.systems.inventory.config.set(config): void

Modify the existing inventory configurations. Values set may not work with interfaces designed for default values above.

Parameters

NameTypeDefault value
configObjectundefined
config.customObjectundefined
config.custom.sizenumber256
config.inventoryObjectundefined
config.inventory.sizenumber30
config.toolbarObjectundefined
config.toolbar.sizenumber4
config.weightObjectundefined
config.weight.enabledbooleantrue
config.weight.playernumber64

Returns

void

Defined in

server/systems/inventory/config.ts:32

Created by Stuyk | Est. 2020