Angler
Angler is the ability associated with the Fishing skill.
When triggered, EzSkills marks the player as having Angler active and fires EzSkillsAbilityActivateEvent. The actual in-game effect - such as double loot from fishing - is implemented by your server’s integration or companion plugin.
- Skill: Fishing
- Enum constant:
ANGLER
Table of contents
Lifecycle
Inactive → Preparing → Active → Cooldown → Inactive
| State | Description |
|---|---|
| Inactive | Ready; no cooldown active |
| Preparing | Charged: the player has preparation-window-seconds seconds to trigger activation |
| Active | Live for duration-ticks ticks; integration effects should fire now |
| Cooldown | Must wait cooldown-seconds seconds before preparing again |
Default configuration
# abilities.yml
angler:
preparation-window-seconds: 3.0 # seconds the ability stays prepared
duration-ticks: 100 # ticks the ability remains active (20 ticks = 1 s)
cooldown-seconds: 120.0 # cooldown after expiry
| Key | Type | Default | Description |
|---|---|---|---|
preparation-window-seconds | double | 3.0 | Window in which the player can trigger activation |
duration-ticks | int | 100 | How long the ability stays active (in ticks) |
cooldown-seconds | double | 120.0 | Post-expiry cooldown in seconds |
Force-activating (admin)
Bypass preparation and activate Angler for a player immediately:
/ezskills ability <player> ANGLER
Developer integration
See Events for listening to EzSkillsAbilityActivateEvent and implementing custom effects.