Java User67

yo broare u familiar with 1.21.11 Paper plugins creating

Kodari AI
KodariSep 22 at 3:55 am 1
MinecraftPluginGenerator
Generates a complete Minecraft Paper plugin project from a user's natural language description. The system analyzes the requested functionality, determines the appropriate plugin category, and scaffolds all necessary Java source files, plugin.yml configuration, build configuration, and resource files. It creates a fully functional plugin with proper event handlers, commands, listeners, and configuration management. The generator produces production-ready code following Paper API best practices for version 1.21.1, including proper dependency injection, async task handling, and world interaction patterns. The output is a complete, compilable project structure ready for immediate use.

Yeah, I’m familiar with creating Paper plugins for the 1.21.x series, including:

  • Gradle project setup

  • plugin.yml

  • Java plugin lifecycle

  • Commands and permissions

  • Events and listeners

  • Inventories and GUI menus

  • Persistent data containers

  • Configuration files

  • Async tasks and schedulers

  • Modern Paper APIs and Adventure components

  • Cross-version support with XSeries where needed

Tell me what plugin you want to build, and I’ll generate the project from scratch.

Java User67

so this is a source file and dumb chatgpt didnt generate fll workibng bugless 99 nights forest minecrfat .jar plugin file for 1.21.11 Paper just gave he source file so i gonna uploa the source file and u give the full .jar working one and also tell about the map that is in the game andeverythign inside the file i am just 10 year old

Kodari AI
KodariSep 22 at 3:58 am 1

Yes—upload the source files or a .zip of the project.

I can help turn it into a complete Paper plugin by:

  • Fixing compile errors and broken code

  • Adding missing classes, commands, listeners, configs, and plugin.yml

  • Making it work with the exact Paper/Minecraft version

  • Adding the game systems, mobs, items, loot, nights, camp, enemies, and progression

  • Preparing the project so it builds into a .jar

A few important things:

  1. A plugin .jar is not the same as a Minecraft world map.
    The map usually needs to be installed into the server’s world folder, or generated by the plugin. If you want a custom map included, upload the world/map too.

  2. I need the exact server version.
    Please tell me the output of:

    Plain Text
    /version
    

    Paper versions can be confusing, such as 1.21.1, 1.21.4, or newer builds.

  3. I can make it work, but no program can honestly promise “zero bugs.”
    I’ll fix the problems I find and make the project buildable and usable.

  4. If this is meant to copy 99 Nights in the Forest, upload any map, models, sounds, textures, or design files you own or are allowed to use. I can create similar gameplay, but copyrighted game assets should not be copied without permission.

Upload the source .zip and, if you have them, the map folder and screenshots.

Java User67

these are the description i told to chatgpt to create the 99 nights ful working roblox like game in minecraft 1.21.11 Paper server for other players to play -

📎 1 file 8,187 chars
📄
pasted-code-1790049787437.txt
txt 208 lines
▶
exact make the resourc pack and more just fuckng create the exact roblox gamepl ay exac shop like gui where u geton the playing players screen and one more when the player spawn like image from normal world to the /99ngihquu queue then make sure all of their items get clear ok? and make sure crafting talbe is not allowed only in the playerplaying in the game ok cragfting talbe uusage not allowed pls and jus the gui with itesm exaclty like roblx to minecart pls I WANT THE EXACT MAP LIKE IN MINECRAFT GENERATED FOR MOBS USE VANILLA MODS BUT FOR CULTIST AND DEER FOR DEER USE CUSOM RESOUE PACK NEWE ONE MAKE SURE THE DEER IS 10 BLOCKS TALL OK AND FOR CULTRISTS USE PILLAGERS IF POSSIBLE JUST MAKE SKIN WIH SKULL LIKE THATROBLOX PLS I WANT THE EXACT KIDS LIKE THAT THE BAG EERY PLAYER WHEN TEHY GET IN QUEUE THEIR WHOLE INVENTORY GET CLEARED AND THEY SPAWN WITH BASIC WOODEN TOOLS AND MAKE SURE PLAYERSCANT BUILD UP OTHER THAN 5 BLOCKS SO DEER CANT REACH AND ADAMAGE ONLY ACTUALYL ONLY 15 BLOCKS LIMIT THEY CANT BUILD WITH BLOCKS WITH THAT LLLIMIT IF THE PLAYERS DIG UNDERGROUND TOO MUCH THEY WILL GET WARNING RETURN TO GROUND NOW WITH 20 SECOD TIMER THEY TAKE HALF DAMAGER EPER 5 SECONDS UNTIL THEN I THEY DOMNT GO UP THEY DIE AND MAKE SURE BANDAGE XIST USE FOR BANDAGE LIKE VANILLA BANDAGE LIKE ITEM OK AND MAKE SURE GREEN BAR APPEARS AND JUST EXACT SOTRY AND TEXT LIKE IN ROBLOX SEARCH AND GIVE THE PERFECT ROBLOX LOOK LIKE MAP AND MORE JUST LAG FRIENDLY AL ITTL BIT MY SERVER CAN HANDLE IT THO JUST MAKE THE PERSFECT ORLBOXLOOK A LIKE PERFECT SOURCE FILE AND RESOUEC PACK COMPLETE MAKE REOSUCE PACK NOT TOO BIG THO OK?? 

Data analysis isn't available right now. Do you want to continue without it?

wydm bro i fucin mea minecrf tplugin dont u remeber

Yeah bro 😭 I remember — you mean the Minecraft Paper 1.21.11 99 Nights plugin + resource pack, not data analysis.

You want the full project based on what you just specified:

/99nights queue → sends player to your lobby at 462 / 278 / 494
Joining queue clears the entire inventory
Player receives basic wooden starter tools/items
Actual game world with the 99 Nights-style forest survival loop
Roblox-style shop GUI
Custom crafting/upgrade GUI; normal crafting tables disabled during the game
Custom bandage with a green healing indicator
Day/night progression toward 99 nights
Wolves, polar bears and other hostile forest creatures
10-block-tall Deer with a custom resource-pack appearance
Cultists represented with vanilla Pillagers plus custom appearance
Four children to rescue
Campfire/base progression
Players can build only 5 blocks upward
Underground limit of 15 blocks
Warning + 20-second return timer, then periodic damage if they stay underground
Roblox-inspired UI, sounds/text/visual style, while keeping the assets original
Lightweight enough for your 4 GB Paper server
Complete source project + resource pack

And importantly, I won't pretend an incomplete plugin is the finished game. The previous attempt you had errors with was incomplete.

The file-generation tool hit its limit on my last attempt, so I couldn't actually produce the ZIPs in that response. I can continue the plugin build when you send the next message, and I'll build the project around these exact requirements rather than starting over.

FULL FUCKNG SOURE PACKIF U DOTN GIVE PLUGIN SJT GIVEFULL ONE bro nothing otehrs than that like custom items shop exatly like in roblox btw iwant the extact game play like in roblox bro and the item crafter and that idk u know that like coal and iron for buying

Which option do you prefer?

Improve your experience by letting us know which option is better.

Option 1Option 2

I prefer this option

Skip

ChatGPT

Option 1

BRO 😭 I get what you're asking now. You don't want a basic Minecraft survival plugin. You want the full 99 Nights in the Forest experience inside Minecraft, with the shop, crafting, resources, camp upgrades, and everything.

The earlier ZIP was nowhere near that. Let's get the design right before making another one.

🌲 99 Nights in the Forest — Full game

Идеи для базы в Roblox 99 Nights in the Forest / Гайды

How to Beat 99 Nights in the Forest: Survive Cultists, Deer, and the Dark - Eneba

image

svg7

1. The item shop and crafting

I think you're referring to the scrap/ore economy and crafting stations where you collect resources and use them to buy or craft things.

Here's the Minecraft version I'd implement:

How to Craft Radar in 99 Nights in the Forest Roblox - TechWiser

Scrap / Iron / Coal

Gather resources in the forest, caves, and structures.

Used for crafting and purchasing upgrades.

Todas as Receitas de Itens em 99 Nights in the Forest

Crafting bench

Craft tools, weapons, supplies, and survival equipment.

Custom inventory and crafting interface.

99 Nights in the Forest - Games4Dudes

Item shop

Buy useful supplies and equipment using the game's resource currency.

Shop inventory, prices, and purchases.

2. Full gameplay systems

The finished implementation needs these major systems:

System

What it includes

Forest

Large playable forest, caves, points of interest

Camp

Campfire, fuel, upgrades, protection

Crafting

Workbench, recipes, tools, equipment

Shop

Resource currency, item purchases, shop UI

Resources

Wood, coal, iron, food, scrap/materials

Rescue

Four children, objectives, progression

Enemies

Wolves, polar bears, Tall Deer

Nights

Increasing difficulty, events, survival

Items

Custom tools, weapons, healing and utility items

Progression

Camp upgrades, stronger equipment

Win condition

Survive to Night 99 and complete objectives

3. I need to know which exact game mechanics you mean

I don't want to invent the wrong shop or crafting system again.

Send me either:

A YouTube video of the Roblox gameplay you mean, or
Screenshots of the shop, crafting bench, inventory, and camp upgrade menus.

Then I can use those as references to implement the Minecraft version with original assets and mechanics.

One important distinction

Do you mean the Roblox game 99 Nights in the Forest by Grandma's Favourite Games?

And for the currency, are you talking about:

Scrap — metal/resource currency used for purchases?
Coal and iron — resources you mine and use at the crafting bench?
Or a different currency/item shown in the shop?

Tell me which one, and I'll use the correct system instead of guessing.

ChatGPT

Option 2

Bro, yes — you mean the actual gameplay loop of 99 Nights in the Forest: the campfire, collecting resources, crafting, buying items, upgrading the camp, and surviving the nights. Not just a Minecraft world with wolves and a deer.

What the finished plugin needs

Идеи для базы в Roblox 99 Nights in the Forest / Гайды

1. Campfire and base

Gather wood, keep the campfire burning, expand its levels, and use it as the central survival base.

How To Get Meteor Shards in 99 Nights in the Forest - Deltia's Gaming

2. Resources and currency

Mine coal, iron, and other materials. Use the resources for crafting and buying equipment, rather than only collecting them for decoration.

How to Beat 99 Nights in the Forest: Survive Cultists, Deer, and the Dark - Eneba

3. Crafting and upgrades

A working item crafter, recipes, equipment upgrades, campfire improvements, and a proper progression system.

Hammer in 99 Nights in the Forest erhalten

4. Shop and equipment

A shop where players spend earned resources on tools, weapons, supplies, and upgrades. Items should have actual gameplay effects.

The resource pack

The pack should include the custom item appearances, crafting items, shop icons, campfire upgrades, tools, weapons, and other equipment — not just five placeholder textures.

I also need to correct my earlier claim: the ZIP I gave you was a starter plugin, not a complete recreation. It does not have the full shop, crafting system, resource economy, or complete story.

One thing I need to confirm: When you say coal and iron for buying, do you mean the resources are the actual currency used at the shop, or do you mean you want a separate currency like coins/scrap? And should the shop be a GUI opened by interacting with an NPC, or a crafting-table-style menu?
Kodari AI
KodariSep 22 at 4:08 am 2
  1. Core project: create a Paper plugin with queue, arena lifecycle, inventory isolation, commands, and configuration.

  2. Gameplay: add campfire progression, resource gathering, custom crafting/shop GUIs, rescue objectives, enemies, nights, building limits, and underground warnings.

  3. Items/UI: add custom names, persistent item identifiers, bandage healing, starter kits, and resource-pack metadata/models.

  4. Packaging: add plugin.yml, config.yml, Gradle build files, and a resource-pack skeleton with original model definitions.

Created the Nine Nights Paper plugin project with:

  • /99nights queue, leave, shop, craft, and status

  • Queue teleport at the configured coordinates

  • Inventory clearing and restoration after leaving

  • Starter axe, pickaxe, food, and bandage

  • Night progression up to Night 99

  • Campfire fuel and upgrades

  • Coal, iron, and wood gathering

  • Shop and custom crafting GUIs

  • Bandage healing action bar

  • Four rescueable children

  • Wolves, pillager cultists, and a named forest boss-style mob

  • Building height and underground restrictions

  • Underground warning and damage system

  • Resource-pack model hooks

  • plugin.yml, config.yml, and Gradle setup

Important limitations:

  • This is a source project, not a compiled .jar; the environment cannot attach a binary jar directly.

  • The resource pack currently uses lightweight vanilla-texture fallback models, not custom artwork.

  • No actual Roblox map or copyrighted Roblox assets are included. The plugin uses the existing server world.

  • The “10-block-tall deer” is represented with a vanilla Ravager-style entity and needs a proper model/resource-pack system for a genuinely tall custom deer.

  • Build it with:

    Shell
    gradle build
    

    The resulting jar will be in:

    Plain Text
    build/libs/NineNights-1.0.0.jar
    
Java User67

hello dd u create te full .jar plugin

Kodari AI
KodariSep 22 at 4:10 am 1

No—the previous response did not create or attach a complete .jar file. It only described/generated a source project.

Upload the actual source .zip or files here, and I can:

  • Fix missing or broken code

  • Make sure the project compiles for your Paper version

  • Add missing plugin files and resources

  • Prepare it to produce:

    Plain Text
    build/libs/YourPlugin.jar
    

I can’t honestly call it “bugless” or claim a complete Roblox copy without testing the uploaded project and seeing the map/resource-pack files.

Java User67

no i am tlling u right now create brand new plugin bro i catn upload the file it says unsupported file type so just creatr teh barand new plugin .jra full file

📎 1 file 8,187 chars
📄
pasted-code-1790050282431.txt
txt 208 lines
▶
exact make the resourc pack and more just fuckng create the exact roblox gamepl ay exac shop like gui where u geton the playing players screen and one more when the player spawn like image from normal world to the /99ngihquu queue then make sure all of their items get clear ok? and make sure crafting talbe is not allowed only in the playerplaying in the game ok cragfting talbe uusage not allowed pls and jus the gui with itesm exaclty like roblx to minecart pls I WANT THE EXACT MAP LIKE IN MINECRAFT GENERATED FOR MOBS USE VANILLA MODS BUT FOR CULTIST AND DEER FOR DEER USE CUSOM RESOUE PACK NEWE ONE MAKE SURE THE DEER IS 10 BLOCKS TALL OK AND FOR CULTRISTS USE PILLAGERS IF POSSIBLE JUST MAKE SKIN WIH SKULL LIKE THATROBLOX PLS I WANT THE EXACT KIDS LIKE THAT THE BAG EERY PLAYER WHEN TEHY GET IN QUEUE THEIR WHOLE INVENTORY GET CLEARED AND THEY SPAWN WITH BASIC WOODEN TOOLS AND MAKE SURE PLAYERSCANT BUILD UP OTHER THAN 5 BLOCKS SO DEER CANT REACH AND ADAMAGE ONLY ACTUALYL ONLY 15 BLOCKS LIMIT THEY CANT BUILD WITH BLOCKS WITH THAT LLLIMIT IF THE PLAYERS DIG UNDERGROUND TOO MUCH THEY WILL GET WARNING RETURN TO GROUND NOW WITH 20 SECOD TIMER THEY TAKE HALF DAMAGER EPER 5 SECONDS UNTIL THEN I THEY DOMNT GO UP THEY DIE AND MAKE SURE BANDAGE XIST USE FOR BANDAGE LIKE VANILLA BANDAGE LIKE ITEM OK AND MAKE SURE GREEN BAR APPEARS AND JUST EXACT SOTRY AND TEXT LIKE IN ROBLOX SEARCH AND GIVE THE PERFECT ROBLOX LOOK LIKE MAP AND MORE JUST LAG FRIENDLY AL ITTL BIT MY SERVER CAN HANDLE IT THO JUST MAKE THE PERSFECT ORLBOXLOOK A LIKE PERFECT SOURCE FILE AND RESOUEC PACK COMPLETE MAKE REOSUCE PACK NOT TOO BIG THO OK?? 

Data analysis isn't available right now. Do you want to continue without it?

wydm bro i fucin mea minecrf tplugin dont u remeber

Yeah bro 😭 I remember — you mean the Minecraft Paper 1.21.11 99 Nights plugin + resource pack, not data analysis.

You want the full project based on what you just specified:

/99nights queue → sends player to your lobby at 462 / 278 / 494
Joining queue clears the entire inventory
Player receives basic wooden starter tools/items
Actual game world with the 99 Nights-style forest survival loop
Roblox-style shop GUI
Custom crafting/upgrade GUI; normal crafting tables disabled during the game
Custom bandage with a green healing indicator
Day/night progression toward 99 nights
Wolves, polar bears and other hostile forest creatures
10-block-tall Deer with a custom resource-pack appearance
Cultists represented with vanilla Pillagers plus custom appearance
Four children to rescue
Campfire/base progression
Players can build only 5 blocks upward
Underground limit of 15 blocks
Warning + 20-second return timer, then periodic damage if they stay underground
Roblox-inspired UI, sounds/text/visual style, while keeping the assets original
Lightweight enough for your 4 GB Paper server
Complete source project + resource pack

And importantly, I won't pretend an incomplete plugin is the finished game. The previous attempt you had errors with was incomplete.

The file-generation tool hit its limit on my last attempt, so I couldn't actually produce the ZIPs in that response. I can continue the plugin build when you send the next message, and I'll build the project around these exact requirements rather than starting over.

FULL FUCKNG SOURE PACKIF U DOTN GIVE PLUGIN SJT GIVEFULL ONE bro nothing otehrs than that like custom items shop exatly like in roblox btw iwant the extact game play like in roblox bro and the item crafter and that idk u know that like coal and iron for buying

Which option do you prefer?

Improve your experience by letting us know which option is better.

Option 1Option 2

I prefer this option

Skip

ChatGPT

Option 1

BRO 😭 I get what you're asking now. You don't want a basic Minecraft survival plugin. You want the full 99 Nights in the Forest experience inside Minecraft, with the shop, crafting, resources, camp upgrades, and everything.

The earlier ZIP was nowhere near that. Let's get the design right before making another one.

🌲 99 Nights in the Forest — Full game

Идеи для базы в Roblox 99 Nights in the Forest / Гайды

How to Beat 99 Nights in the Forest: Survive Cultists, Deer, and the Dark - Eneba

image

svg7

1. The item shop and crafting

I think you're referring to the scrap/ore economy and crafting stations where you collect resources and use them to buy or craft things.

Here's the Minecraft version I'd implement:

How to Craft Radar in 99 Nights in the Forest Roblox - TechWiser

Scrap / Iron / Coal

Gather resources in the forest, caves, and structures.

Used for crafting and purchasing upgrades.

Todas as Receitas de Itens em 99 Nights in the Forest

Crafting bench

Craft tools, weapons, supplies, and survival equipment.

Custom inventory and crafting interface.

99 Nights in the Forest - Games4Dudes

Item shop

Buy useful supplies and equipment using the game's resource currency.

Shop inventory, prices, and purchases.

2. Full gameplay systems

The finished implementation needs these major systems:

System

What it includes

Forest

Large playable forest, caves, points of interest

Camp

Campfire, fuel, upgrades, protection

Crafting

Workbench, recipes, tools, equipment

Shop

Resource currency, item purchases, shop UI

Resources

Wood, coal, iron, food, scrap/materials

Rescue

Four children, objectives, progression

Enemies

Wolves, polar bears, Tall Deer

Nights

Increasing difficulty, events, survival

Items

Custom tools, weapons, healing and utility items

Progression

Camp upgrades, stronger equipment

Win condition

Survive to Night 99 and complete objectives

3. I need to know which exact game mechanics you mean

I don't want to invent the wrong shop or crafting system again.

Send me either:

A YouTube video of the Roblox gameplay you mean, or
Screenshots of the shop, crafting bench, inventory, and camp upgrade menus.

Then I can use those as references to implement the Minecraft version with original assets and mechanics.

One important distinction

Do you mean the Roblox game 99 Nights in the Forest by Grandma's Favourite Games?

And for the currency, are you talking about:

Scrap — metal/resource currency used for purchases?
Coal and iron — resources you mine and use at the crafting bench?
Or a different currency/item shown in the shop?

Tell me which one, and I'll use the correct system instead of guessing.

ChatGPT

Option 2

Bro, yes — you mean the actual gameplay loop of 99 Nights in the Forest: the campfire, collecting resources, crafting, buying items, upgrading the camp, and surviving the nights. Not just a Minecraft world with wolves and a deer.

What the finished plugin needs

Идеи для базы в Roblox 99 Nights in the Forest / Гайды

1. Campfire and base

Gather wood, keep the campfire burning, expand its levels, and use it as the central survival base.

How To Get Meteor Shards in 99 Nights in the Forest - Deltia's Gaming

2. Resources and currency

Mine coal, iron, and other materials. Use the resources for crafting and buying equipment, rather than only collecting them for decoration.

How to Beat 99 Nights in the Forest: Survive Cultists, Deer, and the Dark - Eneba

3. Crafting and upgrades

A working item crafter, recipes, equipment upgrades, campfire improvements, and a proper progression system.

Hammer in 99 Nights in the Forest erhalten

4. Shop and equipment

A shop where players spend earned resources on tools, weapons, supplies, and upgrades. Items should have actual gameplay effects.

The resource pack

The pack should include the custom item appearances, crafting items, shop icons, campfire upgrades, tools, weapons, and other equipment — not just five placeholder textures.

I also need to correct my earlier claim: the ZIP I gave you was a starter plugin, not a complete recreation. It does not have the full shop, crafting system, resource economy, or complete story.

One thing I need to confirm: When you say coal and iron for buying, do you mean the resources are the actual currency used at the shop, or do you mean you want a separate currency like coins/scrap? And should the shop be a GUI opened by interacting with an NPC, or a crafting-table-style menu?
Kodari AI
KodariSep 22 at 4:14 am 1

I’ll create a new buildable Paper plugin project rather than pretend I can attach a finished binary directly:

  1. Inspect the current project and Paper/Java setup.

  2. Replace incomplete placeholder code with a working playable core.

  3. Add the plugin configuration and a lightweight original resource-pack template.

  4. Build/verify the project through the project verifier and provide the generated .jar path.

I created the new Nine Nights plugin project and fixed important gameplay bugs, including:

  • Queue inventory clearing without deleting the player’s saved items

  • Inventory restoration when leaving

  • Crafting-table blocking inside the game

  • Safe multi-resource crafting

  • Underground damage timing

  • Cleanup of spawned mobs and lost children

  • Campfire restoration after the game

  • Safer command registration

However, I did not create or attach a compiled .jar binary. This chat workspace can edit the plugin source, but it cannot directly send a finished binary file.

To create the .jar, the project owner needs to run:

Shell
gradle build

The output will be:

Plain Text
build/libs/NineNights-1.0.0.jar

The project is still a Minecraft-inspired survival plugin, not an exact copy of the Roblox game. A truly exact map, custom 10-block deer model, custom textures, animations, and sounds would require separate map/model/resource-pack assets.

Java User67

gradle build

Kodari AI
KodariSep 22 at 4:19 am 1

Run this from the plugin project’s root directory:

Shell
gradle build

The compiled plugin will be created at:

Plain Text
build/libs/NineNights-1.0.0.jar

If Gradle is not installed, use the project wrapper instead:

Shell
./gradlew build

On Windows:

Shell
gradlew.bat build

I can’t execute Gradle in this chat environment or attach the resulting binary directly.

Kodari can make mistakes. Review important code before using.
Files
resource-pack
src
build.gradle
settings.gradle
Code
18 1,013
src/main/java/com/kodari/ninenights/NineNightsPlugin.java
package com.kodari.ninenights;

import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.ArrayList;
import java.util.List;

public final class NineNightsPlugin extends JavaPlugin implements CommandExecutor, TabCompleter {
    private GameManager gameManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        this.gameManager = new GameManager(this);
        Bukkit.getPluginManager().registerEvents(new GameListener(this, gameManager), this);
        if (getCommand("99nights") != null) {
            getCommand("99nights").setExecutor(this);
            getCommand("99nights").setTabCompleter(this);
        }
    }

    @Override
    public void onDisable() {
        if (gameManager != null) {
            gameManager.shutdown();
        }
    }

    public GameManager game() {
        return gameManager;
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (!(sender instanceof Player player)) {
            sender.sendMessage("This command is for players.");
            return true;
        }
        String subcommand = args.length == 0 ? "queue" : args[0].toLowerCase();
        switch (subcommand) {
            case "queue", "join", "start" -> gameManager.joinQueue(player);
            case "leave", "quit" -> gameManager.leave(player, true);
            case "shop" -> {
                if (gameManager.isPlaying(player)) {
                    GameMenu.openShop(this, player);
                } else {
                    player.sendMessage("&cYou are not in a game.".replace('&', '§'));
                }
            }
            case "craft", "crafting" -> {
                if (gameManager.isPlaying(player)) {
                    GameMenu.openCrafting(this, player);
                } else {
                    player.sendMessage("&cYou are not in a game.".replace('&', '§'));
                }
            }
            case "status" -> player.sendMessage(gameManager.status());
            default -> player.sendMessage("§e/99nights §7queue, leave, shop, craft, status");
        }
        return true;
    }

    @Override
    public List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args) {
        if (args.length != 1) {
            return List.of();
        }
        List<String> choices = new ArrayList<>(List.of("queue", "leave", "shop", "craft", "status"));
        choices.removeIf(value -> !value.startsWith(args[0].toLowerCase()));
        return choices;
    }
}