Skip to content

BuyPriceExchange

BuyPriceExchange.xml defines guild currency exchange prices: mappings between items and their guild money cost, stored across one or more ExchangeList sections.

VersionStatus
v92Full
v90-
v86-

Entity: buyPriceExchanges Operations: create, update, delete, upsert File organization: SingleFile (BuyPriceExchange.xml)


AttributeTypeSinceRequiredDescription
itemIdintv92YesItem template ID (primary key)
guildMoneyintv92NoGuild currency cost for this item

spec:
version: "1.0"
buyPriceExchanges:
create:
- itemId: 45001
guildMoney: 1000
spec:
version: "1.0"
buyPriceExchanges:
update:
- itemId: 45001
changes:
guildMoney: 1500
spec:
version: "1.0"
buyPriceExchanges:
delete:
- 45001
spec:
version: "1.0"
buyPriceExchanges:
upsert:
- itemId: 45001
guildMoney: 2000

Creates the exchange entry if itemId 45001 does not exist, or updates the existing entry if it does.


BuyPriceExchange uses a multi-section layout. The root element contains one or more ExchangeList wrapper sections, each holding Exchange entries:

BuyPriceExchange
└── ExchangeList [1..*]
└── Exchange (itemId, guildMoney) [0..2 per section]

Example XML:

<BuyPriceExchange>
<ExchangeList>
<Exchange itemId="45001" guildMoney="1000" />
</ExchangeList>
<ExchangeList>
<Exchange itemId="45002" guildMoney="2000" />
</ExchangeList>
</BuyPriceExchange>

  • Multi-section navigation: The XML file may contain multiple <ExchangeList> sections. All CRUD operations search across every section to find the target itemId. New entries are created in the first section.

  • Single file: BuyPriceExchange uses FileOrganization.SingleFile — there are no regional variants. All exchange entries live in one BuyPriceExchange.xml file.

  • Small dataset: The XSD allows at most 2 Exchange entries per ExchangeList section. This is a trivial lookup table for guild currency price overrides.