Abilities, Kill Effects & Throwables

This plugin supports custom abilities, kill effects, and a few throwable weapons.

  • Abilities are defined in custom_items.yml

  • Kill effects are defined in killeffects.yml

  • Kits reference ability items using CUSTOM_ITEM:<id> inside kits.yml (example: CUSTOM_ITEM:sight)

  • You can create/edit/delete abilities and killeffects.

Abilities (custom items)

Abilities are configured in custom_items.yml. You can create new custom items and then assign them to any kit by adding CUSTOM_ITEM:<id> to that kit’s kitItems list.

How to assign a custom ability to a kit

1

Create or edit an ability

Create (or edit) an ability in custom_items.yml. Example id: sight

2

Add the ability to a kit

Add it to a kit in kits.yml: Example: CUSTOM_ITEM:sight

Important limitations

Some items/abilities are hardcoded for now:

  • Wizard spells: attack and support

  • Throwable Golden Axe: axe

Throwable weapons

Only these are throwable (hardcoded):

  • GOLDEN_AXE (the axe custom item)

  • TNT (used by the Bombardier kit)

Tips

  • If an ability item is consumed (like soup), keeping cooldown at 0 makes sense because it’s removed from inventory.

  • If you add new custom items, keep the ids simple (lowercase recommended) so they’re easy to reference as CUSTOM_ITEM:<id>.

Timing rules

  • Duration is in ticks

    • 20 ticks = 1 second

    • Example: 100 / 20 = 5 seconds

  • Cooldown is in seconds

Example (custom_items.yml) format

Kill effects (kill rewards)

Kill effects are fully customizable. When a player gets a kill, you can:

  • give them items

  • apply potion effects

Example (killeffects.yml)

Last updated