
Traj-Cakewars
TrajCakeWars is a fully standalone Cake Wars 1v1 minigame engine for Spigot and Paper 1.21+. Two players fight to eat the opponent's cake, seven bites to destroy it, one second cooldown between each. As long as your cake stands, you respawn.
21
0
TrajCakeWars v2.3.0 — ChangelogAdded
On-game-end commands — configurable console commands executed for each player when a game ends. Solves combat tag plugins killing players after they leave a CakeWars match. Uses %player% variable. Configured via game.on-game-end-commands in config.yml. Changed
Consolidated all v2.2.x patches into a single stable release. Source code fully rebuilt and cleaned up from incremental hotfixes.
TrajCakeWars v2.2.2 — Changelog
Added
- Inventory save and restore system for SMP servers. Player inventory, armor, offhand, XP, level, health, food, and gamemode are saved before each game and fully restored after. Enabled via
game.save-inventory: truein config.yml. - All game items (swords, armor, tools, bows) are now unbreakable. No durability loss during games.
- Command blocking during games. Only whitelisted commands can be used in-game, configurable via
game.allowed-commandsin config.yml. Admins withcakewars.adminbypass the restriction. /cw tp <arena>command to teleport into a template world for arena setup./cw backcommand to return to the main lobby./cw setlobbycommand to set a precise lobby return point with exact coordinates, rotation, and world./cw delete <arena>command with double-type confirmation and 10-second timeout.- Full English translation of all player-facing strings.
Changed
- Lobby teleportation now uses the saved lobby location instead of world spawn, preventing players from falling into the void.
- Private sessions no longer teleport the host to the arena lobby while waiting. The host stays in the main lobby until the opponent joins.
- Death system guard now checks gamemode instead of a UUID set, fixing the bug where the second kill after cake destruction would heal the player instead of eliminating them.
- Tab completion updated with all new commands.
Fixed
- Fixed players not dying on second kill when cake was destroyed. The
handledDeathsset was never cleared between respawns. - Fixed GUI arena detection failing due to missing arena ID in item lore.
- Fixed private session teleporting players to wrong coordinates in the lobby world.
- Fixed shop inventories appearing empty when config.yml was from an older version.
- Inventory save and restore system for SMP servers. Player inventory, armor, offhand, XP, level, health, food, and gamemode are saved before each game and fully restored after. Enabled via

