PlayerSkillSelection
Manages player skill selections.
Each player can select up to 3 active skills per weapon type. Selections are persisted to the database as JSON.
Functions
Link copied to clipboard
Adds a skill to a player's active skills.
public static boolean addActiveSkill(UUID uuid, SkillType skillType, String skillId, boolean bypassLimit)
Adds a skill to a player's active skills with optional limit bypass.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the active skill IDs for a player and skill type.
Link copied to clipboard
Returns a snapshot of all active skill identifiers across skill types.
Link copied to clipboard
Checks whether a skill is active for a player.
Link copied to clipboard
Loads skill selections from the database for a player.
Link copied to clipboard
Called when a player joins to load their selections.
Link copied to clipboard
Called when a player leaves to save their selections.
Link copied to clipboard
Removes a skill from a player's active skills.
Link copied to clipboard
Saves skill selections to the database for a player.