iamnotfoxy.

You are a senior Java developer and an expert Paper 1.21.11 plugin developer.

IMPORTANT

THIS IS NOT A UNO CARD GAME.

DO NOT create:

  • Decks
  • Draw piles
  • Discard piles
  • Reverse
  • Skip
  • +2
  • +4
  • Wild cards
  • Matchmaking
  • Join game
  • Start game
  • Hands
  • Turns
  • GameManager for a card game

The word "UNO" is ONLY the theme of the SMP.

=====================================================

PLUGIN

Name:

UNO-SMP

Minecraft:

Paper 1.21.11

Java: 21

Package: me.wichgamer.unosmp

=====================================================

The plugin is an SMP abilities plugin.

Players own ONE magical color card.

It is NOT a playable UNO card.

Think of it like an artifact or relic.

=====================================================

COLORS

Red

Blue

Green

Yellow

Black

Black cannot be randomly obtained.

=====================================================

PLAYER DATA

Store

UUID

Card Color

Card Level

Champion Status

Cooldowns

Power Core ownership

=====================================================

LEVELS

Every card has

Level 1

Level 2

Level 3

Level 4

Level 5

Level 6

Players spawn with Level 1.

Level 1 is NOT craftable.

Levels 2-5 have custom recipes.

Level 6 requires

Level 5 Card

+

Matching Power Core

=====================================================

BLACK CARD

Recipe

9 Black Fragments

Black Fragments

Creative Mode only

or

Admin commands only

Players cannot naturally obtain them.

=====================================================

CARD ABILITIES

Each card has passive and active abilities.

Abilities unlock as levels increase.

-----------------------------------------------------

RED CARD

Theme

Fire and Combat

Passive

Fire Resistance

Slight Strength

Level 3

Fire Dash

Dash forward leaving fire behind.

Cooldown

20 seconds.

Level 5

Flame Burst

Explodes fire around the player.

Cooldown

45 seconds.

Level 6

Inferno

Creates a huge ring of fire.

Burns nearby enemies.

Cooldown

2 minutes.

-----------------------------------------------------

BLUE CARD

Theme

Water and Speed

Passive

Faster swimming

Water Breathing

Level 3

Water Dash

Dash quickly.

Cooldown

15 seconds.

Level 5

Healing Rain

Regenerates nearby teammates.

Cooldown

45 seconds.

Level 6

Tsunami

Summons a massive wave that knocks players back.

Cooldown

2 minutes.

-----------------------------------------------------

GREEN CARD

Theme

Nature and Time

Passive

Regeneration

Faster crop growth around the player.

Level 3

Nature's Blessing

Creates flowers and heals nearby teammates.

Cooldown

30 seconds.

Level 5

Root Prison

Roots nearby enemies in place for 5 seconds.

Cooldown

45 seconds.

Level 6

Time Stop

IMPORTANT

Do NOT modify Minecraft server TPS.

Do NOT freeze the server.

Do NOT pause Paper.

Instead:

Create a 20-second area effect.

Inside a radius:

  • Freeze mobs using AI disable.
  • Prevent block breaking.
  • Prevent block placing.
  • Cancel projectile movement.
  • Apply Slowness 255 to players.
  • Apply Mining Fatigue 255.
  • Cancel interactions.

This creates the illusion that time has stopped.

Cooldown

3 minutes.

-----------------------------------------------------

YELLOW CARD

Theme

Lightning

Passive

Haste

Speed

Level 3

Lightning Dash

Cooldown

20 seconds.

Level 5

Thunder Strike

Summon lightning on nearby enemies.

Cooldown

45 seconds.

Level 6

Storm Lord

Create a lightning storm around the player.

Cooldown

2 minutes.

-----------------------------------------------------

BLACK CARD

Theme

Void

Cannot be randomly obtained.

Recipe

9 Black Fragments.

Passive

Resistance

Night Vision

Level 3

Shadow Dash

Teleport a short distance.

Cooldown

20 seconds.

Level 5

Void Pulse

Pull nearby mobs and players inward.

Cooldown

45 seconds.

Level 6

Black Hole

Creates a temporary gravity field.

Pulls nearby entities.

Damages enemies.

Cooldown

5 minutes.

=====================================================

COMMANDS

/card

Shows

Color

Level

Abilities

Cooldowns

Champion status

--------------------------------

/uno help

--------------------------------

/uno reload

--------------------------------

/uno givecard

--------------------------------

/uno setlevel

--------------------------------

/uno givecore

--------------------------------

/uno givefragment

--------------------------------

/uno champion

--------------------------------

/uno removechampion

--------------------------------

/uno meteor

Spawn a meteor containing Black Fragments.

=====================================================

FILES

UnoSMP.java

CardManager.java

AbilityManager.java

CooldownManager.java

PlayerManager.java

RecipeManager.java

ChampionManager.java

PowerCoreManager.java

MeteorManager.java

ConfigManager.java

ChatUtil.java

ItemUtil.java

Ability.java

CardColor.java

CardLevel.java

Cooldown.java

PlayerListener.java

InteractListener.java

CommandCard.java

CommandUno.java

=====================================================

CONFIGS

plugin.yml

config.yml

cards.yml

abilities.yml

recipes.yml

messages.yml

=====================================================

Generate a COMPLETE Paper plugin.

No placeholders.

No TODOs.

No card-game mechanics.

Everything must compile on Paper 1.21.11.

Kodari AI
KodariJul 27 at 8:45 am 67

I’ll build UNO-SMP — a Paper SMP abilities plugin where each player owns one magical color card (an artifact, not a playable card) with passives, unlockable actives, levels, power cores, champions, and black-fragment meteors.

UnoSMP
UNO-SMP is a Paper 1.21 abilities plugin where every player owns one magical color card — Red (fire/combat), Blue (water/speed), Green (nature/time), Yellow (lightning), or the admin-only Black (void). Cards have six levels with custom recipes, passive effects, and active abilities that unlock at levels 3, 5 and 6, including Fire Dash, Tsunami, Time Stop, Storm Lord and Black Hole. Level 6 requires a matching Power Core. Includes champion status with cooldown boosts, persistent player data, cooldown tracking, a full /uno admin command suite, and meteors that drop creative-only Black Fragments.

The plugin is complete. Key design points:

  • Cards as artifacts: each player gets a random Level 1 card (Red/Blue/Green/Yellow) on first join. Right-click cycles abilities, Sneak + Right-click activates the selected one. All card/core/fragment items carry PDC tags, so abilities work from the physical item.

  • Levels: 2–5 via shaped recipes (previous card surrounded by escalating color materials from recipes.yml); Level 6 via right-clicking a matching Power Core with a Level 5 card in inventory. Black card = 9 Black Fragments (shapeless), fragments only from /uno givefragment or /uno meteor.

  • Time Stop never touches TPS — it’s a 20s zone that disables mob AI, applies Slowness/Mining Fatigue 255, removes projectiles, and cancels block break/place/interact for everyone except the caster, restoring mob AI on expiry.

  • Champions: one per color; get a configurable cooldown multiplier (0.75) and +1 passive amplifier.

  • Persistence: color, level, champion, power cores, and cooldown expiries all saved to players.yml on quit/disable.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
29 1,963
src/main/java/me/wichgamer/unosmp/UnoSMP.java
package me.wichgamer.unosmp;

import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class UnoSMP extends JavaPlugin {

    private static UnoSMP instance;

    private ConfigManager configManager;
    private PlayerManager playerManager;
    private CooldownManager cooldownManager;
    private CardManager cardManager;
    private ChampionManager championManager;
    private PowerCoreManager powerCoreManager;
    private AbilityManager abilityManager;
    private RecipeManager recipeManager;
    private MeteorManager meteorManager;

    public static UnoSMP getInstance() {
        return instance;
    }

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();
        ItemUtil.init(this);

        this.configManager = new ConfigManager(this);
        this.playerManager = new PlayerManager(this);
        this.cooldownManager = new CooldownManager(this);
        this.cardManager = new CardManager(this);
        this.championManager = new ChampionManager(this);
        this.powerCoreManager = new PowerCoreManager(this);
        this.abilityManager = new AbilityManager(this);
        this.meteorManager = new MeteorManager(this);
        this.recipeManager = new RecipeManager(this);
        this.recipeManager.registerRecipes();

        Bukkit.getPluginManager().registerEvents(new PlayerListener(this), this);
        Bukkit.getPluginManager().registerEvents(new InteractListener(this), this);

        CommandCard commandCard = new CommandCard(this);
        getCommand("card").setExecutor(commandCard);
        getCommand("card").setTabCompleter(commandCard);

        CommandUno commandUno = new CommandUno(this);
        getCommand("uno").setExecutor(commandUno);
        getCommand("uno").setTabCompleter(commandUno);

        this.abilityManager.start();
    }

    @Override
    public void onDisable() {
        if (this.abilityManager != null) this.abilityManager.shutdown();
        if (this.playerManager != null) this.playerManager.saveAll();
    }
}