king_zucski

GOD mace that passively gives the holder strength II and speed II, the mace has wind burst I and each kill the user gets with the mace it upgrades the density level by one, the max level is 10. When the holder uses the mace on someone there is a 80% chance of lightning hitting the user that was hit dealing 5 TRUE hearts.

The mace can not be destroyed. The mace has a dash ability that sends the user 6 blocks once they right click. The cooldown for the ability is 10 seconds.

Kodari AI
KodariJul 19 at 1:12 pm 7
GodMacePlugin
A Paper Minecraft plugin that adds a powerful GOD Mace weapon. The mace grants Strength II and Speed II while held, includes Wind Burst I, and increases its Density enchantment by one level for every kill, up to level 10. Right-clicking activates a six-block dash with a ten-second cooldown. Attacks have an 80% chance to summon lightning on the target, dealing five hearts of true damage. The mace is unbreakable and can be given through an administrator command.
king_zucski

Make it so it goes through totems

Kodari AI
KodariJul 19 at 1:23 pm 4

Updated the GOD Mace so attacks bypass Totems of Undying by removing any totem held in the target’s main hand or offhand before damage is processed.

king_zucski

the dash ability doesnt work, can you fix it

Kodari AI
KodariJul 19 at 1:25 pm 9

Fixed the dash ability.

  • Right-click now detects the mace while held in either hand.

  • The dash now always travels up to 6 blocks, stopping safely before solid blocks.

  • It no longer fails when the player’s direction vector has no horizontal movement.

  • The 10-second cooldown remains unchanged.

king_zucski

Make it so the lightning only happens when the user gets maced, right now you can just spam it and it does 5 hearts each hit

Kodari AI
KodariJul 19 at 1:27 pm 3

Fixed the lightning spam. The 80% lightning effect now only triggers when the mace attack is fully charged, preventing rapid consecutive hits from repeatedly dealing the extra 5 true hearts.

king_zucski

change the dash ability cooldown to 5 second

Kodari AI
KodariJul 19 at 1:28 pm 1

Changed the GOD Mace dash cooldown from 10 seconds to 5 seconds.

king_zucski

right now the dash ability only works when you look down, it should always work

Kodari AI
KodariJul 19 at 1:29 pm 2

Fixed the dash direction. It now uses the player’s horizontal facing direction from their yaw, so it works consistently regardless of whether they look up or down.

king_zucski

It teleports forward instead of dashing forward, fix that rq

Kodari AI
KodariJul 19 at 1:33 pm 3

Changed the dash from teleporting to a real forward launch using velocity. It now propels the player forward with a slight upward boost instead of instantly moving them 6 blocks.

king_zucski

make it so it goes through shields also

Kodari AI
KodariJul 19 at 2:18 pm 5
  1. Shield bypass: disable an actively blocking shield when the GOD Mace attack lands, so the mace damage and lightning can pass through it.

Updated the GOD Mace so hitting a player who is actively blocking with a shield disables that shield for 5 seconds, allowing the mace attack and lightning effect to go through.

king_zucski

Make is so it gives you infinite strength II and speed II when its in your inventory, not when you're gold it

Kodari AI
KodariJul 19 at 2:32 pm 3
  1. Update the GOD Mace effect check to look through the player’s inventory instead of only the held item.

  2. Apply permanent Strength II and Speed II while the mace is present, and remove those effects when it is absent.

Updated the passive effects so the GOD Mace grants infinite Strength II and Speed II whenever it is anywhere in the player’s inventory, not just when held. The effects are removed when the mace leaves the inventory.

king_zucski

make it so the totem still pops but it

Kodari AI
KodariJul 19 at 2:36 pm 1

What should happen after the totem pops? Your message cuts off after “but it…” — for example, should the mace’s lightning or damage still affect the player despite the Totem of Undying?

king_zucski

make it so the totem still pops but the pop is basically useless, right now the totem just deletes itself when attacked by the mace

Kodari AI
KodariJul 19 at 2:42 pm 11

Updated the GOD Mace so a Totem of Undying still activates visually, but the player is killed immediately afterward instead of being saved. The Totem is no longer manually deleted before activation.

king_zucski

alright so it doesnt go through totems, what I mean by goes through totems means it kills the user even with a totem

Kodari AI
KodariJul 19 at 2:51 pm 6
  1. Keep the Totem of Undying activation intact.

  2. Remove the dead-state check so the delayed kill always executes after the totem animation/pop.

The mace now lets the Totem activate and pop, then kills the player immediately afterward. The Totem animation still happens, but it no longer saves them from the GOD Mace.

king_zucski

The totem still saving them

Kodari AI
KodariJul 19 at 2:58 pm 11
  1. Cancel the actual resurrection so vanilla cannot save the player.

  2. Manually consume the held totem and play its resurrection effect, then let the mace’s lethal damage finish the kill.

Fixed the totem bypass: the Totem of Undying still plays its pop animation and is consumed, but the resurrection is cancelled so it no longer restores or saves the player.

king_zucski

al=right that doesnt work btw, just go back to making it auto delete the totem but make sure its only when the mace is full so people cant spam it

Kodari AI
KodariJul 19 at 3:21 pm 3
  1. Restore automatic totem deletion only when the GOD Mace attack is fully charged, leaving normal/early hits unchanged.

Updated it so the GOD Mace only deletes a held Totem of Undying when the attack is fully charged (90%+ attack cooldown). Normal hits can no longer spam-delete totems.

king_zucski

can we fix the lightning, I want it to do 5 hearts TRUE damage, doesnt matter what armour they have

Kodari AI
KodariJul 19 at 3:25 pm 9

Lightning now deals 5 hearts (10 health) of true damage directly to the target, bypassing armor and other damage reduction. It still has the existing 20% chance to trigger and only activates on fully charged mace attacks.

king_zucski

no make the lightning happen 100% of the time

Kodari AI
KodariJul 19 at 3:27 pm 2

Lightning now triggers 100% of the time on fully charged GOD Mace attacks and still deals 5 hearts of true damage, bypassing armor.

king_zucski

change the description to 100% chance to call lightning on hit

Kodari AI
KodariJul 19 at 3:30 pm 1

Changed the GOD Mace description to: “100% chance to call lightning on hit.”

king_zucski

add the ability that the mace auto stun slams

Kodari AI
KodariJul 19 at 3:40 pm 2

What should the automatic stun slam do?

  • How long should the target be stunned?

  • Should it force them downward, apply Slowness, disable jumping, or all three?

  • Should it trigger only on fully charged GOD Mace hits like the lightning?

king_zucski

that only works when someone is using a shield

Kodari AI
KodariJul 19 at 3:41 pm 3

The stun slam now triggers only when the target is actively using a shield, and only on a fully charged GOD Mace hit.

king_zucski

yea it disables their shield and kills them. I want the god mace to have no weaknesses, it deletes totems and automatically kills users that try to use it and goes through shields

Kodari AI
KodariJul 19 at 3:45 pm 3
  1. Inspect the current GOD Mace hit, shield, totem, and lore logic.

  2. Make fully charged hits bypass shields while preserving totem deletion.

  3. Add the shield-user punishment and update the item description if needed.

  • Fully charged GOD Mace hits now bypass shields and instantly kill players who are actively blocking.

  • Totems are still automatically deleted first.

  • Normal targets still receive 5 hearts of true lightning damage.

  • Updated the lore to mention the shield weakness removal.

king_zucski

make it so the mace also auto deletes shields

Kodari AI
KodariJul 19 at 3:57 pm 3

The GOD Mace now automatically deletes shields from both the target’s main hand and off hand on fully charged hits.

king_zucski

make it so anyone can use strength II and speed II. The plugin completely breaks the ability of other users using these potions. If the user doesn't have the mace they still get to use strength II and speed II. If they have the mace they get inf speed II and inf strength II.

Kodari AI
KodariJul 20 at 1:42 pm 4
  1. Remove the plugin’s global restriction on Strength II and Speed II.

  2. Preserve normal potion use for players without the GOD Mace.

  3. Grant GOD Mace holders permanent Strength II and Speed II while they possess the mace.

Strength II and Speed II are no longer removed from players without the GOD Mace.

  • Anyone can use Strength II and Speed II normally.

  • Players carrying the GOD Mace receive permanent Strength II and Speed II.

  • The effects are no longer cleared when the mace is absent.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 512
src/main/java/com/kodari/godmace/GodMacePlugin.java
package com.kodari.godmace;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.scheduler.BukkitTask;

public final class GodMacePlugin extends JavaPlugin {
    private BukkitTask passiveTask;

    @Override
    public void onEnable() {
        GodMaceItem maceItem = new GodMaceItem(this);
        GodMaceListener listener = new GodMaceListener(this, maceItem);

        getServer().getPluginManager().registerEvents(listener, this);

        if (getCommand("godmace") != null) {
            getCommand("godmace").setExecutor(new GodMaceCommand(maceItem));
        }

        passiveTask = new BukkitRunnable() {
            @Override
            public void run() {
                for (Player player : Bukkit.getOnlinePlayers()) {
                    listener.applyPassiveEffects(player);
                }
            }
        }.runTaskTimer(this, 0L, 10L);
    }

    @Override
    public void onDisable() {
        if (passiveTask != null) {
            passiveTask.cancel();
        }
    }
}