minigame_arena
Minigame arena — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | minigame_arena |
| Type | Misc |
| Color | Orange |
| Icon | mdi:grid |
Description
Master configuration entry for a minigame arena. This single entry contains ALL configuration for any game type. Game-specific settings are handled through the [gameType] field and [templateConfig] for template-based games. Players interact with this arena through action entries (join, leave, start) and GUI menus configured in the editor.
Fields
| Field | Type | Description |
|---|---|---|
gameType | GameType | Type de jeu (TPP, Spleef, Parkour, Archery, etc.) |
description | Var<String> | Description shown to players in the game browser |
lobbySpawn | Var<Position> | Waiting-lobby position (where players spawn while waiting) |
gameSpawn | Var<Position> | In-game spawn position (at match start) |
endTeleport | Var<Position> | Teleport position at match end |
spectatorSpawn | Var<Position> | Spectator position (optional — uses gameSpawn when unset) |
lobbyRadius | Var<Double> | Allowed movement radius in the lobby (blocks) |
minPlayers | Var<Int> | Minimum players required to start |
maxPlayers | Var<Int> | Maximum allowed players |
autoStartCountdown | Var<Int> | Temps du countdown avant le début de la partie (secondes) |
maxGameDuration | Var<Int> | Maximum match duration (seconds) |
allowLateJoin | Boolean | Permettre aux joueurs de rejoindre en cours de partie |
allowSpectate | Boolean | Allow eliminated players to spectate |
teamMode | TeamMode | Mode d'équipe (NONE, SOLO, RED_BLUE, TEAMS_CUSTOM) |
teamCount | Int | Number of teams (used when teamMode = TEAMS_CUSTOM) |
teamNames | String | Comma-separated team names |
giveKit | Boolean | Give players a kit at match start |
bringOwnItems | Boolean | Permettre aux joueurs de garder leur propre inventaire |
clearInventoryOnEnd | Boolean | Clear the inventory at match end |
kitItems | List<Item> | Kit items given to players at match start |
region | Ref<RegionDefinitionEntry> | Protection region defining the game area |
floorMaterial | Var<String> | Floor material (for Spleef, BlockParty — Bukkit Material name) |
powerUpEnabled | Boolean | Activer les power-ups |
powerUpInterval | Var<Int> | Intervalle d'apparition des power-ups (secondes) |
useRounds | Boolean | Activer les rounds avec reset entre chaque round |
maxRounds | Var<Int> | Nombre maximum de rounds |
winStatArtifact | Ref<MinigameWinsArtifactEntry> | Artifact stockant les victoires/défaites des joueurs |
scoreArtifact | Ref<MinigameScoreArtifactEntry> | Artifact stockant les scores des joueurs |
stateArtifact | Ref<MinigameStateArtifactEntry> | Artifact stockant the state de la partie |
bestTimeArtifact | Ref<MinigameBestTimeArtifactEntry> | Artifact stockant le meilleur temps personnel de chaque joueur |
topTimesArtifact | Ref<MinigameTopTimesArtifactEntry> | Artifact stockant le classement des meilleurs temps |
topTimesLimit | Int | Number of times kept in the leaderboard |
onGameStart | Ref<TriggerableEntry> | Trigger executed at match start |
onGameEnd | Ref<TriggerableEntry> | Trigger executed at match end |
onPlayerJoin | Ref<TriggerableEntry> | Trigger executed when a player joins |
onPlayerEliminate | Ref<TriggerableEntry> | Trigger executed when a player is eliminated |
onRoundStart | Ref<TriggerableEntry> | Trigger executed at round start |
onPersonalBest | Ref<TriggerableEntry> | Trigger executed when a player beats their personal best |
onWorldRecord | Ref<TriggerableEntry> | Trigger executed when a player beats the arena record |
customLobbyMenu | Ref<MinigameLobbyMenuEntry> | Custom lobby menu (leave empty for the default menu) |
showScoreboard | Boolean | Afficher le scoreboard en jeu |
scoreboardLines | Var<String> | Lignes du scoreboard (utilise les placeholders %minigame_...) |
joinMessage | Var<String> | Message de bienvenue quand un joueur rejoint |
leaveMessage | Var<String> | Message quand un joueur quitte |
winMessage | Var<String> | Message de victoire |
eliminationMessage | Var<String> | Elimination message |
Usage Example
- entry: minigame_arena
name: "Arène de mini-jeu"
gameType: ""
description: ""
lobbySpawn: ""
gameSpawn: ""
endTeleport: ""
spectatorSpawn: ""
lobbyRadius: 0
minPlayers: 0
maxPlayers: 0
autoStartCountdown: 0
maxGameDuration: 0
allowLateJoin: false
allowSpectate: false
teamMode: ""
teamCount: 0
teamNames: ""
giveKit: false
bringOwnItems: false
clearInventoryOnEnd: false
kitItems: []
region: ""
floorMaterial: ""
powerUpEnabled: false
powerUpInterval: 0
useRounds: false
maxRounds: 0
winStatArtifact: ""
scoreArtifact: ""
stateArtifact: ""
bestTimeArtifact: ""
topTimesArtifact: ""
topTimesLimit: 0
onGameStart: ""
onGameEnd: ""
onPlayerJoin: ""
onPlayerEliminate: ""
onRoundStart: ""
onPersonalBest: ""
onWorldRecord: ""
customLobbyMenu: ""
showScoreboard: false
scoreboardLines: ""
joinMessage: ""
leaveMessage: ""
winMessage: ""
eliminationMessage: ""