Skip to content

Config Reference

AeroWars is configured through config.json in its data folder. Edit it and run /aerowars reload to apply changes live — no restart needed. Color codes use {#RRGGBB} tags (and legacy & codes where noted). Editing the file in-game keeps its comments intact.

General

KeyDefaultDescription
General.Language"en_us"Language file loaded from the lang/ folder (en_us / pt_br).
General.AutoSaveIntervalSeconds300How often stats/data are auto-saved.
General.LobbyWorld"world"World players return to after a match.
General.LobbySpawn""Optional x,y,z,yaw,pitch lobby spawn; empty = world default. Set easily with /aerowars setlobby.
General.PrefixEnabledtrueWhether the chat prefix is prepended to plugin messages.
General.Prefix"{#55ccff}[AeroWars] {#ffffff}"The chat/branding prefix.

Match

KeyDefaultDescription
Match.MinPlayers2Minimum players to start (per-arena min/max derive from spawn count).
Match.MaxDurationSeconds900Max match length before time-up resolution.
Match.CountdownSeconds15Pre-start countdown (shortens to 5s when the arena fills).
Match.StartGraceSeconds3Grace delay at start before cages open / combat.
Match.EndCelebrationSeconds30Length of the end/victory celebration.
Match.EmptyMatchDeletionSeconds30Delay before an emptied match/world is torn down.
Match.FriendlyFirefalseAllow team damage (Teams arenas only).
Match.AllowSpectatorstrueWhether spectators are permitted.
Match.SpectateOnDeathtrueDead players become spectators instead of leaving.
Match.SaveInventorytrueSave inventory + game mode on join, restore on leave; players enter in Adventure.

Cages

KeyDefaultDescription
Cages.EnabledtrueBuild countdown holding cages around each spawn.
Cages.BlockId"Glass_Block"Cage block. Ships colored variants (Glass_Block_Red, _Blue, _Green, _Cyan, _Yellow, _Lime, _Orange, _Pink, _Purple, _Magenta, _White, _Black).
Cages.Radius1Cage radius in blocks.
Cages.Height2Cage height in blocks.

Loot

The loot events system has its own page — see Loot & Events.

KeyDefaultDescription
Loot.FillOnStarttrueFill every chest once when the match starts.
Loot.Events.EnabledtrueMaster toggle for in-match chest events.
Loot.Events.RandomizefalseFire enabled events at random times/order instead of their fixed Time.
Loot.Events.MinGapSeconds90Minimum spacing (and earliest fire time) for randomized events.
Loot.Events.List[]see pageOrdered events, each with Type, Time, Enabled.

Kits

KeyDefaultDescription
Kits.EnabledtrueEnable the kit selection system.
Kits.DefaultKit"warrior"Kit given when a player hasn't chosen one.
Kits.SelectionDuringCountdowntrueAllow opening the kit menu during the countdown.

Rewards

KeyDefaultDescription
Rewards.WinnerCommands[]one broadcast lineConsole commands run on win; {player} and {arena} placeholders.
Rewards.Economy.EnabledfalsePay coins on kill/win via an installed economy plugin.
Rewards.Economy.WinAmount100Coins paid to each winner.
Rewards.Economy.KillAmount10Coins paid per kill.

See Economy for provider details.

Scoreboard

KeyDefaultDescription
Scoreboard.EnabledtrueShow the custom scoreboard.
Scoreboard.Footer"{#55ccff}stoshe.dev"Bottom footer line; supports {#RRGGBB} and & codes; blank hides it.

Effects

KeyDefaultDescription
Effects.VictoryFireworkstrueLaunch a firework show from the arena center on victory.
Effects.FireworkParticles[]9 native particle idsFirework particle systems; one is picked at random per burst.
Effects.FireworkBursts14Number of bursts in the show.
Effects.FireworkDurationSeconds6Total show duration.
Effects.FireworkMaxRise24Max height above the arena the bursts pop.
Effects.FireworkScale1.5Firework particle scale.
Effects.PodiumEnabledtrueRaise winner(s) onto a podium during the celebration.
Effects.PodiumBlock"Glass_Block_Yellow"Block the podium is built from.
Effects.PodiumHeight8Podium height above the arena center.

Party

KeyDefaultDescription
Party.EnabledtrueEnable the party system.
Party.MaxSize4Max members including the leader.
Party.InviteExpirySeconds60How long a pending invite stays valid.
Party.KeepTogetherByDefaultfalseDefault of the keep-together preference (see Parties & Queues).

Spectator

KeyDefaultDescription
Spectator.EnabledtrueGive the spectator hotbar on death.
Spectator.TrackerSlot0Hotbar slot of the living-player tracker.
Spectator.TrackerItem"AeroWars_SpecTracker"Item id of the tracker.
Spectator.LobbySlot8Hotbar slot of the return-to-lobby item.
Spectator.LobbyItem"AeroWars_SpecLobby"Item id of the return-to-lobby tool.

Platform

Used when /aerowars world create builds a fresh void template.

KeyDefaultDescription
Platform.Block"Rock_Stone"Block the platform is paved with.
Platform.Size9Square side length; clamped odd ≥1 (keep ≤15).
Platform.Height100Y level of the platform.

Setup

KeyDefaultDescription
Setup.SpawnWand"AeroWars_SetupWand"Item id of the setup wand (a breaking tool; left-click marks spawns).

Database

Optional SQL persistence for stats and per-player data. Falls back to JSON when disabled.

KeyDefaultDescription
Database.EnabledfalseEnable SQL persistence (else stats.json).
Database.JdbcUrl"jdbc:sqlite:aerowars.db"JDBC URL; the driver (sqlite/mysql/mariadb/postgres) is chosen from it.
Database.Username""DB username.
Database.Password""DB password.
Database.MaxPoolSize10Connection pool size.

Drivers not bundled

JDBC drivers and the connection pool are not shipped with AeroWars. For anything other than the bundled-in-runtime case, make sure the driver is on your server's classpath.

Released under the MIT License.