Skip to content

Classes Configuration

Ren edited this page Apr 20, 2022 · 3 revisions

» Home » Classes » Configuration

Configuration

  • classes: Any section under this section is registered as a class. You may add/remove as many as you wish.
    • class
      • max-level: The maximum level a character may reach in the class
      • skill-points:
        • base: The amount of skill points the class gives when a player uses it. Each skill type under here must match those configured in Skills/Configuration.
        • level: The amount of skill points the class gives for each level a player gains in it. Each skill type under here must match those configured under Skills/Configuration
      • prerequisites: Each item under here must be a class name, with the value of the level required in that class in order to use it. Players may not use a class without first levelling all of its prerequisites to the level given.

Recommended cache sizes

  • rpkit_character_class id: This should be the size of the maximum number of players
  • rpkit_class_experience id: This should be the size of the maximum number of players

Permissions

rpkit.classes.command.class.set:
    description: Allows setting your class
    default: true
rpkit.classes.command.class.list:
    description: Allows listing classes
    default: true

Placeholders

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

Placeholder Description
%rpkclasses_class% The name of the player's current character's class
%rpkclasses_classexperience% The amount of experience the player's current character has in their class
%rpkclasses_classlevel% The level of the player's current character in their class
Clone this wiki locally