Level Entity

The skills_levels entity represents an individual level within a leveling system, defining experience requirements and progression milestones.

Managing levels in the admin panel

Levels are in the Classes & Levels section of the admin sidebar, under Levels (/reldens-admin/skills-levels). The list shows every level of every levels set with its key, label and required experience:

Admin Panel - Levels list

To create a level:

  1. Create the levels set first, see Levels Set Entity.
  2. Log in to the admin panel at /reldens-admin and open Classes & Levels > Levels.
  3. Click Create New (the form opens at /reldens-admin/skills-levels/edit).
  4. Fill in the Key (required, the level number, for example 5) and the Label (required, the name shown for the level).
  5. Fill in the Required Experience, the experience points needed to reach the level (0 for level 1).
  6. Select the Level Set ID (required).
  7. Click Save, then repeat for the key milestones (1, 5, 10, 20, etc.). With auto-fill enabled in the levels set the intermediate levels are generated automatically.
  8. Add the stat changes of the level in Classes & Levels > Levels Modifiers, see Level Modifiers Entity.
  9. Restart the server, the levels are loaded on startup.
Admin Panel - Create Levels form

In the form, r marks a required field. To create the next level faster, open an existing one and click Duplicate: the ID is cleared so the next save creates a copy, change the key, label and experience before saving. Large experience tables can also be generated, see Players Experience Per Level Generator.

Key Properties

  • key: Level number (integer)
  • label: Display name for the level
  • required_experience: Experience points needed to reach this level
  • level_set_id: Reference to parent skills_levels_set

Level Progression

Levels are organized within Level Sets and can be configured manually or generated automatically. Each level defines:

  • Experience threshold for reaching the level
  • Associated modifiers that apply at this level
  • Optional custom label for display

Experience System

When a character gains experience, the system automatically checks if they've reached the required_experience threshold for the next level. If auto-leveling is enabled, the character levels up automatically and all associated modifiers are applied.

Auto-Fill Feature

Level Sets can automatically generate intermediate levels between manually defined levels. For example, defining levels 1 and 5 will auto-generate levels 2, 3, and 4 with calculated experience requirements based on a multiplier.

Database Relations

  • skills_levels_set: Parent level set container
  • skills_levels_modifiers: Stat modifiers for this level

Package

Implemented in @reldens/skills package.

Go Up