XenoLevels

conditions.yml

Gate EXP gains by worlds, time, player state, and permissions.

conditions.yml applies global requirements to EXP gains. Combine it with anti-abuse modules to fully control when players receive rewards.

Core settings

PathDefaultPurpose
conditions.<id>.enabledfalseToggle the condition block.
conditions.<id>.cooldown0Seconds between EXP grants tracked by the block.
conditions.<id>.eventsListEXP event identifiers covered by the condition.

World and region filters

FieldDescription
world-settings.enabledEnable world filtering.
world-settings.whitelistInterpret worlds as whitelist (true) or blacklist (false).
world-settings.worldsNames of allowed or blocked worlds.
region-settings.enabledUse WorldGuard regions for filtering.
region-settings.whitelistTreat the region list as whitelist (true) or blacklist (false).
region-settings.regionsRegion IDs checked against players.

Time controls

FieldDescription
time-settings.minecraft.enabledLimit EXP to certain Minecraft day phases (DAY, NIGHT, etc.).
time-settings.minecraft.allowList of allowed phases.
time-settings.real-time.enabledRestrict EXP by server clock time.
time-settings.real-time.start / endHours in 24h format.
time-settings.real-time.time-zoneTime zone used for the check.

Player requirements

FieldDescription
permission / groupRequire a specific permission node or custom group tag.
player-states.afk-checkSeconds before AFK players stop earning EXP.
player-states.game-modesAllowed game modes; empty list allows all.
player-states.min-health / min-hungerMinimum health or hunger before EXP is granted.

Economy and level scaling

FieldDescription
economy-settings.enabledRequire a Vault balance check.
economy-settings.min-balanceMinimum balance needed to earn EXP.
economy-settings.cost-per-expCost charged per EXP point.
level-settings.enabledStop awarding EXP at or above a level.
level-settings.max-levelHard cap when scaling is disabled.
level-settings.scaling.enabledReduce EXP instead of hard-stopping it.
level-settings.scaling.start-levelLevel where scaling begins.
level-settings.scaling.reduction-factorMultiplier applied at the max level.

Weather and seasons

FieldDescription
weather-settings.enabledApply multipliers based on weather.
weather-settings.weathersEntries formatted as CONDITION:multiplier.
season-settings.enabledUse seasonal multipliers from supported plugins.
season-settings.seasonsEntries formatted as SEASON:multiplier.

Design tip

Use conditions for broad rules (time windows, AFK detection) and anti-abuse modules for targeted cooldowns or EXP caps.

Last updated on