sage_harpy_jump

Well like a plugin that spawns a 3 sepprarate barrels each in a 3k blocks area from spawn and each barrel will contain a god item ,the first one will have the god sword, the other will have the god mace,and the other will have the god armor and the custom abilities from the mace and sword also make the armor prot 6 with maxed enchants and give the sword sharp 7 and max enchants

Kodari AI
KodariAug 29 at 8:15 pm 1
GodRelicSpawns
A Minecraft plugin that spawns three separate barrels in a 3000-block radius from spawn, each containing a unique god-tier item. The first barrel holds a God Sword with Sharpness 7 and maximum enchantments, the second contains a God Mace with custom abilities, and the third contains God Armor with Protection 6 and maxed enchants. The plugin generates random coordinates within the radius, spawns the barrels with holographic markers, and implements custom abilities for the mace and sword, including special attack effects and cooldowns. Players can locate barrels via compass tracking and receive unique particle effects when wielding the god items.

I’ll create a standalone Paper plugin with:

  1. Three persisted barrel locations generated within 3,000 blocks of the main world spawn.

  2. A max-enchanted Sharpness VII sword, mace, and Protection VI armor set.

  3. Active sword and mace abilities with cooldowns.

  4. Full-set armor effects and an admin /godbarrels respawn command.

sage_harpy_jump

make sure its 1.21.11

Kodari AI
KodariAug 30 at 7:01 am 1

Updated the plugin for Minecraft/Paper 1.21.11:

  • Paper API: 1.21.11-R0.1-SNAPSHOT

  • Plugin API version: 1.21

  • Java 21 remains configured, as required by Paper 1.21.11

sage_harpy_jump

make it 1.21.11

Kodari AI
KodariAug 30 at 7:12 am 1
  1. Check the current Paper dependency and plugin metadata.

  2. Set the build target to Paper/Minecraft 1.21.11 without changing gameplay code.

  3. Keep api-version at the valid Bukkit value for the 1.21 API line.

It is already configured for Paper/Minecraft 1.21.11:

  • Paper API: 1.21.11-R0.1-SNAPSHOT

  • Java: 21

  • Plugin API version: 1.21

api-version: '1.21' is correct because Bukkit plugin metadata uses the major Minecraft API version, not the 1.21.11 patch version.

sage_harpy_jump

also make it to where i can tp to them with /godbarrels tp 1 2 or 3

Kodari AI
KodariAug 30 at 7:26 pm 1
  1. Add /godbarrels tp <1|2|3> for teleporting to the corresponding barrel.

  2. Keep respawn unchanged and update usage/tab completion plus sender handling.

Added teleport support:

  • /godbarrels tp 1 — teleport to the sword barrel

  • /godbarrels tp 2 — teleport to the mace barrel

  • /godbarrels tp 3 — teleport to the armor barrel

  • Added tab completion for tp, respawn, and barrel numbers.

  • Updated the command usage message.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 670
src/main/java/com/kodari/godbarrels/GodBarrelsPlugin.java
package com.kodari.godbarrels;

import org.bukkit.NamespacedKey;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class GodBarrelsPlugin extends JavaPlugin {
    private NamespacedKey godItemKey;
    private GodItemFactory itemFactory;
    private BarrelManager barrelManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        godItemKey = new NamespacedKey(this, "god_item");
        itemFactory = new GodItemFactory(this);
        barrelManager = new BarrelManager(this);
        barrelManager.loadOrSpawn();

        getServer().getPluginManager().registerEvents(new AbilityListener(this), this);
        new ArmorAbilityTask(this).runTaskTimer(this, 20L, 40L);

        GodBarrelsCommand command = new GodBarrelsCommand(this);
        PluginCommand pluginCommand = getCommand("godbarrels");
        if (pluginCommand != null) {
            pluginCommand.setExecutor(command);
            pluginCommand.setTabCompleter(command);
        }
    }

    public NamespacedKey getGodItemKey() {
        return godItemKey;
    }

    public GodItemFactory getItemFactory() {
        return itemFactory;
    }

    public BarrelManager getBarrelManager() {
        return barrelManager;
    }
}