Skip to content

Experience Entry

fzzyhmstrs edited this page Nov 19, 2024 · 1 revision

Gives experience points or levels to the player.

JSON Definition

Key Type Value Example Note
"type" String
"lootables:xp"
"xp" Integer, Float, or Object

Lootable Number

Required

Lootable Number defines the amount of XP to give.
"levels" Boolean
false
Optional, default true

When true, will give XP levels, when false will give XP points.

Examples

A good example of a common or uncommon lootable pool entry. Some XP can always come in handy!

{
  "type": "lootables:xp",
  "xp": {
    "min": 3.0,
    "max": 5.0
  },
  "levels": true
}

Clone this wiki locally