Create a polished Minecraft Paper/Bukkit plugin targeting Minecraft 1.21.11 that recreates the feel of the Bliss SMP Blood Gems system as closely as you reasonably can, while using original code and avoiding claims of official affiliation. The user explicitly wants a close remake and left the details to our best judgment. Implement the complete first version, not just a plan. Use a strong configurable Blood Gem gameplay loop: custom Blood Gem item with persistent identity, obtain gems through PvP kills, configurable rewards/limits/cooldowns, and use gems to gain extra max-health/lives or a similar meaningful survival advantage. Include appropriate death handling, prevent exploitable farming/self-kills, persistence across restarts, admin commands to inspect/give/reset/manage settings, player-facing messages, permissions, and a generated config with sensible defaults. Use this project's existing build/API conventions and target 1.21.11. Keep behavior robust against duplicate item exploits and invalid worlds/players. Provide clear README/config guidance and plugin metadata. Do not add tests or test files. Do not ask for clarification; make reasonable configurable choices. Implement feature code only; the workspace will compile it.

Kodari AI
KodariOct 26 at 5:13 am 1
BloodGems
A Minecraft Paper plugin recreating the Bliss SMP Blood Gems system. Players collect Blood Gems from PvP kills, with configurable rewards, limits, and cooldowns. Gems can be consumed to gain permanent bonus hearts or extra lives. Features persistent gem storage across restarts, anti-farming protection against self-kills and spawn camping, admin commands for gem management, and a fully configurable system with sensible defaults. Includes player-facing messages, permission-based access control, and robust handling against duplicate item exploits and invalid worlds or players.
  1. Create the Paper 1.21.11 project metadata, configurable defaults, and setup guide.

  2. Implement persistent gem identity, heart progression, PvP rewards, cooldowns, and death handling.

  3. Add player/admin commands and wire them into the plugin lifecycle.

Created BloodGems, an original Paper 1.21.11 plugin inspired by the requested gameplay, with no claim of official affiliation.

PvP kills award uniquely identified gems subject to configurable per-victim cooldowns and daily reward limits. Redeeming a gem increases a player’s saved max health; deaths can reduce their hearts, and players respawn at their remaining health limit. Player progression, reward tracking, and redeemed gem identities persist across restarts, preventing copied redeemed gems from granting hearts again.

Added admin commands for giving gems, inspecting players, setting or resetting hearts, reloading configuration, and viewing active settings. Project metadata, configurable defaults, permissions, and setup guidance are included.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
9 825
src/main/java/com/kodari/bloodgems/BloodGemsPlugin.java
package com.kodari.bloodgems;

import com.kodari.bloodgems.command.BloodGemCommand;
import com.kodari.bloodgems.game.BloodGemListener;
import com.kodari.bloodgems.game.BloodGemManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class BloodGemsPlugin extends JavaPlugin {
    private BloodGemManager bloodGemManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        bloodGemManager = new BloodGemManager(this);
        Bukkit.getPluginManager().registerEvents(new BloodGemListener(this, bloodGemManager), this);
        BloodGemCommand command = new BloodGemCommand(this, bloodGemManager);
        getCommand("bloodgem").setExecutor(command);
        getCommand("bloodgem").setTabCompleter(command);
    }

    @Override
    public void onDisable() {
        if (bloodGemManager != null) {
            bloodGemManager.saveData();
        }
    }

    public void reloadSettings() {
        reloadConfig();
        bloodGemManager.refreshOnlinePlayers();
    }
}