Skip to content

Experience

TheIllusiveC4 edited this page Sep 1, 2017 · 5 revisions

Table of Contents

Overview

With the experience module, you can control what happens to a player's experience upon death, including manipulating experience orb generation.

Configuration Options

Keep XP

Set to true to keep all of a player's experience on death. No experience is lost on death, the player will respawn with the same amount of experience as before, and no experience orbs will be generated at all.

Lost XP Percent

The experience lost, expressed as a percent value between 0.0 and 1.0, from the player upon death.

Recoverable XP Percent

The amount of experience recoverable, expressed as a percent value between 0.0 and 1.0, from experience orbs upon death. This option controls the experience orb generation on death. The percent value is taken from the total amount of experience the player actually loses, determined by the "Lost XP Percent" value. Example: Situation: Player dies with 100 XP Lost XP Percent: 1.0 Recoverable XP Percent: 0.25

The player will lose 100% of his experience, as defined by the "Lost XP Percent" value, thus the player will lose 100 XP. Since "Recoverable XP Percent" is set to 0.25, only 25% of the lost 100 XP will generate as experience orbs. So, only 25 XP worth of orbs will generate on death and the other 75 XP is lost forever.

Clone this wiki locally