Items.yml

Items.yml holds all Item information.

It comes with preset settings that I made, but you can feel free to change these default settings. If you ever wish to get these default settings back, you can delete items.yml and restart the server, and the default items.yml will re-generate.

How Item Information is stored Each item appears in a block as so:

STONE:
id: 1
price: .5
floor: .01
ceiling: 1
description: A Smooth Stone
stock: 50
span: 100
buytime: 0
selltime: 0

Let's go over each settings

id

The Data-Value ID of the item

Price

The current price of the item.

Floor & Ceiling

Floor is the minimum price an item can reach, Ceiling is the maximum price an item can reach.

Description

The description that a user gets if they call /price item. Although the command returns price, it also provides a description of the item.

Stock

Current Item stock

Span

This is a very special property used by the DynamicEconomy EnderEngine to calculate the prices of items. Essentially, the higher your span, the slower the price of items will change, while the lower your span, the quicker the prices will change. SPAN MUST BE GREATER THAN 0. Otherwise, you will get problems.

Buytime & Selltime

These are special fields used by DynamicEconomy automatically, and are not for you to set or adjust. This is a special time value indicating the time an item was purchased or sold, to be used for the price decay/inflation over time feature.


Comments

Posts Quoted:
Reply
Clear All Quotes