N

Witch Powers Weapons:

Witch Axe:

  • Tree chopping ability, where if you break the bottom of the tree the full thing comes down
  • Right click on a tree and it turns the entire tree, leaves and logs into pumpkins

Witch Pickaxe:

  • Every 150 blocks you mine, you get 1 candy
  • 5x5 Ability

Witch Shield:

  • When you’re getting hit and you have your shield equipped, or you have it on your main

hand there is a 25% chance a hit will be reflected on the attacker, 60s cooldown Witch Shovel:

  • 5x5 mine
  • 1% chance every block break that a chest with either speed 2, strength 2, or fire

resistance or turtle master potion spawn in that chest Witch Healer Sword:

  • Right click to get half of your missing health back, and absorption 2 for 10s, and

resistance for 10s. 90s cooldown

  • Perm strength 1

Witch Hammer:

  • There is a 10% chance each hit you do on someone it spawns a cobweb on their body

which disappears after 7s and gives opponent poison 3. Also blocks their pearls for 7s. 90s cooldown

  • Perm strength 1

Witch Dagger:

  • Right click to launch a cannon ball (which goes straight forward) which does 13 hearts of

damage and blinds the person. 90s cooldown

  • 5% each hit to give the opponent poison 1 for 8s. 60s cooldown

Witch Spear:

  • 5% chance to each hit on someone to give them weakness 2 for 15s, but there is a 90s

cooldown. Witch Staff:

  • Right click on a player to disable their potion effects for 15s, and you get all their effects

for 15s. 120s cooldown Witch Sword:

  • You have a 5% chance each hit you do on someone it instantly pops their totem. 90s

cooldown Armor:

Witch Armor:

  • There is a 5% chance each hit someone does on you, you can turn fully invisible

(including your armor is invisible) for 7s. You also get every possible buff at level 2 for 7 seconds. 70s cooldown

Kodari AI
KodariMay 26 at 9:49 pm 22,619 (v2)

I’ll create a comprehensive witch-themed powers plugin with custom weapons and armor featuring unique abilities and cooldowns.

WitchPowers
A fantasy-themed powers plugin featuring 10 unique witch weapons and a special armor set. Each weapon has distinct abilities including tree manipulation, area mining, life steal, crowd control, and combat effects. The Witch Armor grants temporary invisibility and powerful buffs. Features extensive cooldown management, chance-based triggers, and cross-version compatibility through XSeries.

Now I’ll create the plugin structure:

Now I need to register the TabCompleter and add the PassiveEffectListener:

✅ WitchPowers plugin created successfully!

Plugin Structure:

  • 10 unique witch weapons with special abilities (Axe, Pickaxe, Shield, Shovel, Healer Sword, Hammer, Dagger, Spear, Staff, Sword)

  • Witch Armor set with invisibility and buff abilities

  • Cooldown system tracking individual ability cooldowns per player

  • Config-driven percentages, cooldowns, and messages

  • XSeries integration for cross-version compatibility (1.8-1.21+)

  • Persistent Data Container to identify custom items

Key Features:

  • Tree chopping/transformation (Witch Axe)

  • Candy mining rewards & 5x5 mining (Witch Pickaxe)

  • 25% damage reflection (Witch Shield)

  • 5x5 shovel with random potion chest spawns

  • Healing ability (Healer Sword)

  • Cobweb trapping + pearl blocking (Hammer)

  • Long-range cannonball projectile (Dagger)

  • Weakness debuff (Spear)

  • Potion effect stealing (Staff)

  • Totem popping (Sword)

  • Full invisibility + all buffs (Armor)

  • Permanent Strength I on Healer Sword & Hammer

Commands:

  • /witchpowers give <player> <item> - Give witch items

  • /witchpowers reload - Reload configuration

  • /witchpowers list - Show all available items

All abilities have proper cooldowns, chance-based triggers, sound effects, and user feedback messages!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
16 1,719
src/main/java/com/witchpowers/WitchPowers.java
package com.witchpowers;

import com.witchpowers.command.WitchCommand;
import com.witchpowers.listener.ArmorListener;
import com.witchpowers.listener.BlockBreakListener;
import com.witchpowers.listener.PassiveEffectListener;
import com.witchpowers.listener.WeaponListener;
import com.witchpowers.manager.ConfigManager;
import com.witchpowers.manager.CooldownManager;
import com.witchpowers.manager.ItemManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class WitchPowers extends JavaPlugin {
    
    private ConfigManager configManager;
    private ItemManager itemManager;
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.itemManager = new ItemManager(this);
        this.cooldownManager = new CooldownManager();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("WitchPowers has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("WitchPowers has been disabled!");
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new WeaponListener(this), this);
        getServer().getPluginManager().registerEvents(new ArmorListener(this), this);
        getServer().getPluginManager().registerEvents(new BlockBreakListener(this), this);
        getServer().getPluginManager().registerEvents(new PassiveEffectListener(this), this);
    }
    
    private void registerCommands() {
        WitchCommand cmd = new WitchCommand(this);
        getCommand("witchpowers").setExecutor(cmd);
        getCommand("witchpowers").setTabCompleter(cmd);
    }
    
    public void reload() {
        reloadConfig();
        this.configManager = new ConfigManager(this);
    }
}