xdritesh_1_69415

Create a complete, production-ready Minecraft Paper plugin for IconicSMP inspired by the concept of a magical-gem SMP, but with original names, abilities, mechanics, textures, and implementation. Do not copy proprietary code or assets from any existing plugin.

Server Environment

  • Minecraft: Java Edition 1.21.11
  • Server software: Paper
  • Plugin name: IconicGems
  • SMP name: IconicSMP
  • Java version: Use the version appropriate for Minecraft 1.21.11.
  • The plugin must be optimized for a public SMP and should not cause unnecessary lag.
  • Do not require Vault, an economy plugin, or SQLite unless absolutely necessary.
  • Store persistent data safely in YAML/JSON files.

💎 Core Gem System

Create 8 unique gems, each with a completely different playstyle:

  1. Astra Gem — mobility / teleportation
  2. Inferno Gem — fire / offensive abilities
  3. Flux Gem — utility / control
  4. Vitalis Gem — healing / survival
  5. Puff Gem — jump / aerial mobility
  6. Velocity Gem — speed / movement
  7. Titan Gem — strength / combat
  8. Fortuna Gem — loot / resource abilities

Each gem should have:

  • A unique item
  • Custom display name
  • Custom lore
  • Unique abilities
  • Passive ability
  • Active abilities
  • Cooldowns
  • Energy consumption
  • Upgrade system
  • Tier system
  • Visual effects
  • Sound effects
  • Proper permissions
  • Anti-abuse protection

🔮 Equipping Gems

Players can equip one gem at a time.

The gem should work when placed in the player's offhand.

While equipped:

  • Passive effects are automatically applied.
  • Active abilities can be triggered through a configurable interaction.
  • Prevent players from equipping multiple gems simultaneously.
  • Make the activation method configurable in "config.yml".

Example:

"RIGHT CLICK + SHIFT" → activate ability.

Do not interfere with normal Minecraft item interactions unnecessarily.

⚡ Energy System

Every gem has an energy value.

Default:

  • Maximum energy: 100
  • Abilities consume different amounts of energy.
  • Energy regenerates slowly over time.
  • Killing another player can restore some energy.
  • Dying can remove some energy.
  • Energy cannot exceed the maximum.

Make all values configurable.

Example:

Energy: 73/100

When energy reaches 0:

  • Active abilities become unavailable.
  • The player receives a warning.
  • Passive abilities may remain active depending on the gem configuration.

⭐ Gem Tiers

Every gem should have:

Tier I

  • Basic abilities

Tier II

  • Stronger abilities
  • Better passive effects
  • Higher energy capacity

Tier III

  • End-game version
  • Stronger but still balanced abilities
  • Unique visual effect

Make tier requirements configurable.

Example:

tier-upgrades: tier-2: required-energy: 100 required-items: - DIAMOND:8 - NETHERITE_SCRAP:2

Do not make the system pay-to-win.

⚔️ Ability Design

Each ability must be balanced for an SMP.

Avoid abilities that can:

  • Instantly kill players
  • Permanently trap players
  • Crash clients
  • Cause excessive entity spawning
  • Create huge numbers of particles
  • Destroy massive areas
  • Bypass server protections

Abilities should have meaningful cooldowns.

Example abilities:

Astra

  • Short-range blink
  • Temporary slow-fall
  • Astral dash

Inferno

  • Fire projectile
  • Temporary fire resistance
  • Small controlled flame burst

Flux

  • Knockback pulse
  • Short-range gravity effect
  • Temporary projectile deflection

Vitalis

  • Small regeneration burst
  • Emergency absorption
  • Temporary resistance

Puff

  • Double-jump
  • Slow falling
  • Air dash

Velocity

  • Speed burst
  • Dash
  • Temporary movement boost

Titan

  • Short strength burst
  • Knockback resistance
  • Ground slam with limited radius

Fortuna

  • Small chance-based loot bonus
  • Resource-finding ability
  • Temporary luck effect

These are examples. Improve them and make each gem feel genuinely unique.

🛡️ PvP Balance

The plugin is designed for a public hardcore SMP.

Therefore:

  • Add configurable PvP cooldowns.
  • Prevent abilities from becoming infinite combos.
  • Add ability cooldown indicators.
  • Prevent spam-click activation.
  • Prevent ability abuse with macros.
  • Make effects configurable.
  • Add configurable combat restrictions.

Example:

combat: abilities-enabled: true teleportation-enabled: true healing-multiplier: 0.75 ability-cooldown-multiplier: 1.0

🔨 Repair System

Create a repair system for damaged/broken gems.

Players should be able to use a configurable item to repair a gem.

Example:

"Gem Repair Kit"

Requirements and repair amount must be configurable.

🔺 Upgrade System

Create an upgrade item called:

Gem Ascender

It upgrades:

"Tier I → Tier II → Tier III"

Show a INVENTORY GUI when upgrading.

The INVENTORY GUI should display:

  • Current tier
  • Next tier
  • Requirements
  • Upgrade button
  • Confirmation button

Require confirmation before consuming valuable materials.

🏪 Gem Trader

Create an optional NPC trader system.

The trader can sell:

  • Gem Repair Kits
  • Gem Ascenders
  • Energy items
  • Gem-related materials

Do not require Citizens unless configured.

If Citizens is not installed, provide a built-in interaction system.

🖥️ Commands

Create:

/gem /gem help /gem info /gem equip <gem> /gem unequip /gem energy /gem upgrade /gem repair /gem give <player> <gem> [tier] /gem setenergy <player> <amount> /gem reload /gems

Admin commands must require:

icongems.admin

Player permissions:

icongems.use icongems.ability icongems.upgrade

📊 Gem INVENTORY GUI

Create a clean inventory INVENTORY GUI.

Main menu:

╔════════════════════╗ ICONIC GEMS ╚════════════════════╝

Available Gems

[ Astra ] [ Inferno ] [ Flux ] [ Vitalis ] [ Puff ] [ Velocity ] [ Titan ] [ Fortuna ]

[ Your Gem ] [ Energy ] [ Upgrade ]

Clicking a gem opens its information page.

Show:

  • Gem description
  • Abilities
  • Tier
  • Energy
  • Cooldowns
  • Upgrade requirements

💾 Data Storage

Store player information persistently.

Example:

players:

UUID: gem: ASTRA tier: 2 energy: 87 trusted-players: []

Data must survive:

  • Server restart
  • Plugin reload
  • Player disconnect
  • Server crash where possible

Save data safely and avoid excessive disk writes.

🤝 Trusted Players

Allow players to mark other players as trusted.

Example:

/gem trust <player> /gem untrust <player> /gem trusted

Certain abilities should optionally ignore trusted players.

Make this configurable.

✨ Effects

Use Minecraft particles and sounds carefully.

Every gem should have its own visual identity.

Examples:

  • Astra → end-rod / portal effects
  • Inferno → flame effects
  • Flux → electric/energy effects
  • Vitalis → happy-villager / heart-style effects
  • Puff → cloud effects
  • Velocity → sweep/wind effects
  • Titan → dust/shockwave effects
  • Fortuna → enchantment/glint effects

Keep particle counts low enough for a public server.

🔧 Configuration

Create a detailed "config.yml".

Everything important should be configurable:

  • Energy
  • Regeneration
  • Ability cooldowns
  • Ability damage
  • Ability radius
  • Upgrade requirements
  • Repair costs
  • PvP restrictions
  • Sounds
  • Particles
  • Messages
  • Gem availability
  • Tier values

Create separate files if useful:

config.yml gems.yml messages.yml players.yml

📢 Messages

Use a consistent IconicSMP style.

Example:

&8[&dIconicGems&8] &fYour Astra ability is ready!

Use modern Minecraft colors and avoid excessive spam.

🚨 Anti-Abuse

Implement protections against:

  • Ability spam
  • Duplicate gems
  • Item duplication
  • Dropping/duplicating active gems
  • Invalid NBT
  • Reload exploits
  • Death duplication
  • Inventory manipulation
  • INVENTORY GUI item theft
  • Rapid ability activation

Never trust client-provided item data.

⚡ Performance

The plugin must be optimized.

Do NOT:

  • Run unnecessary repeating tasks every tick.
  • Create huge particle effects.
  • Scan every player continuously.
  • Perform unnecessary disk operations.
  • Create excessive entities.

Use Bukkit/Paper events and scheduled tasks efficiently.

📦 Final Output

Generate the complete plugin project including:

src/ plugin.yml config.yml gems.yml messages.yml README.md

Include:

  • Complete Java source code
  • All required classes
  • Event listeners
  • Commands
  • GUIs
  • Gem abilities
  • Energy system
  • Tier system
  • Repair system
  • Upgrade system
  • Data storage
  • Permissions
  • Configuration
  • Error handling

The final result should compile successfully as a Paper 1.21.11 plugin and be suitable for deployment on a real public SMP.

Most importantly, make the gameplay feel original to IconicSMP, balanced, polished, and fun rather than being a direct copy of another SMP's plugin.

Kodari AI
KodariAug 19 at 4:29 pm 4
IconicGems
A comprehensive Paper plugin for IconicSMP introducing eight unique magical gems (Astra, Inferno, Flux, Vitalis, Puff, Velocity, Titan, Fortuna) with distinct passive and active abilities, an energy system, tier progression, repair and upgrade mechanics, trusted player support, and a full inventory GUI. Features configurable cooldowns, PvP balance, anti-abuse protections, persistent YAML data storage, and an optional NPC trader, all designed for balanced, lag-free public SMP gameplay.
  1. Build the IconicGems plugin foundation, persistent player data, gem items, energy, tiers, and repair/upgrade services.

  2. Add all eight gem abilities, passive effects, cooldowns, combat restrictions, and anti-abuse listeners.

  3. Add inventory GUIs, commands, trusted-player controls, trader interaction, and deployment configuration/resources.

  1. Built the IconicGems Paper plugin foundation for Java 21 and Paper 1.21.11.

  2. Added eight original gems with tiered abilities, passives, energy, cooldowns, durability, particles, sounds, combat restrictions, trusted-player handling, and anti-spam protections.

  3. Added persistent YAML player storage with autosave, shutdown saving, disconnect saving, and atomic file replacement.

  4. Added gem items, repair kits, Gem Ascenders, energy cells, upgrade confirmation, repair handling, and offhand validation.

  5. Added /gem, /gems, player/admin subcommands, permissions, GUI menus, upgrade screens, and built-in trader NPC interaction.

  6. Added config.yml, gems.yml, messages.yml, plugin.yml, Gradle build files, and deployment README.

xdritesh_1_69415

Add 4 new random gems with not overpowered abilities and make recipe for it and gimme the recipe

Kodari AI
KodariAug 20 at 7:34 am 2
  1. Extend the gem registry and configuration with four original, balanced gems.

  2. Add craftable recipes and register them during plugin startup.

  3. Update item/GUI/command integration and provide the exact crafting recipes.

The four additions will be Lumen, Tide, Echo, and Bloom. Each gets a separate combat/utility identity, three configurable abilities, a passive, a unique gem item, and a shaped crafting recipe using normal survival materials.

  1. Added four original gems:

    • Lumen — light, detection, and controlled blindness.

    • Tide — water utility, pulling enemies, and cleansing.

    • Echo — sound-based knockback, sonar, and defense.

    • Bloom — healing, resistance, and mild poison control.

  2. Added configurable abilities, cooldowns, energy costs, durations, damage, ranges, passives, particles, and tier scaling.

  3. Added startup recipe registration with namespaced recipe keys.

  4. Updated the GUI, /gem equip, /gem give, tab completion, gem parsing, messages, and README to support all 12 gems.

Recipes

All recipes create a Tier I gem.

Lumen Gem

Plain Text
Glowstone Dust | Glowstone Dust | Glowstone Dust
Glowstone Dust | Amethyst Shard | Glowstone Dust
Glowstone Dust | Glowstone Dust | Glowstone Dust

Tide Gem

Plain Text
Prismarine Crystals | Nautilus Shell | Prismarine Crystals
Heart of the Sea   | Nautilus Shell | Heart of the Sea
Prismarine Crystals | Conduit | Prismarine Crystals

Echo Gem

Plain Text
Quartz     | Empty       | Quartz
Note Block | Echo Shard  | Note Block
Quartz     | Empty       | Quartz

Bloom Gem

Plain Text
Honeycomb     | Amethyst Shard | Honeycomb
Amethyst Shard | Emerald        | Amethyst Shard
Honeycomb     | Amethyst Shard | Honeycomb

The recipes are registered automatically when IconicGems starts.

xdritesh_1_69415

Make the recipes harder

Kodari AI
KodariAug 20 at 7:37 am 1
  1. Increase the material rarity and quantity requirements for all four new gem recipes.

  2. Keep the existing shaped-recipe registration and gem outputs unchanged.

  3. Provide the revised 3×3 recipes.

Updated all four recipes to use much rarer materials. Each recipe crafts one Tier I gem.

Lumen

Plain Text
Sea Lantern     Diamond       Sea Lantern
Diamond         Nether Star   Diamond
Sea Lantern     Diamond       Sea Lantern

Tide

Plain Text
Conduit         Heart of the Sea   Conduit
Heart of the Sea Nautilus Shell    Heart of the Sea
Conduit         Heart of the Sea   Conduit

Echo

Plain Text
Ancient Debris  Echo Shard       Ancient Debris
Echo Shard      Netherite Ingot  Echo Shard
Ancient Debris  Echo Shard       Ancient Debris

Bloom

Plain Text
Golden Apple    Emerald Block    Golden Apple
Emerald Block   Totem of Undying Emerald Block
Golden Apple    Emerald Block    Golden Apple

The recipes are registered automatically when the plugin starts.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
20 1,227
src/main/java/com/iconicsmp/icongems/IconicGems.java
package com.iconicsmp.icongems;

import com.iconicsmp.icongems.ability.AbilityManager;
import com.iconicsmp.icongems.command.GemCommand;
import com.iconicsmp.icongems.data.PlayerDataManager;
import com.iconicsmp.icongems.gem.GemItemFactory;
import com.iconicsmp.icongems.gui.GUIManager;
import com.iconicsmp.icongems.listener.IconicListener;
import com.iconicsmp.icongems.service.EnergyManager;
import com.iconicsmp.icongems.service.GemService;
import com.iconicsmp.icongems.util.MessageUtil;
import com.iconicsmp.icongems.recipe.RecipeManager;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;

public final class IconicGems extends JavaPlugin {
    private PlayerDataManager dataManager;
    private EnergyManager energyManager;
    private GemItemFactory itemFactory;
    private GemService gemService;
    private AbilityManager abilityManager;
    private GUIManager guiManager;
    private FileConfiguration messages;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        saveResource("messages.yml", false);
        saveResource("gems.yml", false);
        reloadMessages();
        itemFactory = new GemItemFactory(this);
        new RecipeManager(this, itemFactory).register();
        dataManager = new PlayerDataManager(this);
        energyManager = new EnergyManager(this, dataManager);
        gemService = new GemService(this, dataManager, itemFactory, energyManager);
        abilityManager = new AbilityManager(this, dataManager, energyManager, itemFactory);
        guiManager = new GUIManager();
        Bukkit.getPluginManager().registerEvents(new IconicListener(this), this);
        GemCommand command = new GemCommand(this);
        getCommand("gem").setExecutor(command);
        getCommand("gem").setTabCompleter(command);
        getCommand("gems").setExecutor((sender, commandLabel, label, args) -> {
            if (sender instanceof org.bukkit.entity.Player player) {
                guiManager.openMain(player, this);
            }
            return true;
        });
        long energyPeriod = Math.max(20L, getConfig().getLong("energy.regeneration-period-seconds", 3) * 20L);
        Bukkit.getScheduler().runTaskTimer(this, () -> energyManager.tick(), energyPeriod, energyPeriod);
        long passivePeriod = Math.max(20L, getConfig().getLong("effects.passive-period-ticks", 40));
        Bukkit.getScheduler().runTaskTimer(this, () -> abilityManager.applyPassives(), passivePeriod, passivePeriod);
        long savePeriod = Math.max(20L, getConfig().getLong("storage.autosave-seconds", 30) * 20L);
        Bukkit.getScheduler().runTaskTimer(this, dataManager::saveAll, savePeriod, savePeriod);
    }

    public void reloadMessages() {
        messages = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "messages.yml"));
    }

    @Override
    public void onDisable() {
        if (dataManager != null) dataManager.saveAll();
    }

    public PlayerDataManager data() { return dataManager; }
    public EnergyManager energy() { return energyManager; }
    public GemItemFactory items() { return itemFactory; }
    public GemService gems() { return gemService; }
    public AbilityManager abilities() { return abilityManager; }
    public GUIManager gui() { return guiManager; }
    public FileConfiguration messages() { return messages; }
    public String message(String key) { return MessageUtil.text(this, key); }
}