Skip to main content
The settings/default/main.lua file controls the majority of gameplay behavior: experience rates, expansion toggles, character creation defaults, content-specific tuning, and more. All values live under xi.settings.main.

Server identity

SERVER_NAME
string
default:"'Nameless'"
The name of your server. Must be 15 characters or fewer.
SERVER_MESSAGE
string
Message shown to players on login. Supports \n for line breaks and Lua string concatenation.

Expansion toggles

Each expansion can be individually enabled (1) or disabled (0). See Expansions for a full breakdown of what each toggle controls.
SettingDefaultExpansion
ENABLE_COP1Chains of Promathia
ENABLE_TOAU1Treasures of Aht Urhgan
ENABLE_WOTG1Wings of the Goddess
ENABLE_ACP1A Crystalline Prophecy
ENABLE_AMK1A Moogle Kupo d’Etat
ENABLE_ASA1A Shantotto Ascension
ENABLE_ABYSSEA1Abyssea
ENABLE_SOA1Seekers of Adoulin
ENABLE_ROV1Rhapsodies of Vana’diel
ENABLE_TVR1The Voracious Resurgence
ENABLE_VOIDWATCH1Voidwatch (not an expansion, but has its own storyline; not fully implemented)
RESTRICT_CONTENT
number
default:"0"
Lock content to match only the enabled expansions above. Uses the content_tag column in SQL files to prevent out-of-era content from loading. See Content restrictions.

Fields/Grounds of Valor

ENABLE_FIELD_MANUALS
number
default:"1"
Enable Fields of Valor (FoV).
ENABLE_GROUNDS_TOMES
number
default:"1"
Enable Grounds of Valor (GoV).
ENABLE_SURVIVAL_GUIDE
number
default:"1"
Enable Survival Guides. Not yet implemented.
REGIME_WAIT
number
default:"1"
When 1, players must wait until 00:00 game time before repeating a regime, matching retail behavior. Set to 0 to remove the wait.
FOV_REWARD_ALLIANCE
number
default:"0"
Allow FoV rewards while in an alliance. Default 0 matches retail.
GOV_REWARD_ALLIANCE
number
default:"1"
Allow GoV rewards while in an alliance. Default 1 matches retail.

Daily points and Gobbie Mystery Box

ENABLE_DAILY_TALLY
number
default:"1"
Allow players to accumulate daily points for the Gobbie Mystery Box.
DAILY_TALLY_AMOUNT
number
default:"10"
Points awarded per day.
DAILY_TALLY_LIMIT
number
default:"50000"
Maximum daily points a character can hold.
GOBBIE_BOX_MIN_AGE
number
default:"45"
Minimum character age in days before a character can sign up for the Gobbie Mystery Box.

A.M.A.N. Assist Channel

ASSIST_CHANNEL_ENABLED
boolean
default:"true"
Enable the Assist Channel for new and returning players.
ASSIST_CHANNEL_MEMBERSHIP_LENGTH
number
default:"240"
How long (in playtime hours) new players and returnees retain access to the Assist Channel.
ASSIST_CHANNEL_RETURNEE_LOGIN_GAP
number
default:"48"
Number of days that must have elapsed before a returning player is added to the Assist Channel.

Records of Eminence

ENABLE_ROE
number
default:"1"
Enable Records of Eminence.
ENABLE_ROE_TIMED
number
default:"1"
Enable 4-hour timed records.
ENABLE_EXCHANGE_LIMIT
number
default:"1"
Enforce the weekly sparks/accolades spending cap. Default 1 matches retail.
WEEKLY_EXCHANGE_LIMIT
number
default:"100000"
Maximum sparks or accolades that can be spent per week. Retail default is 100000.

Currency caps

These caps limit how much of each currency a character can hold. Change with caution.
SettingDefault
CAP_CURRENCY_ACCOLADES99999
CAP_CURRENCY_BALLISTA2000
CAP_CURRENCY_SPARKS99999
CAP_CURRENCY_VALOR50000

Character config

INITIAL_LEVEL_CAP
number
default:"50"
Starting level cap for new characters. Hard cap is 255.
MAX_LEVEL
number
default:"99"
Maximum attainable level. Lowers the cap by disabling Limit Break quests above this value.
NORMAL_MOB_MAX_LEVEL_RANGE_MIN
number
default:"0"
Lower bound of the normal mob max-level range. 0 means uncapped.
NORMAL_MOB_MAX_LEVEL_RANGE_MAX
number
default:"0"
Upper bound of the normal mob max-level range. 0 means uncapped.
START_GIL
number
default:"10"
Gil given to a newly created character.
START_INVENTORY
number
default:"30"
Starting inventory and satchel size. Values below 30 are ignored. Do not set above 80.
NEW_CHARACTER_CUTSCENE
number
default:"1"
Show the opening cutscene for new characters. Set to 0 to skip it.
SUBJOB_QUEST_LEVEL
number
default:"18"
Minimum level to accept either subjob quest. Set to 0 to begin the game with subjobs unlocked.
ADVANCED_JOB_LEVEL
number
default:"30"
Minimum level to accept advanced job quests. Set to 0 to begin the game with advanced jobs unlocked.
ALL_MAPS
number
default:"0"
Set to 1 to give new characters all maps.
UNLOCK_OUTPOST_WARPS
number
default:"0"
Set to 1 to give new characters all outpost warps. Set to 2 to also include Tu’Lia and Tavnazia.

Rate multipliers

These are floating-point multipliers applied to the corresponding game values. 1.0 is the retail baseline.
SettingDefaultDescription
SHOP_PRICE1.000NPC shop prices
GIL_RATE1.000Gil earned from quests
BAYLD_RATE1.000Bayld earned from quests
EXP_RATE1.000Experience points (excludes FoV/GoV)
CAPACITY_RATE1.000Capacity points
BOOK_EXP_RATE1.000Experience from FoV/GoV book pages
TABS_RATE1.000Tabs earned from FoV
ROE_EXP_RATE1.000Experience from Records of Eminence
SPARKS_RATE1.000Sparks earned from Records of Eminence
CURE_POWER1.000Amount healed by Healing Magic (includes relevant Blue Magic)
ELEMENTAL_POWER1.000Damage dealt by Elemental and non-drain Dark Magic
DIVINE_POWER1.000Damage dealt by Divine Magic
NINJUTSU_POWER1.000Damage dealt by Ninjutsu Magic
BLUE_POWER1.000Damage dealt by Blue Magic
DARK_POWER1.000Amount drained by Dark Magic
ITEM_POWER1.000Effect of items such as Potions and Ethers
WEAPON_SKILL_POWER1.000Damage dealt by Weapon Skills
DELAY_REDUCTION_CAP
float
default:"0.80"
Cap for melee swing haste. 0.80 = retail delay reduction max (80%). 0.93 = ToAU era value.

Combat stat ratios (players only)

These multipliers control how much stat points convert to combat stats. Mob values are hardcoded to 0.5 in C++.

STR to Attack/Ranged Attack

SettingDefaultNotes
TWO_HANDED_STR_ATTACK_MULTIPLIER1.0Was 0.5 and 0.75 in previous eras
HAND_TO_HAND_STR_ATTACK_MULTIPLIER1.0Was 0.5 and 0.625 in previous eras
ONE_HAND_MAIN_HAND_STR_ATTACK_MULTIPLIER0.75Was 0.5 in previous eras
ONE_HAND_OFF_HAND_STR_ATTACK_MULTIPLIER0.5Has always been 0.5
RANGED_STR_ATTACK_MULTIPLIER1.0Was 0.5 and 0.75 in previous eras

DEX to Accuracy

SettingDefault
TWO_HANDED_DEX_ACCURACY_MULTIPLIER0.75
HAND_TO_HAND_DEX_ACCURACY_MULTIPLIER0.75
ONE_HAND_MAIN_HAND_DEX_ACCURACY_MULTIPLIER0.75
ONE_HAND_OFF_HAND_DEX_ACCURACY_MULTIPLIER0.75
RANGED_AGI_ACCURACY_MULTIPLIER
float
default:"0.75"
1 AGI to Ranged Accuracy ratio for players. Mobs are hardcoded to 0.5.
PLAYER_ALLIES_VIT_DEF_MULTIPLIER
float
default:"1.5"
1 VIT to DEF ratio for players and allies. Mobs and charmed mobs are hardcoded to 0.5.

Gameplay flags

USE_ADOULIN_WEAPON_SKILL_CHANGES
boolean
default:"true"
Use new Adoulin-era weapon skill damage calculations.
DISABLE_PARTY_EXP_PENALTY
boolean
default:"false"
Remove the party experience penalty.
ENABLE_IMMUNOBREAK
boolean
default:"true"
Allow immunobreaks to occur.

Trusts

ENABLE_TRUST_CASTING
number
default:"1"
Enable Trust NPC summoning.
ENABLE_TRUST_QUESTS
number
default:"1"
Enable Trust unlock quests.
ENABLE_TRUST_CUSTOM_ENGAGEMENT
number
default:"0"
Enable custom Trust engagement behavior.

Alter Ego campaigns

ENABLE_TRUST_ALTER_EGO_EXTRAVAGANZA
number
default:"0"
Alter Ego Extravaganza campaign. 0 = disabled, 1 = summer/NY, 2 = spring/autumn, 3 = both.
ENABLE_TRUST_ALTER_EGO_EXPO
number
default:"0"
Alter Ego Expo campaign (boosts Trust HP, MP, and status resistance). 0 = disabled, 1 = expo, 2 = expo plus (not implemented).

Gathering

SettingDefaultDescription
HARVESTING_BREAK_CHANCE33% chance for the sickle to break
EXCAVATION_BREAK_CHANCE33% chance for the pickaxe to break
LOGGING_BREAK_CHANCE33% chance for the hatchet to break
MINING_BREAK_CHANCE33% chance for the pickaxe to break
HARVESTING_RATE50% chance to receive an item from harvesting
EXCAVATION_RATE50% chance to receive an item from excavation
LOGGING_RATE50% chance to receive an item from logging
MINING_RATE50% chance to receive an item from mining
DIGGING_RATE85% chance to receive an item from chocobo digging during favorable weather

NM lottery

NM_LOTTERY_CHANCE
float
default:"1.0"
Multiplier applied to NM lottery spawn chance. 0 disables lottery spawns entirely. -1 forces 100% chance.
NM_LOTTERY_COOLDOWN
float
default:"1.0"
Multiplier applied to NM lottery cooldown time. 2.0 = twice as long. 0 = no cooldowns.

Dynamis

BETWEEN_2DYNA_WAIT_TIME
number
default:"24"
Hours before a player can re-enter Dynamis. Default is one Earth day.
DYNA_MIDNIGHT_RESET
boolean
default:"true"
When true, the wait time is measured by the number of server midnights rather than a full 24-hour interval.
DYNA_LEVEL_MIN
number
default:"65"
Minimum level required to enter Dynamis.
TIMELESS_HOURGLASS_COST
number
default:"500000"
Refund amount for the Timeless Hourglass.
PRISMATIC_HOURGLASS_COST
number
default:"50000"
Cost of the Prismatic Hourglass.
CURRENCY_EXCHANGE_RATE
number
default:"100"
Amount of Tier 1 ancient currency that exchanges for 1 Tier 2, and so on. Do not set above 198.
FREE_COP_DYNAMIS
number
default:"0"
Set to 1 to allow players to enter CoP Dynamis without completing CoP missions.

Garrison

ENABLE_GARRISON
boolean
default:"true"
Enable Garrison functionality.
GARRISON_LOCKOUT
number
default:"1800"
Seconds before a new Garrison can be started.
GARRISON_TIME_LIMIT
number
default:"1800"
Seconds before an ongoing Garrison expires.
GARRISON_ONCE_PER_WEEK
boolean
default:"true"
Limit to one Garrison per Conquest Tally Week.
GARRISON_PARTY_LIMIT
number
default:"18"
Maximum number of party members allowed in a Garrison.
GARRISON_RANK
number
default:"2"
Minimum Nation Rank required to start a Garrison.

Abyssea

ABYSSEA_LIGHTS_DROP_RATE
number
default:"80"
Drop rate (as a percentage, 0–100) for mobs affected by Abyssea lights. Pearl light significantly lowers drop rate.
ABYSSEA_BONUSLIGHT_AMOUNT
number
default:"0"
Bonus light amount added when a player enters Abyssea. Useful for events. Recommended range: 0–100. Individual light caps are enforced automatically.

Spell-specific settings

SettingDefaultDescription
STONESKIN_CAP350Soft cap for HP absorbed by Stoneskin
BLINK_SHADOWS2Number of shadows supplied by Blink
SPIKE_EFFECT_DURATION180Duration (seconds) of RDM/BLM spike effects (not Reprisal)
ELEMENTAL_DEBUFF_DURATION120Base duration (seconds) of elemental debuffs
AQUAVEIL_COUNTER1Base hits Aquaveil absorbs to prevent spell interrupts
SNEAK_INVIS_DURATION_MULTIPLIER1Multiplier for Sneak/Invis/Deodorize duration
USE_OLD_CURE_FORMULA
boolean
default:"false"
Use the older cure formula 3*MND + VIT + 3*(healing skill/5). Cure VI always uses the newer formula regardless.
USE_OLD_MAGIC_DAMAGE
boolean
default:"false"
Use older magic damage formulas.

Monstrosity

Monstrosity is heavily in development. Use at your own risk.
ENABLE_MONSTROSITY
number
default:"0"
Enable Monstrosity features.
MONSTROSITY_INFAMY_RATIO
float
default:"0.1"
Ratio of experience gained to infamy gained when defeating a mob.
MONSTROSITY_PVP_MODE
number
default:"0"
PvP mode for Monipulators. 0 = retail (full Belligerency required), 1 = players don’t need Belligerency, 2 = open PvP.

Nyzul Isle

RUNIC_DISK_SAVE
boolean
default:"true"
Allow any participant to save Nyzul progress. Set to false so only the initiator can save.
ENABLE_NYZUL_CASKETS
boolean
default:"true"
Enable Treasure Casket pops from Nyzul NMs.
ENABLE_VIGIL_DROPS
boolean
default:"true"
Enable Vigil Weapon drops from Nyzul NMs.

Miscellaneous

HOMEPOINT_TELEPORT
number
default:"1"
Enable the homepoint teleport system.
ENM_COOLDOWN
number
default:"120"
Number of hours before a player can obtain the same key item for ENMs again. Retail is 5 days.
DIG_FATIGUE
number
default:"100"
Successful digs allowed per day. Set to 0 to disable dig fatigue entirely.
ALLOW_MULTIPLE_EXP_RINGS
number
default:"0"
Set to 1 to remove ownership restrictions on the Chariot/Empress/Emperor Band trio.

System

DISABLE_INACTIVITY_WATCHDOG
boolean
default:"false"
Disable the watchdog that detects if the main loop has stalled. When false (default), the watchdog will kill the process if the main loop stops ticking.
INACTIVITY_WATCHDOG_PERIOD
number
default:"2000"
Interval in milliseconds between watchdog ticks.

Build docs developers (and LLMs) love