Config file syntax

Most config files under Configs/ (quests, dialogues, territories, traders, bankers, gamblers, buffers, transmog, teleporters, server infos, leaderboard achievements) share the same basic text format. This page covers that shared format once, so the other pages can just show you the specifics.

The basics

A config file is plain text, one entry per line. A quick example (a Server Info page, but the rules apply everywhere):

Configs/ServerInfos/welcome.cfg:

# This is a comment, ignored by the game
[welcome]
Welcome to the server!
Please read the rules below.

[rules]
1. No griefing.
2. PvP only in designated zones.

Section names

[My Profile], [myprofile], and [MyProfile] are treated as the exact same profile in most formats — spacing and capitalization inside brackets do not matter. The exceptions are Territories and Leaderboard Achievements, where the header is case-sensitive and keeps spaces exactly as written — see the practical notes on those two pages. Pick a consistent style for your own sake regardless; it makes files easier to read and search.

Any script works in a header name, including Cyrillic and Chinese — none of these formats restrict you to specific characters.

If you write data lines before any [Section] header, they land in a profile literally called default — this is intentional and safe to rely on. Several NPC types come pre-set to use the default profile in-game.

Separators used across formats

Three punctuation marks recur across almost every config type:

Symbol Meaning Example
, Separates fields within one entry Wood, 10, 1 (item, amount, level)
| Separates multiple entries on one line Wood, 10 | Stone, 5 (two targets)
|| "OR" inside one condition group (only in requirement/condition fields) HasItem, Wood, 10 || HasItem, Stone, 10

Write spaces freely around these symbolsWood, 10, 1 and Wood,10,1 behave identically. Spaces are stripped automatically before the line is read. Use spacing to make your files readable; there is no performance or correctness cost.

Keeping a literal space (names, sentences)

Because spaces are normally stripped, a field that must contain a real space — an NPC's full name, a sentence, a title — needs to be wrapped in "double quotes":

Talk, "John the Smith", 1

The quotes themselves are removed once the line is read; only the space inside survives. Use this any time a name or phrase has more than one word.

If a line does not work

Most config formats fail quietly per-entry, not per-file — a mistake in one quest, one trade line, or one zone usually only breaks that one entry, not the whole file, and gets logged to the server console with the file name and line number. Quests are stricter: a broken reward or wrong number of lines in a quest block skips that entire quest.

Common causes of a "silent" mistake:

When something is not appearing in-game, check the server console output first — most parsing problems are logged there in red.

Edit this page on GitHub