addActiveSkill

public static boolean addActiveSkill(UUID uuid, SkillType skillType, String skillId)

Adds a skill to a player's active skills.

Return

true if the skill was added, false if already at max or already active

Parameters

uuid

The player's UUID

skillType

The skill type

skillId

The skill ID to add


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.

Return

true if the skill was added, false if already at max or already active

Parameters

uuid

The player's UUID

skillType

The skill type

skillId

The skill ID to add

bypassLimit

If true, ignores the MAX_ACTIVE_SKILLS limit (for testing)