kyattenoff-arch

kyattenoff-arch can you make a plugin with a godmace that luches you into the air when you right click but has a 30seconds cooldown, nullifies fall damage, has density 5, breach 4, unbreaking 3, fire aspect 2 and mending. and in this plugin when you enter the command /adminpannel, sends you to a screen to wich the code is 14357689 that opens a pannel in wich you put your items and they come back duped

Kodari AI
KodariMay 30 at 4:46 pm 12
GodMace
A Minecraft plugin featuring a powerful God Mace item that launches players into the air on right-click with a 30-second cooldown and nullified fall damage. The mace comes pre-enchanted with Density 5, Breach 4, Unbreaking 3, Fire Aspect 2, and Mending. Includes a secret /adminpanel command protected by a PIN code (14357689) that opens an admin duplication panel for items.

Here’s the plan:

  1. Main plugin class with GUIManager setup and command registration

  2. GodMace item builder with all enchantments

  3. GodMace listener (right-click launch, fall damage cancel, cooldown)

  4. PIN entry GUI

  5. Dupe panel GUI

  6. GUI framework (InventoryHandler, InventoryButton, InventoryGUI, GUIManager, GUIListener)

  7. plugin.yml + config.yml

Here’s what was built:

  • God Mace — given via /godmace (op only). Right-click launches you straight up with a 30s cooldown. Fall damage is cancelled while holding it. Enchanted with Density 5, Breach 4, Unbreaking 3, Fire Aspect 2, and Mending.

  • /adminpanel — opens a PIN pad GUI. Enter 14357689 using the clickable digit buttons, hit ✔ Confirm. Wrong PIN clears and lets you retry.

  • Dupe Panel — after correct PIN, opens a 54-slot GUI. Place items in the top 27 slots, click the ⭐ DUPLICATE ITEMS button, and every item in those slots is cloned directly into your inventory.

Note: Density and Breach are 1.21+ enchantments, and the Mace item itself is 1.21+. The plugin targets api-version: 1.21 accordingly.

Kodari can make mistakes. Review important code before using.
Files
src
Code
14 767
src/main/java/com/kyattenoff/godmace/GodMacePlugin.java
package com.kyattenoff.godmace;

import com.kyattenoff.godmace.commands.AdminPanelCommand;
import com.kyattenoff.godmace.commands.GodMaceCommand;
import com.kyattenoff.godmace.inventory.gui.GUIListener;
import com.kyattenoff.godmace.inventory.gui.GUIManager;
import com.kyattenoff.godmace.listeners.GodMaceListener;
import org.bukkit.plugin.java.JavaPlugin;

public class GodMacePlugin extends JavaPlugin {

    private GUIManager guiManager;

    @Override
    public void onEnable() {
        guiManager = new GUIManager();

        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        getServer().getPluginManager().registerEvents(new GodMaceListener(this), this);

        getCommand("godmace").setExecutor(new GodMaceCommand(this));
        getCommand("adminpanel").setExecutor(new AdminPanelCommand(this));

        getLogger().info("GodMace enabled.");
    }

    @Override
    public void onDisable() {
        getLogger().info("GodMace disabled.");
    }

    public GUIManager getGuiManager() {
        return guiManager;
    }
}