CompetitionDungeon
Version support
Section titled “Version support”| Version | Status |
|---|---|
| v92 | Full |
| v90 | - |
| v86 | - |
CompetitionDungeon.xml defines dungeon competition entries: ranked dungeon configurations with season scheduling, class-based competition modes, and ranking calculation rules.
DSL support
Section titled “DSL support”Entity: competitionDungeons
Operations: create, update, delete, upsert, updateWhere, config
File organization: SingleFile — CompetitionDungeon.xml
Quick recipes
Section titled “Quick recipes”Create
Section titled “Create”spec: version: "1.0" schema: v92
competitionDungeons: create: - id: 9001 active: true classCompetition: "warrior" minRecordRank: 1 seasonOut: falseUpdate
Section titled “Update”spec: version: "1.0" schema: v92
competitionDungeons: update: - id: 9001 changes: minRecordRank: 5 seasonOut: trueDelete
Section titled “Delete”spec: version: "1.0" schema: v92
competitionDungeons: delete: - 9001Upsert
Section titled “Upsert”spec: version: "1.0" schema: v92
competitionDungeons: upsert: - id: 9001 active: true classCompetition: "warrior" minRecordRank: 1 seasonOut: falseupdateWhere
Section titled “updateWhere”Bulk-update all entries matching a filter. All schema attributes are filterable.
spec: version: "1.0" schema: v92
competitionDungeons: updateWhere: - filter: active: true changes: seasonOut: true
- filter: classCompetition: ["warrior", "lancer"] changes: minRecordRank: 10Filter values can be a single value or a list. A list matches any entry whose attribute equals one of the listed values.
Config (RankingRule settings)
Section titled “Config (RankingRule settings)”spec: version: "1.0" schema: v92
competitionDungeons: config: seasonPeriod: 7 calcDay: "Monday" calcHour: 6Properties reference
Section titled “Properties reference”Dungeon attributes
Section titled “Dungeon attributes”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
id | int | v92 | Yes | Dungeon identifier (entity key) |
active | bool | v92 | Yes | Whether the dungeon competition is active |
classCompetition | string | v92 | Yes | Class-based competition mode |
minRecordRank | int | v92 | Yes | Minimum rank required to record |
seasonOut | bool | v92 | No | Whether the dungeon is out of season |
Config attributes
Section titled “Config attributes”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
seasonPeriod | int | v92 | No | Duration of a competition season |
calcDay | string | v92 | No | Day when rankings are calculated |
calcHour | int | v92 | No | Hour when rankings are calculated |
XML structure
Section titled “XML structure”CompetitionDungeon.xml└── CompetitionDungeon ├── RankingRule │ @seasonPeriod (required) │ @calcDay (required) │ @calcHour (required) └── Dungeon (0..7) @id (required) @active (required) @classCompetition (required) @minRecordRank (required) @seasonOut (optional)Common pitfalls
Section titled “Common pitfalls”- Config vs entity operations: Use
config:forRankingRulesettings (seasonPeriod,calcDay,calcHour). Usecreate/update/deletefor individualDungeonentries. - updateWhere filter syntax: Filters match against entity attributes. Use a list value to match multiple values (e.g.,
classCompetition: ["warrior", "lancer"]). See Filters for details. - SingleFile organization: All dungeon competition entries live in a single
CompetitionDungeon.xmlfile. There is no per-entity file partitioning.