ABDUL MUSTAFA KHAN

GLIMP SMP — COMPLETE MINECRAFT PLUGIN DEVELOPMENT PROMPT

  1. Project Overview

Develop a fully functional, professional Minecraft SMP plugin named Glimp SMP.

The plugin must contain:

  • 12 unique Glimp types.
  • Two abilities per Glimp.
  • Normal and Revival variants.
  • Custom crafting and recipe GUI.
  • Admin-controlled recipe revealing.
  • Ritual system.
  • Ability cooldown system.
  • Custom ability HUD.
  • Player and admin commands.

IMPORTANT: Develop ONLY the server-side plugin. Do not develop any Minecraft mod, client mod, or resource pack. Players should be able to use the plugin without installing a mod.

Target Minecraft version: 1.21.11.

Use a compatible Paper API and Java version.

---

  1. Glimp System

There are 12 Glimp types:

  1. Axolotl Glimp
  2. Totem Glimp
  3. Gold Apple Glimp
  4. Wolf Glimp
  5. Pet Glimp
  6. Ender Glimp
  7. Enchanter Glimp
  8. Slot Glimp
  9. Reverse Glimp
  10. Thunder Glimp
  11. Glow Glimp
  12. Dragon Glimp

Every Glimp has:

  • First Ability
  • Second Ability
  • Normal Variant
  • Revival Variant

Normal and Revival Rules

  • First successful craft of each Glimp gives Normal Glimp.
  • Second and third successful crafts give Revival Glimps.
  • Maximum three crafts per Glimp.
  • Normal and Revival have identical abilities.
  • Revival ability cooldowns are 3x the Normal cooldowns.
  • Dragon Glimp is a special exception: only ONE can exist on the entire server.

---

  1. Ability Specifications
  1. Axolotl Glimp

Ability 1:

  • Spawn a large custom Axolotl.
  • Display its health above its head.
  • It has 20 hearts.
  • It attacks the user's enemies.
  • Enemies can attack and kill the Axolotl.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Water Breathing.
  • Permanent Dolphin's Grace.
  1. Totem Glimp

Ability 1:

  • Put a Totem of Undying in the player's offhand temporarily.
  • Summon four Vindicator guards around the player.
  • Guards protect the owner by knocking away approaching enemies.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Strength II.
  1. Gold Apple Glimp

Ability 1:

  • Give the player 5 extra hearts.
  • On activation, grant another 5 hearts.
  • Display health above the user's nametag.
  • Create a custom attacking effect that damages enemies when they are hit.
  • Use Minecraft-style heart visuals.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Haste effect.
  • No additional cooldown for normal vanilla attacks.
  1. Wolf Glimp

Ability 1:

  • Summon one large custom Wolf.
  • Send 20–25 wolves to attack the selected enemy.
  • During the ability duration, the owner cannot attack or receive player damage.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Hero of the Village effect.
  1. Pet Glimp

Ability 1:

  • Temporarily make nearby entities friendly to the user.
  • They attack the user's enemies.
  • Entities cannot attack the owner during the ability.
  • Include Ender Dragon and other supported entities where technically possible.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Speed II.
  • Permanent Jump Boost II.
  1. Ender Glimp

Ability 1:

  • Apply Blindness to all players within the owner's render distance.
  • Create a large black circular/dome-like arena around the owner.
  • Enemies entering the arena receive damage.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Permanent Invisibility.
  1. Enchanter Glimp

Ability 1:

  • When the owner hits an enemy, transfer the enchantments from the enemy's equipped armor and weapon to the owner's corresponding equipment.
  • Preserve enchantment levels.
  • Store original equipment safely.
  • Restore the original equipment when the ability expires.
  • Do not allow duplication or permanent item loss.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Allow players to apply enchanted books directly to weapons and armor without an anvil.
  • Player picks up an enchanted book and clicks the target item.
  • Apply compatible enchantments.
  1. Slot Glimp

Ability 1:

  • When the owner hits an enemy, temporarily lock their inventory swapping.
  • Enemy cannot change hotbar slots or swap weapons/items during the effect.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Implement a custom ability that temporarily locks the enemy's selected hotbar slot.
  • Make the effect visually clear.
  1. Reverse Glimp

Ability 1:

  • If the player receives a fatal hit, activate a recovery effect.
  • Restore their previous inventory and equipment.
  • Prevent dropped items from being lost.
  • Prevent item duplication.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Teleport to a player the owner successfully damaged within the last 4 seconds.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.
  1. Thunder Glimp

Ability 1:

  • Activate Thunder mode.
  • When the owner hits a player, summon lightning on that target.
  • Players entering a 3x3 radius around the owner also receive lightning.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Dash forward up to 8 blocks.
  • Normal cooldown: 10 seconds.
  • Revival cooldown: 20 seconds.
  1. Glow Glimp

Ability 1:

  • Apply Glowing to all players within render distance.
  • Make the owner invisible, including armor and held items.
  • Other players must not see the owner's character.
  • Normal cooldown: 40 seconds.
  • Revival cooldown: 120 seconds.

Ability 2:

  • Create a custom light-based ability.
  • Temporarily reveal nearby invisible players.
  • Give the owner a visual glowing effect.
  1. Dragon Glimp

Dragon Glimp is a unique endgame Glimp.

Rules:

  • Only one Dragon Glimp can exist on the entire server.
  • It cannot be crafted through normal recipes.
  • It unlocks through a special End-game server event.
  • Admins can configure its unlock condition.
  • Its abilities and visuals should be configurable.
  • Make it the rarest and most powerful Glimp.

---

  1. Ability HUD

Create a custom HUD similar to the Infuse SMP ability interface.

When a player equips a Glimp:

  • Display Slot 1 above the hotbar.
  • Display Slot 2 above the hotbar.
  • Display the ability names and icons.
  • Display cooldowns.
  • Use the XP bar to show cooldown progress.
  • Update the interface in real time.

Controls:

  • First Ability: F
  • Second Ability: SHIFT + F

Also provide separate commands for both abilities.

IMPORTANT:

F and SHIFT+F are client-side keybinds. Since this is a server-only plugin, implement the best possible vanilla-compatible solution and clearly document any client-side limitations. Do not claim that a server-only plugin can register arbitrary client keybinds.

---

  1. Glimp Items

Every Glimp must have:

  • Custom item name.
  • Custom lore.
  • Unique appearance using available vanilla Minecraft items.
  • Normal/Revival identification.
  • First ability description.
  • Second ability description.
  • How-to-use instructions.
  • Cooldown information.

Use configurable materials, names, colors, and lore.

---

  1. Recipe and Reveal System

/recipe

Open a GUI containing all 12 Glimps.

Locked Glimps:

  • Display Grey Dye.
  • Show Glimp name.
  • Display "Not Unlocked Yet".

Unlocked Glimps:

  • Display their recipe icon.
  • Allow players to inspect the recipe.

/reveal <glimpname>

Admin opens a recipe configuration GUI.

Admin can:

  • Configure all crafting ingredients.
  • Configure crafting arrangement.
  • Confirm the recipe.
  • Reveal the Glimp.

Once confirmed:

  • The Glimp becomes unlocked.
  • Players can see its recipe in /recipe and /recipes.

/recipes

Open the unlocked Glimp GUI.

On clicking a Glimp:

  • Display one Normal crafting option.
  • Display two Revival crafting options.

If Normal is available, display: "You Can Craft"

If already crafted: "Sorry, better luck next time"

Crafting must be tracked globally per Glimp, not independently per player.

---

  1. Ritual System

The first successful Normal Glimp craft starts a ritual.

Ritual duration: 20 minutes.

Requirements:

  • Broadcast in chat: "Ritual has been started by PLAYERNAME".
  • Display a title on players' screens.
  • Display a BossBar with a live countdown.

Coordinate reveal schedule:

  • At 2 minutes: Reveal X coordinate.
  • At 7 minutes: Reveal Y coordinate.
  • At 10 minutes: Reveal Z coordinate.
  • At 20 minutes: Ritual ends.

IMPORTANT:

  • Ritual starts only for Normal Glimp crafts.
  • Revival crafting does not start a ritual.
  • Ritual should be linked to the actual crafting player and location.
  • Prevent multiple accidental rituals for the same crafting event.
  • Make messages and timing configurable.

---

  1. Complete Commands

Player Commands

/glimp /glimp info /glimp abilities /glimp use 1 /glimp use 2 /glimp list /glimp cooldown /recipe /recipes

Admin Commands

/glimpadmin /reveal <glimpname> /unreveal <glimpname> /glimp give <player> <glimp> /glimp remove <player> /glimp reset <player> /glimp reload /glimp cooldown <player> <seconds> /glimp ritual start <player> /glimp ritual stop /glimp ritual skip /recipe edit <glimpname> /recipe reset <glimpname>

All commands must have tab completion and proper permissions.

---

  1. Permissions

glimp.use glimp.craft glimp.recipe glimp.admin

Only admins can:

  • Reveal recipes.
  • Edit recipes.
  • Give or remove Glimps.
  • Manage rituals.
  • Reset crafting progress.
  • Reload the plugin.

---

  1. Configuration

Create configurable files:

config.yml glimps.yml recipes.yml messages.yml rituals.yml cooldowns.yml

Allow admins to configure:

  • Cooldowns.
  • Ability duration.
  • Damage.
  • Entity health.
  • Ritual duration.
  • Ritual messages.
  • Recipes.
  • GUI names.
  • GUI item materials.
  • Ability effects.

Save player data persistently.

---

  1. Technical Requirements
  • Use clean Java architecture.
  • Use separate classes for each Glimp and ability.
  • Use Paper API.
  • Use persistent player data.
  • Save data safely.
  • Prevent item duplication.
  • Prevent exploits.
  • Prevent memory leaks.
  • Properly handle player disconnects and server restarts.
  • Clean up temporary entities and effects.
  • Handle multiple players using abilities simultaneously.
  • Use event listeners correctly.
  • Avoid unnecessary repeating tasks.
  • No console errors.
  • No deprecated API usage where avoidable.
  • No fake or incomplete implementations.

---

  1. Final Deliverables

Provide:

  1. Complete Java source code.
  2. Maven or Gradle project.
  3. plugin.yml.
  4. All configuration files.
  5. README with installation instructions.
  6. Complete command and permission list.
  7. Compiled working JAR file.

Before delivering:

  • Compile the plugin.
  • Test every command.
  • Test every Glimp ability.
  • Test Normal and Revival crafting.
  • Test recipe revealing.
  • Test rituals.
  • Test server restart data persistence.
  • Test multiplayer interactions.

Do not provide incomplete placeholder classes or pretend unimplemented features are finished.

FINAL REQUIREMENT: The plugin must be fully functional, stable, and ready to install on a Minecraft 1.21.11 Paper server.

Kodari AI
KodariYesterday at 4:58 pm 52
GlimpSMP
A comprehensive SMP plugin featuring 12 unique Glimp types with dual abilities, normal and revival variants, and a full crafting system. Includes custom recipe GUI with admin-controlled revealing, a 20-minute ritual system with coordinate reveals, ability cooldown tracking with HUD display, and extensive player/admin commands. Features configurable abilities, cooldowns, recipes, and messages across multiple YAML files with persistent player data storage.
  1. Build persistent Glimp items, crafting, recipe menus, rituals, and commands.

  2. Implement the abilities, vanilla-compatible controls, and HUD.

  3. Add configuration and document the server-side limitations.

Implemented Glimp SMP’s source, configuration files, commands, abilities, recipe GUIs, rituals, and vanilla-compatible HUD. Installation details and client-side limitations are in README.md.

Verification remains: I couldn’t verify a compiled JAR or run the requested Paper-server tests here.

To build the JAR in Kodari:

  1. Click Compile in the top bar, or on phone use ⋮ → Compile Project.

  2. Click Compile in the window.

  3. Download the successful build, then test it on a Paper 1.21.11 server before deployment.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
48 5,569
src/main/java/com/glimpsmp/GlimpPlugin.java
package com.glimpsmp;

import com.glimpsmp.ability.AbilityManager;
import com.glimpsmp.ability.types.GoldAppleGlimp;
import com.glimpsmp.command.GlimpCommands;
import com.glimpsmp.config.ConfigFiles;
import com.glimpsmp.config.Text;
import com.glimpsmp.data.DataStore;
import com.glimpsmp.glimp.GlimpInstance;
import com.glimpsmp.glimp.GlimpItems;
import com.glimpsmp.glimp.GlimpType;
import com.glimpsmp.glimp.GlimpVariant;
import com.glimpsmp.listener.GlimpListener;
import com.glimpsmp.service.Cooldowns;
import com.glimpsmp.service.EnchantmentJournal;
import com.glimpsmp.service.InventoryLocks;
import com.glimpsmp.service.Recipes;
import com.glimpsmp.service.Rituals;
import com.glimpsmp.service.Summons;
import com.glimpsmp.service.TotemEscrow;
import com.glimpsmp.ui.Hud;
import com.glimpsmp.ui.Menus;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.command.PluginCommand;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitTask;

public final class GlimpPlugin extends JavaPlugin {
    private ConfigFiles files;
    private DataStore data;
    private GlimpItems items;
    private Cooldowns cooldowns;
    private Summons summons;
    private InventoryLocks locks;
    private TotemEscrow totems;
    private EnchantmentJournal enchantments;
    private AbilityManager abilities;
    private Recipes recipes;
    private Rituals rituals;
    private Menus menus;
    private Hud hud;
    private BukkitTask task;
    private long ticks;
    private boolean dataReady;

    @Override
    public void onEnable() {
        files = new ConfigFiles(this);
        if (!files.load()) {
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        data = new DataStore(this);
        if (!data.load()) {
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        dataReady = true;
        items = new GlimpItems(this);
        cooldowns = new Cooldowns(this);
        summons = new Summons(this);
        locks = new InventoryLocks(this);
        totems = new TotemEscrow(this);
        enchantments = new EnchantmentJournal(this);
        hud = new Hud(this);
        abilities = new AbilityManager(this);
        rituals = new Rituals(this);
        recipes = new Recipes(this);
        menus = new Menus(this);
        locks.load();
        summons.removeOrphans();
        getServer().getPluginManager().registerEvents(new GlimpListener(this), this);
        getServer().getPluginManager().registerEvents(menus, this);
        getServer().getPluginManager().registerEvents(recipes, this);
        GlimpCommands commands = new GlimpCommands(this);
        for (String name : new String[]{"glimp", "glimpadmin", "recipe", "recipes", "reveal", "unreveal"}) {
            PluginCommand command = getCommand(name);
            if (command == null) {
                getLogger().severe("Missing command in plugin.yml: " + name);
                getServer().getPluginManager().disablePlugin(this);
                return;
            }
            command.setExecutor(commands);
            command.setTabCompleter(commands);
        }
        recipes.registerAll();
        for (Player player : Bukkit.getOnlinePlayers()) {
            totems.recover(player);
            enchantments.recover(player);
            GoldAppleGlimp.clearModifiers(player);
            locks.join(player);
        }
        rituals.tick();
        task = getServer().getScheduler().runTaskTimer(this, () -> {
            ticks += 5;
            abilities.tick();
            locks.tick();
            if (ticks % 20 == 0) {
                rituals.tick();
            }
        }, 1L, 5L);
    }

    @Override
    public void onDisable() {
        if (task != null) {
            task.cancel();
        }
        if (menus != null) {
            menus.closeAll();
        }
        if (abilities != null) {
            abilities.shutdown();
        }
        if (totems != null) {
            totems.restoreOnline();
        }
        if (enchantments != null) {
            enchantments.restoreOnline();
        }
        if (summons != null) {
            summons.removeAll();
        }
        if (rituals != null) {
            rituals.shutdown();
        }
        if (recipes != null) {
            recipes.unregisterAll();
        }
        if (data != null && dataReady) {
            data.save();
        }
    }

    public boolean reloadSettings() {
        menus.closeAll();
        abilities.shutdown();
        totems.restoreOnline();
        enchantments.restoreOnline();
        if (!files.load()) {
            return false;
        }
        recipes.registerAll();
        rituals.shutdown();
        rituals.tick();
        return true;
    }

    public boolean unlockDragon(Player recipient) {
        if (items.dragonUnlocked()) {
            return false;
        }
        if (!data.update(yaml -> yaml.set("dragon.unlocked", true))) {
            return false;
        }
        String prefix = files.get("messages").getString("prefix", "&8[&dGlimp SMP&8] &r");
        Bukkit.broadcastMessage(Text.color(prefix + files.get("messages").getString("dragon-unlocked", "&5The Dragon Glimp has been unlocked!")));
        if (recipient != null && recipient.isOnline() && files.get("config").getBoolean("abilities.dragon.auto-award", true)) {
            boolean space = false;
            for (ItemStack item : recipient.getInventory().getStorageContents()) {
                if (item == null || item.getType().isAir()) {
                    space = true;
                    break;
                }
            }
            if (!space) {
                Text.message(this, recipient, "inventory-full");
                recipient.sendMessage(Text.color("&eAsk an administrator to use /glimp give " + recipient.getName() + " dragon."));
            } else {
                GlimpInstance dragon = items.issue(GlimpType.DRAGON, GlimpVariant.NORMAL, false, null);
                if (dragon != null) {
                    recipient.getInventory().addItem(items.make(dragon));
                    recipient.saveData();
                    Text.message(this, recipient, "received", "glimp", items.name(GlimpType.DRAGON));
                } else {
                    Text.message(this, recipient, "storage-error");
                }
            }
        }
        return true;
    }

    public NamespacedKey key(String value) {
        return new NamespacedKey(this, value);
    }

    public ConfigFiles files() {
        return files;
    }

    public DataStore data() {
        return data;
    }

    public GlimpItems items() {
        return items;
    }