Inventory

For authenticated users zeuz can maintain free-form player inventories. Inventories are part of zeuz’ User Profile service.

In the zeuz Control Panel you can set up possible items and item types.

Item classes

Item classes are used to give shared properties to a common set of items. Currently you can set up these properties:

Field Description
CountMaxU Maximum amount items of this item class a user can have in his inventory (-1 is the constant for zeuz max amount).
LimitAddInterval Minimum duration, before the user can receive a new item of this item class.

Items

Field Description
Class (Optional) name of the class the item should belong to.
CountMaxU Maximum amount of this item in the inventory (-1 is the constant for zeuz max amount).
LimitAddInterval Minimum duration, before the user can receive a new item of this type.
Name Unique name of this item.
Stackable Allows to stack multiple items of this type into one inventory space.

Global Settings

Field Description
Tickinterval Interval of this service running.
UserIdFromSession Users are taken from their Login instead of client provided.
UserCanEdit Allows the end users client to make API calls like add, create, set… – There are only less cases, where this is reasonable.
BarterTimeout Duration of a barter, before cancelled by the service.

Related API endpoints