Bed Wars banner
Bed Wars icon

Bed Wars

Okay, make a Bedwars plugin. You'll need to set up teams, e.g., red, blue, green, yellow, aqua, white, pink, gray, and their spawns, as well as generators...

00
paperServer1.21.10mod

Bed Wars Plugin

What was built

  • A Paper BedWars plugin with lobby mode selector (1x1x1x1, 2x2x2x2, 3x3x3x3, 4x4x4x4), team joining, colored scoreboard tags, and automatic resource generators for iron, gold, diamond, and emerald.
  • /bw command suite for players (lobby, modes, join, shop, upgrades) and admins (setlobby, setspawn, setgen, cleargen, spawnshop, spawnupgrade, reload/save, info).
  • Shop GUI with common BedWars items purchasable using iron, gold, or emerald; upgrade GUI that spends diamonds for teamwide buffs (sharpness, resistance, haste).
  • NPC villagers can be spawned for shop/upgrades; right-clicking them opens the appropriate menus. Generators drop items at configured spots on a repeating timer.

Usage notes

  • Teams available: red, blue, green, yellow, aqua, white, pink, gray. Use /bw setspawn <team> at each base, then /bw join <team> to test spawns and effects.
  • Generators are added at your feet with /bw setgen <iron|gold|diamond|emerald>; remove the nearest one with /bw cleargen <type>. Items stack is capped near each generator to avoid floods.
  • Set the lobby position with /bw setlobby, then players can run /bw lobby or /bw modes to teleport there and pick a mode.
  • Spawn NPCs at desired spots with /bw spawnshop and /bw spawnupgrade; players can also open the menus directly via /bw shop and /bw upgrades.
  • Admin-only actions require bedwars.admin; all players can use bedwars.command by default.

Limitations / future ideas

  • Team membership is kept in memory only and resets after a server restart or reload.
  • The mode selector is informational/queuing only; full matchmaking, island generation, and bed breaking logic are not included.
  • Upgrades provide potion-style buffs, not full vanilla BedWars mechanics like forge tier scaling or permanent gear tracking.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.