_cat_king_

Make a plugin for papermc 1.21.8(you Can make it 1.21.X if possible. The plugin name should be PowerMaces), Where you add the Illusion Mace with a custom colored name and custom colored lore. When you press shift + F, all players in a 64 block radius should get their skin changed to a Steve skin(the default one) and their name should be scrambled. This ability should last for 1 minute and should have a cooldown of 5 minutes (when it reaches 10 seconds it should start a countdown until it fisnishes). All players who get their skin and name scrambled should get a message in chat. They should also get a message in chat when they get their skin and name back. You should add a config where you can change the abilitys range,cooldown and duration. The name should be scrambled in tab, chat, above the player(f5), in kills, advancements. Players that are further away than 64 blocks should not get their name scrambled. If a player with their name and skin scrambled leaves, they should get instantly unscrambled and get their skin back when the they join back. Anyone who got their name scrambled should have a 15 second pearl cooldown and a 5 second wind charge cooldown(you can add these in the config aswell). There should be the command /powermaces attack to use the ability (only the player with the Ilussion mace should be able to run it). There also should be /powermaces scramble to scramble a players name and change his skin to the default one with a command. There should also be /powermaces unscramble to unscramble the name and give the player his old skin with a command. Add permisions for the 3 commands. Also add particles around the mace when it's dropped. When it's dropped it should make the wither death sound effect and when it's picked up it should make the wither spawn sound effect. When it's picked up it should make an explosion effect. Also when the ability is used, there should be the the elder guardian laser sound. When the ability is activated, there should be a wave of particles in all directions around the 64 block radius (like a circle). If a player dies while his name is scrambled, he should still have his name and skin scrambled, until the ability ends

Kodari AI
KodariDec 31 at 7:01 am 12,102 (v2)

I’ll create a comprehensive PowerMaces plugin for PaperMC 1.21.X with the Illusion Mace and name/skin scrambling mechanics.

PowerMaces
A unique PaperMC plugin featuring the Illusion Mace, a powerful weapon with the ability to scramble player names and skins within a 64-block radius. Players affected by the ability get Steve skins and randomized names for a configurable duration. Includes cooldown management, particle effects, sound effects, and admin commands for manual scrambling. Features pearl and wind charge cooldowns for affected players, with full persistence across disconnects.

Now I’ll create the complete plugin structure:

Perfect! I’ve created the PowerMaces plugin for PaperMC 1.21.X with all requested features:

Core Features:

  • Illusion Mace with custom colored name & lore

  • Shift + F or /powermaces attack to activate ability

  • 64-block radius scrambling (configurable)

  • 1 minute duration with 5 minute cooldown (both configurable)

  • Countdown from 10 seconds before ability is ready

  • Pearl (15s) & Wind Charge (5s) cooldowns for scrambled players

Name & Skin Scrambling:

  • Changes skin to default Steve

  • Scrambles names in tab, chat, above player, kills, advancements

  • Players outside range unaffected

  • Persistence through death (stays scrambled)

  • Auto-unscramble on disconnect/reconnect

Commands:

  • /powermaces attack - Use ability (requires Illusion Mace)

  • /powermaces scramble <player> - Manually scramble

  • /powermaces unscramble <player> - Manually unscramble

  • /powermaces give [player] - Give Illusion Mace

Visual & Sound Effects:

  • Enchantment particles around dropped mace

  • Wither death sound on drop

  • Wither spawn sound + explosion effect on pickup

  • Elder guardian laser sound on ability use

  • Spherical particle wave on activation

Config:

  • Customizable range, duration, cooldowns

  • Custom messages, mace name/lore

  • Pearl & wind charge cooldown settings

All permissions are included, and the plugin uses XSeries for cross-version compatibility!

_cat_king_

Change the plugin name to PowerSword. Also change the commands from /powermaces to /powersword .The item should now be a sword, not a mace, so change the name of the item and the lore so it's right. Also make it so only one of it can be crafted. When it's crafted, it's should say in chat who crafted it(everyone should be able to see the message). The crafting recipe should be: a nethereite sword in the middle of the crafting table, 4 blocks of Redstone, one in each direction (not in the corners), and 4 blocks of gold in the corners. In the config you should the crafting recipe and the limit of the swords on the server. Also when you craft the sword it should give you a basic netherite sword that can be enchanted and that has the ability when you press Shift+F

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
15 942
src/main/java/com/powermaces/PowerMaces.java
package com.powermaces;

import com.powermaces.commands.PowerMacesCommand;
import com.powermaces.listeners.ItemListener;
import com.powermaces.listeners.PlayerListener;
import com.powermaces.listeners.SwapHandListener;
import com.powermaces.managers.AbilityManager;
import com.powermaces.managers.CooldownManager;
import com.powermaces.managers.ScrambleManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class PowerMaces extends JavaPlugin {
    
    @Getter
    private static PowerMaces instance;
    
    @Getter
    private ScrambleManager scrambleManager;
    
    @Getter
    private AbilityManager abilityManager;
    
    @Getter
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        instance = this;
        
        saveDefaultConfig();
        
        this.scrambleManager = new ScrambleManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.abilityManager = new AbilityManager(this);
        
        getCommand("powermaces").setExecutor(new PowerMacesCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new ItemListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerListener(this), this);
        Bukkit.getPluginManager().registerEvents(new SwapHandListener(this), this);
        
        getLogger().info("PowerMaces enabled!");
    }
    
    @Override
    public void onDisable() {
        if (scrambleManager != null) {
            scrambleManager.unscrambleAll();
        }
        
        getLogger().info("PowerMaces disabled!");
    }
}