Skip to content

Experience Configuration

Ren edited this page Apr 20, 2022 · 3 revisions

» Home » Experience » Configuration

Configuration

  • levels: Configuration options for level-related functionality
    • max-level: The maximum level any character may reach.
  • experience: Configuration options for experience related functionality
    • equation: The formula used to calculate how much experience is required to reach a level. This takes into account experience earned for previous levels. This is parsed as JavaScript so use whatever maths functions you want to determine this, as long as it evaluates to a number.

Recommended cache sizes

  • rpkit_experience id: This should be the size of the maximum number of players.
  • rpkit_experience character_id: This should be the size of the maximum number of players.

Permissions

rpkit.experience.command.experience.add:
    description: Allows adding experience
    default: op
rpkit.experience.command.experience.set:
    description: Allows setting experience
    default: op
rpkit.experience.command.experience.setlevel:
    description: Allows setting level
    default: op

Placeholders

If you are using PlaceholderAPI, you may use the following placeholders:

Placeholder Description
%rpkexperience_experience% The amount of experience the player's active character has
Clone this wiki locally