Skip to content

Custom Spells & Wands for Paper Servers (inspired by Wynncraft)

License

Notifications You must be signed in to change notification settings

teraprath/WizardAPI

Repository files navigation

WizardAPI

Custom Spells & Wands inspired by Wynncraft

ℹ️ Plugin has been tested on Paper/Purpur: 1.21, 1.21.1

Features

  • Simple & lightweight
  • Create Custom Spells (Click-Combinations: L-R-L, R-L-R, etc.)
  • Bind spells to Items (Wands)

⚠️ This project is in development. Some features may not work correctly.

Upcoming

  • Built-in Mana System
  • PlaceholderAPI Support

Example Usage

// Create new wand
Wand wand = new Wand("custom_wand", new ItemStack(Material.STICK));

// Create custom spell
Spell spell = new Spell(player -> {

    // Spell Logic

}, Spell.ClickType.LEFT, Spell.ClickType.RIGHT, Spell.ClickType.RIGHT); // Combination: L-R-R

// Bind spell to wand
wand.bind(spell);

// Register wand
WizardAPI.getInstance().register(wand);

Visit wiki page to see usage guide.

About

Custom Spells & Wands for Paper Servers (inspired by Wynncraft)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages