ItemValue

Defines custom buy/sell prices and currency types for items

This configuration file defines custom prices for items, including support for alternative currencies (WCoinC, WCoinP, GoblinPoints).

File Location

GameServer/Data/Item/ItemValue.xml

Dependencies

Depends On
Purpose

Item.xml

Item definitions and default prices

How It Works

  1. When item is bought/sold, server checks ItemValue for custom pricing

  2. If item is found, uses Value and currency toggles from config

  3. If not found, uses default calculated price from Item.xml attributes

Structure

<Item Index="7181" Level="*" Grade="*" Value="90000000"
      WCoinC="0" WCoinP="0" GoblinPoint="0" Sell="100"
      Name="Jewel of Bless"/>

Attributes

Attribute
Type
Description

Index

int

Item index (Category * 512 + Type)

Level

string

* for any level, or 0-15 for specific level

Grade

string

* for any grade, or excellent option value

Value

int

Buy price

WCoinC

int

1 = use WCoinC, 0 = don't use

WCoinP

int

1 = use WCoinP, 0 = don't use

GoblinPoint

int

1 = use GoblinPoints, 0 = don't use

Sell

int

Sell price (0 = Value / 3)

Name

string

Item name (optional, for reference)

Currency Priority

When multiple currency toggles are set to 1:

If all toggles are 0, price is in Zen.

Examples

All currency toggles = 0 means Zen is used.

Important Behavior

circle-info

Default Sell Price: If Sell="0", the sell price is automatically calculated as Value / 3.

circle-info

Match Priority: The server tries matches in this order:

  1. Exact Level + Exact Grade match

  2. Exact Level + Wildcard Grade (*)

  3. Wildcard Level + Exact Grade

  4. Both Wildcards (final fallback)

The first matching entry is used.

circle-info

Unlisted Items: Items not in this file use their default calculated prices from Item.xml Money attribute.

circle-exclamation

Common Issues

circle-exclamation
circle-exclamation
triangle-exclamation

Last updated