Using it

Lobby arena

A free-for-all arena inside the lobby, defined in arenas.yml.

  1. Stand in the middle of the arena: /mchub arena create (id) (a 21 by 21 box is made around you).
  2. Add more spawn points: /mchub arena spawn (id).
  3. Or set the exact box from two corners: /mchub wand, select, then /mchub arena box (id).
KeyMeaning
boxThe arena as [minX, minY, minZ, maxX, maxY, maxZ]
spawnsSpawn points [x, y, z, yaw]
kitItems as MATERIAL or MATERIAL:amount
armorArmor pieces, put on automatically
heal-on-killHeal the winner of a fight

Walking into the box (permission mchub.arena) saves the player's inventory, clears it and gives the kit. Players inside can fight each other; players outside cannot hurt them. A knock-out sends the player to a spawn point with a fresh kit and counts a kill and a death, and the void does the same. Leaving the box (or quitting) gives the real inventory back. Kills and deaths are saved in arena-stats.yml and fire ArenaKillEvent. Placeholders: {arena_kills}, {arena_deaths}, {arena_players}, {arena_top_(n)}. The games menu and arena:(id) teleport players in. Commands: /mchub arena list|create|spawn|box|delete.

Any teleport that ends outside the arena (/spawn, a portal, a command) ends the arena session at once: the kit is removed and the saved inventory is restored immediately, without waiting for a step.

/leave leaves the arena and goes to the lobby spawn. /spawn and /hub do the same.