Skip to content

PremiumSlot

PremiumSlot.xml defines premium slot configurations: groups of slots (SlotSet) each containing positional entries (Slot) that represent item usage, item rewards, or skill activations with cooldown and limit constraints.

VersionStatus
v92Full
v90-
v86-

This schema uses a 2-level nesting structure (PremiumSlot -> SlotSet -> Slot) stored in a single XML file. The root element carries a data attribute (dailyResetHour).


Entity: premiumSlots Operations: create, update, delete, upsert, root


AttributeTypeSinceDescription
dailyResetHourintv92Hour of day (0-23) when daily slot limits reset

Managed via the root operation block.

AttributeTypeSinceRequiredDescription
slotSetIdintv92YesUnique identifier for the slot set (primary key)
slotslist[Slot]v92NoChild slot entries (max 10 per XSD)
AttributeTypeSinceRequired (create)Description
posintv92YesSlot position within the set (key within SlotSet)
typeSlotTypev92YesSlot behavior type
templateIdintv92YesItem or skill template ID
limitTypeSlotLimitTypev92YesLimit scope for cooldowns and usage counts
coolTimeintv92NoCooldown duration in seconds
coolTimeAlwaysSpendboolv92NoWhether cooldown is consumed even on failure
amountintv92NoQuantity consumed per use
getTemplateIdintv92NoReward item template ID (for GetItem type)
getAmountintv92NoReward item quantity (for GetItem type)

ValueSince
UseItemv92
GetItemv92
Skillv92
ValueSince
characterv92
accountv92

spec:
version: "1.0"
premiumSlots:
root:
dailyResetHour: 6
spec:
version: "1.0"
premiumSlots:
create:
- slotSetId: 1
slots:
- pos: 1
type: UseItem
templateId: 200100
limitType: character
coolTime: 3600
coolTimeAlwaysSpend: false
amount: 1
- pos: 2
type: GetItem
templateId: 200200
limitType: account
getTemplateId: 300100
getAmount: 5
spec:
version: "1.0"
premiumSlots:
update:
- slotSetId: 1
changes:
slots:
- pos: 1
coolTime: 7200
spec:
version: "1.0"
premiumSlots:
delete:
- 1
spec:
version: "1.0"
premiumSlots:
upsert:
- slotSetId: 2
slots:
- pos: 1
type: Skill
templateId: 500100
limitType: character
coolTime: 1800
coolTimeAlwaysSpend: true

PremiumSlot (dailyResetHour)
└── SlotSet (id)
└── Slot (pos, type, templateId, limitType, coolTime?, coolTimeAlwaysSpend?, amount?, getTemplateId?, getAmount?) [max 10]

  • Single file: PremiumSlot uses FileOrganization.SingleFile — all slot sets live in one PremiumSlot.xml file.
  • Composite key: Slots are identified by the combination of SlotSetId + pos. The same pos value can appear in different slot sets.
  • Root attribute: The dailyResetHour attribute lives on the root <PremiumSlot> element. Use the root operation block to manage it, separate from CRUD operations on slot sets.
  • Optional attributes: coolTime, coolTimeAlwaysSpend, amount, getTemplateId, and getAmount are only written to XML when specified in YAML.
  • Update granularity: Updates target specific slots by pos within a slot set. Only specified attributes are modified.