Progression

The game's skills, stats and perks, and the server's rules for what players earn by playing. Each XP gain in a player's game is requested from the server and granted under these rules, and progress the server never allowed is caught and fires playerProgressionRejected. Tracks are the stats strength, agility, vitality and speech, and skills such as stealth, horse_riding, fencing, thievery, alchemy, craftsmanship, drinking, survival, weapon_sword, heavy_weapons, marksmanship, weapon_large, weapon_unarmed, scholarship, houndmaster and prestige. To give XP and perks to one player, use Player's members.

progression.tracks()

Progression.tracks()

All tracks, as { name, kind, cap, induced }.

progression.perkNamed()

Progression.perkNamed(query)

A perk by name or GUID, as { name, id, uiName, track, level, parent, visibility, kinds, autolearnable }, or null.

progression.perks()

Progression.perks(filter = {})

The game's perks.

progression.xpNeeded()

Progression.xpNeeded(trackName, level)

The total XP a track needs to reach a level from 0.

progression.setGameXp()

Progression.setGameXp(enabled)

Lets players earn XP by playing, or not, so that only the server's grants count.

progression.setXpGain()

Progression.setXpGain(track, rate)

Scales the XP from play on a track, or all with '*'. It runs from 0 to 1000, where 1 is the game's rate.

progression.setXpPercent()

Progression.setXpPercent(track, percent)

Sets a track's XP rule as a percentage, where 100 is the game's rate.

progression.xpPercent()

Progression.xpPercent(track)

A track's XP rule as a percentage, where 100 is the game's rate.

progression.setXpCap()

Progression.setXpCap(track, xpPerMinute)

The most XP per minute from play on a track, or all with '*'. 0 means no limit.

progression.setMaxLevel()

Progression.setMaxLevel(track, level)

The highest level reachable by play on a track.

progression.lockPerks()

Progression.lockPerks(perks)

Makes perks impossible to get for all players.

progression.unlockPerks()

Progression.unlockPerks(perks)

Allows locked perks again.

progression.gameXp

gameXp

Whether players earn XP by playing.

progression.lockedPerks

lockedPerks

Perks no player can get.