Voxel Shop beta is live. Expect occasional bugs. Learn more
A complete, production-ready One in the Chamber PvP minigame for Paper/Spigot 1.17+
This update adds a full developer API for plugin authors who want to integrate with OneInTheChamberReborn.
OITCRebornAPI - access via OITCRebornAPI.get() or Bukkit's ServicesManager:
- Check if a player is in-game or in lobby
- Get a player's current arena
- Read live per-game kills/deaths
- Read lifetime stats (wins, kills, deaths, K/D ratio)
- Query arena info (player count, time remaining, all arenas)
- Pull a sorted leaderboard via getTopPlayers(type, limit)
Custom Events - listen to these in your plugin:
- OITCPlayerJoinArenaEvent (cancellable) - fires when a player attempts to join an arena
- OITCPlayerLeaveArenaEvent - fires when a player leaves (voluntary, disconnect, or game end)
- OITCGameStartEvent - fires when a game begins, includes the participant list
- OITCGameEndEvent - fires when a game ends, includes per-player final placements
- OITCGameWinEvent - fires when a winner is determined
- OITCKillEvent - fires on each kill
- OITCDeathEvent - fires on each death, includes optional killer reference
- OITCMilestoneKillEvent - fires when a player hits a kill milestone
Add soft-depend: [OneInTheChamberReborn] to your plugin.yml to use it.
- Hunger no longer depletes in lobbies or arenas
- HP no longer regenerates on its own once a game starts (toggleable in config)
- Added lore to the "leave arena" item in the lobby
- Added a Red Dye item that shows up in your hotbar in lobbies. Right-click with it in your main hand to leave the arena
- Added a /leave command, a shortcut for /oitcr leave
- Added MiniMessage formatting support (gradients, RGB, etc...)
- Added a scoreboard for pregame (lobby)
- Scoreboards should be fully customizable now through the lang files
- Added a 'global lobby' feature. Set it using "/oitcr setglobby" - All players from every arena will now be teleported to your set position after the game ends or if players leave mid-game. If you wish to remove the lobby, use "/oitcr removeglobby"
- Attempt to fix players sometimes staying in the arena after the game ends
- Fixed MySQL sometimes not loading stats correctly on server restart
- Added /oitcr reset <player> admin command - resets a player's stats (kills, deaths, wins) to zero. Works on offline players.
- Fixed /oitcr stats <player> not showing stats for players who are currently offline.