♠ Solitary Confinement
A Spigot/Paper plugin inspired by the Solitary Confinement game from Alice in Borderland series.
It manages the setup, logic, and event flow for a multiplayer minigame where one player becomes the Jack of Hearts, and the
others must survive and identify their figure before time runs out.
✨ Features
- Room system: define and store the playable rooms used during the event.
- Spawn system: configure the central spawn/lobby where players gather between rounds.
- Game flow: start and stop the *Solitary Confinement* event with bossbars, titles, sounds, and eliminations.
- Figure system: manage different suit types (♠ Spade, ♥ Heart, ♣ Club, ♦ Diamond) and the special Jack of Hearts role.
- Configurable messages: multi-language message files (English and Spanish).
- Visual feedback: configurable BossBar and in-game messages for every phase.
- Inventory safety: setup workflows snapshot player inventories to the temporal/ folder and automatically restore them (even after reconnects).
- Disconnection handling: offline players receive a grace timer, reconnection teleport, and spectator fallback so rounds keep progressing smoothly.
Commands
All subcommands are under /sc:
- /sc setspawn — Start the interactive spawn setup workflow.
- /sc setrooms — Start the interactive room setup workflow.
- /sc start — Start the *Solitary Confinement* game event.
- /sc reload — Reload plugin configuration and messages.
The base command checks for permission; tab completion exposes only what the sender is allowed to run.
Permissions
- solitaryconfinement.use — Use the base /sc command.
- solitaryconfinement.setspawn — Run /sc setspawn.
- solitaryconfinement.setrooms — Run /sc setrooms.
- solitaryconfinement.start — Run /sc start.
- solitaryconfinement.reload — Run /sc reload.
- solitaryconfinement.chancejake - Grant this permission to those you want to have the chance multiplier of being the Jack of
- Hearts (defined in config.yml "chance")
️ Data / Config Files
- config.yml — Language, round duration, number of rooms, and default spawn.
- bossbar.yml — BossBar title, color, and style configuration.
- types.yml — Defines the available suits and the Jack of Hearts role.
- messages/en.yml — English messages.
- messages/es.yml — Spanish messages.
- rooms.yml — Stores configured room locations.
- spawn.yml — Stores the configured spawn location
Temporary configuration states are handled internally during setup flows.
️ Gameplay Summary
- Operators set up the spawn and rooms using /sc setspawn and /sc setrooms.
- The event starts with /sc start.
- Each player receives a secret suit; one becomes the Jack of Hearts.
- The chat is locked during the briefing; rules and sounds play automatically.
- Players must identify their figure before the timer ends.
- The Jack of Hearts wins if all players die except him. Players win if the Jack of Hearts dies during the rounds. Everyone loses if everyone dies.