| Name | skillapi player downgrades skill |
| Event Lines | skillapi player downgrades <skill> |
| Triggers | when a player downgrades a skill in SkillAPI. |
| Generated Examples | after skillapi player downgrades skill: |
| Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Contexts | <context.level> returns the level the player went down to.
<context.refund> returns how much the the player was refunded.
<context.skill_name> returns the name of the skill downgraded.
|
| Determine | None |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Depenizen |
| Requires | Depenizen, SkillAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/skillapi/SkillAPIPlayerDowngradesSkillScriptEvent.java#L17 |
| Name | skillapi player levels up |
| Event Lines | skillapi player levels up |
| Triggers | when a player levels up in SkillAPI. |
| Generated Examples | after skillapi player levels up:
on skillapi player levels up: |
| Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Contexts | <context.level> returns the level the player went up to.
<context.gained> returns how many levels the player gained.
<context.class> returns the SkillAPIClass the player is leveling up in.
|
| Determine | None |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Depenizen |
| Requires | Depenizen, SkillAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/skillapi/SkillAPIPlayerLevelsUpScriptEvent.java#L17 |
| Name | skillapi player unlocks skill |
| Event Lines | skillapi player unlocks <skill> |
| Triggers | when a player unlocks a skill in SkillAPI. |
| Generated Examples | after skillapi player unlocks skill: |
| Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Contexts | <context.skill_name> returns the name of the skill unlocked.
|
| Determine | None |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Depenizen |
| Requires | Depenizen, SkillAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/skillapi/SkillAPIPlayerUnlocksSkillScriptEvent.java#L17 |
| Name | skillapi player upgrades skill |
| Event Lines | skillapi player upgrades <skill> |
| Triggers | when a player upgrades a skill in SkillAPI. |
| Generated Examples | after skillapi player upgrades skill: |
| Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Contexts | <context.level> returns the level the player went up to.
<context.cost> returns how much the upgrade cost.
<context.skill_name> returns the name of the skill upgraded.
|
| Determine | None |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Depenizen |
| Requires | Depenizen, SkillAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/skillapi/SkillAPIPlayerUpgradesSkillScriptEvent.java#L17 |