About [MINIGAME] One In The Chamber | OITC
This is a Rust server plugin designed for creating and managing a "One in the Chamber" minigame, the plugin includes features like arena setup, player management, matchmaking.
This plugin requires the MinigameCore plugin for its operation, emphasizing its use in community servers that host competitive and recreational minigames.
GAMEPLAY
Players lose a life when killed and can spectate after losing all lives.
Game ends when one player remains or the time limit is reached.
Spectators can switch views between players.
FEATURES
Arena Management: Create, manage, and refresh arenas.
Player Management: Handle player stats, respawning, and spectating.
Matchmaking: Supports joining arenas mid-game, player limits, and automated game starts.
UI Components: Dynamic UI elements to show game stats, results, and lobby information.
Admin Commands: Commands for admins to manage arenas and game settings.
Configurable Settings: Time limits, max lives, and game mechanics like melee return timings can be configured.
CONFIGURABLE SETTINGS
TimeLimit: Duration of the game in seconds.
MaxLives: Number of lives each player has.
ReturnMelee: Time in seconds before a thrown melee weapon returns.
RestartOnEndGame: Whether the arena restarts automatically after a game ends.
ADMIN COMMANDS
/add_oitc_arena <name> <radius>: Starts the creation of a new arena.
/add_oitc_spawnpoint: Adds a spawn point at the admin's location.
/add_oitc_lobby: Sets the lobby location for the arena.
/add_oitc_max_players <number>: Sets the maximum number of players for the arena.
/add_oitc_create <name>: Finalizes the creation of the arena.
- * Arena Cache: Temporary storage for arena settings during creation before they are committed to the permanent configuration. * -
FILES PATH
OITC Config: /carbon/data/Minigames/OneInTheChamber/Config.json
OITC DB: /carbon/data/Minigames/OITC.db
SPECTATING IN OITC MATCH
The spectating feature in the OITC plugin allows players who have lost all their lives to observe the ongoing match from the perspective of other players. This functionality enhances the gameplay experience by keeping eliminated players engaged until the match concludes.
Key Features of Spectating: - Automatic Entry into Spectator Mode: When a player's lives reach zero, they are automatically placed in spectator mode. The plugin sends a message to the player informing them of their elimination and explaining the spectating mechanics. Player Switching: - Spectators can switch between players using the Reload (R) key. This allows spectators to dynamically view different players still active in the match. Player Management: - The plugin tracks which player each spectator is currently observing using a spectators dictionary. When switching, the next alive player in the arena's player list is selected as the new spectating target. Exiting Spectator Mode: - Spectators can leave the game entirely using the /leave command. Once the match ends, all spectators are automatically removed from spectating mode and returned to the lobby.
F