Перейти к основному содержимому

minigame_arena

Minigame arena — misc entry.

Entry Information

PropertyValue
Entry IDminigame_arena
TypeMisc
ColorOrange
Iconmdi: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

FieldTypeDescription
gameTypeGameTypeType de jeu (TPP, Spleef, Parkour, Archery, etc.)
descriptionVar<String>Description shown to players in the game browser
lobbySpawnVar<Position>Waiting-lobby position (where players spawn while waiting)
gameSpawnVar<Position>In-game spawn position (at match start)
endTeleportVar<Position>Teleport position at match end
spectatorSpawnVar<Position>Spectator position (optional — uses gameSpawn when unset)
lobbyRadiusVar<Double>Allowed movement radius in the lobby (blocks)
minPlayersVar<Int>Minimum players required to start
maxPlayersVar<Int>Maximum allowed players
autoStartCountdownVar<Int>Temps du countdown avant le début de la partie (secondes)
maxGameDurationVar<Int>Maximum match duration (seconds)
allowLateJoinBooleanPermettre aux joueurs de rejoindre en cours de partie
allowSpectateBooleanAllow eliminated players to spectate
teamModeTeamModeMode d'équipe (NONE, SOLO, RED_BLUE, TEAMS_CUSTOM)
teamCountIntNumber of teams (used when teamMode = TEAMS_CUSTOM)
teamNamesStringComma-separated team names
giveKitBooleanGive players a kit at match start
bringOwnItemsBooleanPermettre aux joueurs de garder leur propre inventaire
clearInventoryOnEndBooleanClear the inventory at match end
kitItemsList<Item>Kit items given to players at match start
regionRef<RegionDefinitionEntry>Protection region defining the game area
floorMaterialVar<String>Floor material (for Spleef, BlockParty — Bukkit Material name)
powerUpEnabledBooleanActiver les power-ups
powerUpIntervalVar<Int>Intervalle d'apparition des power-ups (secondes)
useRoundsBooleanActiver les rounds avec reset entre chaque round
maxRoundsVar<Int>Nombre 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 the state de la partie
bestTimeArtifactRef<MinigameBestTimeArtifactEntry>Artifact stockant le meilleur temps personnel de chaque joueur
topTimesArtifactRef<MinigameTopTimesArtifactEntry>Artifact stockant le classement des meilleurs temps
topTimesLimitIntNumber of times kept in the leaderboard
onGameStartRef<TriggerableEntry>Trigger executed at match start
onGameEndRef<TriggerableEntry>Trigger executed at match end
onPlayerJoinRef<TriggerableEntry>Trigger executed when a player joins
onPlayerEliminateRef<TriggerableEntry>Trigger executed when a player is eliminated
onRoundStartRef<TriggerableEntry>Trigger executed at round start
onPersonalBestRef<TriggerableEntry>Trigger executed when a player beats their personal best
onWorldRecordRef<TriggerableEntry>Trigger executed when a player beats the arena record
customLobbyMenuRef<MinigameLobbyMenuEntry>Custom lobby menu (leave empty for the default menu)
showScoreboardBooleanAfficher le scoreboard en jeu
scoreboardLinesVar<String>Lignes du scoreboard (utilise les placeholders %minigame_...)
joinMessageVar<String>Message de bienvenue quand un joueur rejoint
leaveMessageVar<String>Message quand un joueur quitte
winMessageVar<String>Message de victoire
eliminationMessageVar<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: ""