Zum Hauptinhalt springen

Minigame Arena

Arène de mini-jeu

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.

Felder

FeldTypStandardBeschreibung
gameTypeGameTypeTPPType de jeu (TPP, Spleef, Parkour, Archery, etc.)Werte:SUMOGLADIATORDUELSKOTHPAINTBALLONE_IN_THE_CHAMBERPARKOURBLOCK_PARTYTNT_RUNFLOOR_IS_LAVAFALLING_BLOCKSWAVE_SURVIVALZOMBIE_APOCALYPSEDODGE_THE_ARROWSDEFEND_THE_CORECAPTURE_THE_FLAGINFECTIONSPLEEFSHEEP_HUNTTPPFREEZE_TAGHOT_POTATODEACOUDREMUSICAL_CHAIRSARCHERYQUAKE
descriptionVar<String>—Description affichée aux joueurs dans le navigateur de jeuxPlatzhalterFarbenMehrzeilig
lobbySpawnVar<Position>ORIGINPosition du lobby d'attente (où les joueurs spawn en attendant)
gameSpawnVar<Position>ORIGINPosition de spawn en jeu (au début de la partie)
endTeleportVar<Position>ORIGINPosition de téléportation à la fin de la partie
spectatorSpawnVar<Position>ORIGINPosition des spectateurs (optionnel — utilise gameSpawn si non défini)
lobbyRadiusVar<Double>10.0Rayon horizontal autorisé autour du lobby, en attente et pendant le décompte (en blocs ; 0 = illimité)
gameRadiusVar<Double>64.0Rayon de jeu autour du spawn (utilisé par les modes hors-limites)
minPlayersVar<Int>2Nombre minimum de joueurs pour démarrer
maxPlayersVar<Int>16Nombre maximum de joueurs autorisés
autoStartCountdownVar<Int>15Temps du countdown avant le début de la partie (secondes)
maxGameDurationVar<Int>300Durée maximale de la partie (secondes)
allowLateJoinBooleanfalsePermettre aux joueurs de rejoindre en cours de partie
allowSpectateBooleantruePermettre aux joueurs éliminés de regarder en spectateur
teamModeTeamModeNONEMode d'équipe (NONE, SOLO, RED_BLUE, TEAMS_CUSTOM)
teamCountInt2Nombre d'équipes (utilisé si teamMode = TEAMS_CUSTOM)
teamNamesStringRouge,BleuNoms des équipes séparés par des virgules
giveKitBooleantrueDonner un kit aux joueurs au début de la partie
bringOwnItemsBooleanfalsePermettre aux joueurs de garder leur propre inventaire
clearInventoryOnEndBooleantrueVider l'inventaire à la fin de la partie
kitItemsList<Item>emptyItems du kit donnés aux joueurs au début de la partie
regionRef<RegionDefinitionEntry>—Région définissant la zone de jeu : quitter la région pendant une partie élimine le joueur (modes à gabarit). Laisse vide pour ne pas limiter la zone.
floorMaterialVar<String>—Matériau(x) du sol, noms Bukkit séparés par des virgules (modes « sol disparu » : Spleef, BlockParty). Le joueur est éliminé dès que le bloc sous ses pieds n'en fait plus partie. Vide = tout bloc non vide est un sol.
powerUpEnabledBooleanfalseActiver les power-ups
powerUpIntervalVar<Int>15Intervalle d'apparition des power-ups (secondes)
useRoundsBooleanfalseActiver les rounds avec reset entre chaque round
maxRoundsVar<Int>3Nombre maximum de rounds
winStatArtifactRef<MinigameWinsArtifactEntry>—Artifact stockant les victoires/défaites des joueurs
scoreArtifactRef<MinigameScoreArtifactEntry>—Artifact stockant les scores des joueurs
stateArtifactRef<MinigameStateArtifactEntry>—Artifact stockant l'état de la partie
bestTimeArtifactRef<MinigameBestTimeArtifactEntry>—Artifact stockant le meilleur temps personnel de chaque joueur
topTimesArtifactRef<MinigameTopTimesArtifactEntry>—Artifact stockant le classement des meilleurs temps
topTimesLimitInt10Nombre de temps conservés dans le classement
onGameStartRef<TriggerableEntry>—Trigger exécuté au début de la partie
onGameEndRef<TriggerableEntry>—Trigger exécuté à la fin de la partie
onPlayerJoinRef<TriggerableEntry>—Trigger exécuté quand un joueur rejoint
onPlayerEliminateRef<TriggerableEntry>—Trigger exécuté quand un joueur est éliminé
onRoundStartRef<TriggerableEntry>—Trigger exécuté au début d'un round
onPersonalBestRef<TriggerableEntry>—Trigger exécuté quand un joueur bat son propre record
onWorldRecordRef<TriggerableEntry>—Trigger exécuté quand un joueur bat le record de l'arène
customLobbyMenuRef<MinigameLobbyMenuEntry>—Menu lobby personnalisé (laissez vide pour le menu par défaut)
showScoreboardBooleantrueAfficher le scoreboard en jeu
scoreboardLinesVar<String>—Lignes du scoreboard (utilise les placeholders %minigame_...)PlatzhalterMehrzeilig
joinMessageVar<String><green>Vous avez rejoint <bold>%arena%</bold> !</green>Message de bienvenue quand un joueur rejointPlatzhalterFarbenMehrzeilig
leaveMessageVar<String><gray>%player% a quitté la partie.</gray>Message quand un joueur quittePlatzhalterFarbenMehrzeilig
winMessageVar<String><bold><gold>🏆 %winner% a gagné !</gold></bold>Message de victoire annoncé à la fin de la partie (%winner% = vainqueur)PlatzhalterFarbenMehrzeilig
eliminationMessageVar<String><red>%player% a été éliminé !</red>Message d'éliminationPlatzhalterFarbenMehrzeilig

How to use it​

This one entry configures every game mode. Pick gameType first, then set the four positions: lobbySpawn (where players wait), gameSpawn (where the game starts), spectatorSpawn (eliminated players, optional) and endTeleport (where everyone returns).

  • Starting. The game counts down only once minPlayers players have clicked Ready. autoStartCountdown is the countdown length and maxGameDuration the hard limit of the playing phase, both in seconds.

  • Teams. teamMode RED_BLUE creates two teams. TEAMS_CUSTOM creates teamCount teams named from teamNames (comma separated). NONE and SOLO create no team.

  • Inventory. kitItems are given when the game starts if giveKit is on. By default the player inventory is saved and cleared; bringOwnItems keeps it.

  • Rounds and power-ups. useRounds and maxRounds apply to the rule-based modes, and powerUpEnabled with powerUpInterval (minimum 5 seconds) drops random power-ups.

  • Messages and scoreboard. joinMessage, leaveMessage, eliminationMessage accept %arena%, %player%, %winner% and the other game tokens. scoreboardLines takes one line per row, also with the tokens, and an empty value shows a default scoreboard.

  • Persistence and triggers. Link winStatArtifact, scoreArtifact, stateArtifact, bestTimeArtifact and topTimesArtifact, and the onGameStart, onGameEnd, onPlayerJoin, onPlayerEliminate, onRoundStart, onPersonalBest and onWorldRecord triggers. The two record triggers only fire for parkour.

  • Limits and floor. lobbyRadius (default 10, 0 = no limit) keeps waiting players within that horizontal distance of lobbySpawn during the Lobby and Countdown phases: it blocks moving further away, never teleports, and walking back is always allowed. region is the play zone: leaving it during a game eliminates the player, in rule-based modes only (not Archery, Parkour or Dé à Coudre); leave it empty for no zone. floorMaterial is a comma-separated list of Bukkit material names used by the floor-gone modes (Spleef, Block Party): a player is eliminated when the block below is not in the list, and an empty value means any non-air block counts as floor. Floors are not generated.

  • Victory message. winMessage is announced when the game ends; %winner% is the winner.

  • gameRadius. Only used by the out-of-bounds elimination, which no built-in mode uses.