Levels Set Entity

The skills_levels_set entity manages the complete level progression system with automatic level generation and experience tracking.

Managing levels sets in the admin panel

Levels sets are in the Classes & Levels section of the admin sidebar, under Levels Sets (/reldens-admin/skills-levels-set). A levels set is the container of the levels used by a class path:

Admin Panel - Levels Sets list

To create a levels set:

  1. Log in to the admin panel at /reldens-admin and open Classes & Levels > Levels Sets.
  2. Click Create New (the form opens at /reldens-admin/skills-levels-set/edit).
  3. Fill in the Key (unique, for example paladin_levels) and the Label. Both are optional, but they make the set easy to find in the selects of the other forms.
  4. Check AutoFillRanges to generate the levels between the ones you create.
  5. Optionally fill in the AutoFillExperienceMultiplier. Note the game server does not pass this column to the class paths it loads, so the generated levels always use the 1.5 package default: set the exact curve by creating the levels you need.
  6. Click Save.
  7. Add the levels of the set in Classes & Levels > Levels, see Level Entity.
  8. Select the set in the class path that uses it, see Class Path Entity.
  9. Restart the server, the levels sets are loaded on startup.
Admin Panel - Create Levels Sets form

In the form, u marks a field that must be unique.

Key Properties

  • key: Level set identifier
  • label: Display name for the level set
  • autoFillRanges: Enable automatic generation of intermediate levels
  • autoFillExperienceMultiplier: XP multiplier for auto-generated levels (default: 1.5)

Auto-Fill System

When autoFillRanges is enabled, the system automatically generates levels between manually defined levels:

  • Define levels 1, 5, 10 manually
  • System generates levels 2, 3, 4, 6, 7, 8, 9 automatically
  • Experience requirements calculated using autoFillExperienceMultiplier
  • Each intermediate level gets proportional experience requirements

Experience Progression

Level Sets track current experience and automatically level up characters when experience thresholds are reached. Features include:

  • Experience-based automatic leveling
  • Modifier application on level up
  • Modifier reversion on level down
  • Experience cap at maximum level requirement

Class Path Integration

Levels Sets are extended by Class Paths to add skill tree functionality. Class Paths inherit all leveling features and add level-based skill unlocking.

Database Relations

  • skills_levels: Individual levels in this set
  • skills_class_path: Class paths using this level set

Package

Implemented in @reldens/skills package with LevelsSet and ClassPath classes.

Go Up