M

Project name (deadly gems) Developer credit - DEADLY_PLAYZ

Make a minecraft custom plugin for minecraft paper 1.21+

What is plugin about??

In this server there are 15 different types of gems which has a active and a passive ability this gems have detailed lore witha unique and a attractive name this gems are unplaceable unbreakable unthrowable this will be permanent in players inventory and every gem item is echo shard

Gem tires

There are total 3 different sections

Mythic (this gems will have basic active and power) 2.magical (this gems have medium level powers) 3.legion( this gems have high level powers)

How players will get gems??

When a new player joins server give him a random gem out of 15 gems and a book named tutorial in which there are all instructions about plugins after giving gem to player send player chat (you got (gem)

Is this gems upgradble?

Yes this gems have 5 Levels To upgrade gem player need's a legion star which was crafted in crafting tabel it's recipe will be Obsidian - diamond block - obsidian Obsidian - nether Star - obsidian Obsidian - diamond block - obsidian When player craftes it flash a announcement that player has crafted legion star every level upgrades gem power and decrease cooldown of abilities

What are abilities?

Passive abilitie will be always active means sharpness on sword etc

Active abilities have cooldown based on level and how danger is gems power active abilities will activated when player does shift+right click on gem and passive abilities will work only when it was in main hand or offhand and cooldown of gems will show on players hotbar when gem is in main hand or offhand if cooldown is over then it's shows ready to use

Gem name style - [gem_name] [gem level] [gem section] (like mythic, magical , legion

Everything must configureable (example disabling/ enabling gems)

Add 20+ player and admin commands Admin cmds must have (commands must start via /legion or /gems (must have auto tab completetations)

Give gem Levelup gem Reset player Disable or enable gems Getall gems setsafezone (where admin runs this commands disable uses of gems in 30x30(can be edited in config) area of safezone

Gem lore style (decide your self )

active abilities and passive abilities are only activated when the gem is in players offhand or main hand (now not working in offhand) and passive power must permanent add some new features gem must not drop when player is killed and if player dies 7 times (can be configured in config) his gem will become broken at this stage player can't use his gem until he repairs it, to repair a a gem he need to craft a legion regainer from crafting table and it's recipe is same as legion star just replace obsidian with crying obsidian and nether star with sea heart and add this feature

Particle Effects & Sounds: Active abilities and level-ups must trigger custom particle effects and Minecraft sound effects to make them feel powerful.

Gem Rerolling: Players can craft or buya "Reroll Token" (configurable item) to swap their current gem for a new random one, resetting its level to 1 Database Support: Save player gem data in SQLite (default) or MySQL to prevent data loss.

Remeber that gem will not drop on natural death or player death

Kodari AI
KodariJun 10 at 12:09 pm 90
DeadlyGems
A feature-rich gem system where players receive unique gems with active & passive abilities across 3 tiers: Mythic, Magical, and Legion. 15 distinct gems feature custom particle effects, scheduled passives, and skill-based actives triggered via Shift+Right-Click. Includes 5-level upgrade system, death-breaking mechanics, safezone support, SQLite/MySQL storage, admin & player commands, GUI menus, crafting recipes for upgrade/repair items, and full config support.

I’ll build out the entire plugin now. Planning structure before writing:

Architecture: com.deadlyplayz.deadlygems

  • Core: Main, ConfigManager, Keys, DatabaseManager

  • Player: PlayerGemData, PlayerManager

  • Gem: GemTier enum, Gem abstract, GemRegistry + 15 implementations

  • Managers: CooldownManager, SafeZoneManager

  • Items: SpecialItems (LegionStar, LegionRegainer, RerollToken)

  • Listeners: Join, Death, Interact, Protect, Craft, Combat

  • Commands: GemsCommand, LegionCommand

  • Tasks: GemPassiveTask, HotbarUpdateTask

  • GUI: InventoryHandler, InventoryButton, InventoryGUI, GUIManager, GUIListener, GemInfoGUI

  • Util: ItemBuilder, MessageUtil, ParticleUtil



Here’s a full summary of everything built:

49 files — complete, production-ready plugin.


🔮 15 Unique Gems

Gem
Tier
Passive
Active
Emberveil
Mythic
Strength I
Fireball barrage (scales w/ level)
Frostbound
Mythic
Frost aura slows nearby enemies
Blizzard Burst – freezes all in 6 blocks
IronHide
Mythic
Resistance I
Fortress – Resistance III + Fire Res 8s
Verdant
Mythic
Regeneration I
Cleansing heal burst
SwiftGale
Mythic
Speed I
Wind Surge – Speed III + Jump Boost III
Soulweave
Magical
Lifesteal on hit
Drain life from all nearby enemies
Voidwalker
Magical
Night Vision
20-block precision teleport
Phantasm
Magical
Strength II
Weakness II + Blindness AoE
Arcanum
Magical
Absorption I (replenished)
Arcane Repulse – knockback all
Infernium
Magical
Fire Immunity
Ignite all enemies in 6 blocks
Celestium
Legion
Strength II + Resistance I
6-heart divine AoE + lightning
Necroveil
Legion
Wither on hit
Wither skull volley (up to 8 targets)
Temporal
Legion
Haste II
Time Freeze – slow + blind enemies, buff self
Draconis
Legion
Resistance I + Regen II
Dragon breath cloud AoE
Abyssal
Legion
Invisibility (refreshed)
Invis + Speed III + Absorption IV

⚙️ Key Mechanics

  • Death system — gem never drops, death count tracked, breaks at configurable threshold (default 7)

  • Repair — craft Legion Regainer (Crying Obsidian + Diamond Block + Heart of the Sea)

  • Upgrade — craft Legion Star (Obsidian + Diamond Block + Nether Star) → /gems upgrade

  • Reroll — craft Reroll Token (Amethyst Shards + Echo Shard) → /gems reroll

  • Safezones — admins set 30-block zones where abilities are disabled

  • Hotbar display — action bar shows gem name, level, cooldown/ready status in real-time

  • Database — SQLite (default) or MySQL via HikariCP

Commands

  • /gems — help, info, cooldown, upgrade, repair, reroll

  • /legion — give, levelup, reset, enable, disable, getall, setsafezone, delsafezone, listsafezones, info, repair, break, setdeaths, reload, listgems, listplayers

M

Give me all recipea

M

Give me all recipea

M

Give me all recipes

M

Bro plugin is properly working just improve powers and make action bar look small and giveme all recipes

Kodari AI
KodariJun 13 at 2:55 am 49

Now let me read the remaining gem files and SpecialItems:

Now I have everything. I’ll upgrade all 15 gems with more impactful powers and make the action bar compact and clean. Rewriting all at once:

Now improve action bar status strings and upgrade all 15 gems:

Good — my first patch already landed. Now just fix the status strings to be cleaner:

Now upgrade all 15 gems in parallel:


✅ What changed

Action Bar — now compact and minimal:

Plain Text
❖ §6Emberveil §7Lv.3 §8| §a✔ Ready
❖ §cDraconis §7Lv.5 §8| §c8s
❖ §4Abyssal §7Lv.2 §8| §4✖ Broken

Gone: the clunky [ ] brackets, ⚡, Passive: ⬤ — just gem name, level, and cooldown state.


Upgraded Powers (all 15 gems):

Gem
What improved
Emberveil
Fireballs are now incendiary, yield scales with level, shooter gets Strength II burst
Frostbound
Active adds Weakness + chip damage, self gets Resistance buff; aura radius scales
IronHide
Active repels nearby enemies + deals chip damage; Absorption scales with level
Verdant
Full heal (was partial), also cleanses Nausea/Hunger, gives Regen III + Absorption
SwiftGale
Speed II at Lv4, Jump Boost IV, Slow Falling added, launches player in look direction
Soulweave
60% lifesteal on active (was 50%), adds Wither to drained enemies, bonus Regen if you drain
Voidwalker
Blink now debuffs enemies at origin (Darkness + Weakness), grants Strength after
Phantasm
Adds Nausea to curse, deals phantom damage + brief Strength III self-spike
Arcanum
Knockback scales with level, deals arcane damage, gives Absorption II on active
Infernium
At Lv3+ fires targeted fireballs at each enemy, Weakness added, self Strength burst
Celestium
Glowing on all victims, Weakness II, massive self triple-buff (Strength+Res+Absorption), lightning on each enemy
Necroveil
Charged skulls at Lv4+, instant Wither II burst on targets, self Resistance brief buff
Temporal
Adds Mining Fatigue II + Weakness to time-frozen enemies; self gets Strength + Resistance
Draconis
Dragon breath is larger and longer, Wither II on enemies, Regen III+Strength II self-buff
Abyssal
Darkness burst on nearby before going invisible, adds Strength II during surge

🛠 All Crafting Recipes

Legion Star (gem upgrade):

Plain Text
Obsidian     | Diamond Block | Obsidian
Obsidian     | Nether Star   | Obsidian
Obsidian     | Diamond Block | Obsidian

Legion Regainer (gem repair):

Plain Text
Crying Obsidian | Diamond Block   | Crying Obsidian
Crying Obsidian | Heart of the Sea| Crying Obsidian
Crying Obsidian | Diamond Block   | Crying Obsidian

Reroll Token (swap gem):

Plain Text
      [empty]       | Amethyst Shard | [empty]
Amethyst Shard | Echo Shard     | Amethyst Shard
      [empty]       | Amethyst Shard | [empty]
Kodari can make mistakes. Review important code before using.
Files
src
manifest.kod
Code
49 3,787
src/main/java/com/deadlyplayz/deadlygems/DeadlyGems.java
package com.deadlyplayz.deadlygems;

import com.deadlyplayz.deadlygems.command.GemsCommand;
import com.deadlyplayz.deadlygems.command.LegionCommand;
import com.deadlyplayz.deadlygems.database.DatabaseManager;
import com.deadlyplayz.deadlygems.gem.GemRegistry;
import com.deadlyplayz.deadlygems.inventory.gui.GUIListener;
import com.deadlyplayz.deadlygems.inventory.gui.GUIManager;
import com.deadlyplayz.deadlygems.items.SpecialItems;
import com.deadlyplayz.deadlygems.listener.CombatListener;
import com.deadlyplayz.deadlygems.listener.CraftListener;
import com.deadlyplayz.deadlygems.listener.GemInteractListener;
import com.deadlyplayz.deadlygems.listener.GemProtectListener;
import com.deadlyplayz.deadlygems.listener.PlayerDeathListener;
import com.deadlyplayz.deadlygems.listener.PlayerJoinListener;
import com.deadlyplayz.deadlygems.manager.CooldownManager;
import com.deadlyplayz.deadlygems.manager.SafeZoneManager;
import com.deadlyplayz.deadlygems.player.PlayerManager;
import com.deadlyplayz.deadlygems.task.GemPassiveTask;
import com.deadlyplayz.deadlygems.task.HotbarUpdateTask;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.Objects;

@Getter
public class DeadlyGems extends JavaPlugin {

    private ConfigManager configManager;
    private DatabaseManager databaseManager;
    private PlayerManager playerManager;
    private GemRegistry gemRegistry;
    private CooldownManager cooldownManager;
    private SafeZoneManager safeZoneManager;
    private GUIManager guiManager;
    private SpecialItems specialItems;

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

        this.configManager = new ConfigManager(this);
        this.gemRegistry = new GemRegistry(this);
        this.databaseManager = new DatabaseManager(this);
        this.databaseManager.init();
        this.playerManager = new PlayerManager(this);
        this.cooldownManager = new CooldownManager();
        this.safeZoneManager = new SafeZoneManager(this);
        this.guiManager = new GUIManager();
        this.specialItems = new SpecialItems(this);
        this.specialItems.registerRecipes();

        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new GemInteractListener(this), this);
        getServer().getPluginManager().registerEvents(new GemProtectListener(this), this);
        getServer().getPluginManager().registerEvents(new CraftListener(this), this);
        getServer().getPluginManager().registerEvents(new CombatListener(this), this);

        GemsCommand gemsCmd = new GemsCommand(this);
        Objects.requireNonNull(getCommand("gems")).setExecutor(gemsCmd);
        Objects.requireNonNull(getCommand("gems")).setTabCompleter(gemsCmd);

        LegionCommand legionCmd = new LegionCommand(this);
        Objects.requireNonNull(getCommand("legion")).setExecutor(legionCmd);
        Objects.requireNonNull(getCommand("legion")).setTabCompleter(legionCmd);

        new GemPassiveTask(this).runTaskTimer(this, 0L, 4L);
        new HotbarUpdateTask(this).runTaskTimer(this, 0L, 10L);

        getLogger().info("DeadlyGems v" + getDescription().getVersion() + " enabled! Developed by DEADLY_PLAYZ");
    }

    @Override
    public void onDisable() {
        if (playerManager != null) playerManager.saveAll();
        if (databaseManager != null) databaseManager.close();
        getLogger().info("DeadlyGems disabled.");
    }
}