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 xyz and activates, disactivate a dupe that requires to push a chest with a piston activated with a stick in your hand

Kodari AI
KodariMay 30 at 4:36 pm 13
GodMacePlugin
A Minecraft plugin featuring a custom God Mace weapon that launches players into the air on right-click with a 30-second cooldown and fall damage nullification. The mace comes with Density 5, Breach 4, Unbreaking 3, Fire Aspect 2, and Mending enchantments. Also includes a secure /adminpanel command with a PIN-protected GUI (code: XYZ) to toggle a chest duplication exploit using piston-push mechanics.

Here’s the plan:

  1. Main plugin class — registers everything

  2. GodMace item builder

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

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

  5. AdminPanelGUI — PIN entry screen (X, Y, Z buttons)

  6. DupeListener — piston+chest dupe logic, toggled by admin panel

  7. plugin.yml + config.yml

Let me build all of this now.

Here’s a full breakdown of what was built:


🔨 God Mace

  • Right-click launches you straight up with 2.5 velocity

  • 30-second cooldown — shows remaining seconds if you try early

  • Fall damage nullified for the entire cooldown window after launch

  • Enchantments: Density 5, Breach 4, Unbreaking 3, Fire Aspect 2, Mending


🔐 /adminpanel (op-only)

Opens a PIN entry screen with three letter buttons:

  • X (red wool), Y (yellow wool), Z (green wool)

  • Backspace + Clear buttons

  • Enter code XYZ → confirms → opens the Control Panel

  • Wrong code → denied, input cleared


🎛️ Admin Control Panel

  • Dupe toggle — green/red indicator, click to enable/disable live

  • Give God Mace — drops it straight into your inventory

  • Close button


📦 Chest Dupe Mechanic

When dupe is enabled: push a chest with a piston while holding a stick → chest contents are duplicated into your inventory. Leftover items drop at your feet.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code