settings.yml

settings.yml is the core configuration file for Zentrix Battle Royale. You’ll find it in /plugins/Zentrix/settings.yml.

It controls system behavior, storage backend, a few global gameplay defaults, and some “managed-by-commands” sections like locations.

Where to find it

Generated after the first server start:

  • plugins/Zentrix/settings.yml

circle-info

You can use /zx reload command to make your changes live.

System & License

These are “plugin boots or not” settings.

debug

debug: false

Enables verbose console logs. Use this when troubleshooting.

  • false: normal logs (recommended for production).

  • true: extra logs (Info/Warning/Debug).

Errors always log, even when debug: false.

license.key (critical)

Zentrix requires a valid license key. Without it, the plugin won’t run correctly.

locale

  • locale.file: picks a language file from /plugins/Zentrix/locales/.

  • locale.small-caps: converts player-facing text to small caps.

Data Storage

Zentrix stores player data (stats, currency, progression) using one backend.

storage.type

Supported values:

  • LOCAL: flatfile/YAML storage on disk. Good for small servers and testing.

  • MYSQL: shared database storage. Use this for networks and multiple servers.

  • MONGODB: MongoDB storage. Use this if you already run Mongo for your stack.

storage.mysql (required when type: MYSQL)

Key fields:

  • table-prefix: lets you share one database with other plugins.

  • pool-size: max open connections. Raise this on busy servers.

  • connection-timeout: time in ms before connection fails.

storage.mongodb (required when type: MONGODB)

Gameplay Settings

These affect defaults that apply across arenas.

Default Glider

This is the glider ID assigned to new players. Zentrix expects MatrixGliders to be installed. See: Supported Plugins.

Arena Management

  • send-lobby-after-match: delay before moving players back to lobby. This gives time for end screens and cleanup.

  • spectator-prefix: prefix used in spectator chat formatting.

World Time

Time is in Minecraft ticks:

  • 0: sunrise

  • 6000: noon

  • 13000: sunset

  • 18000: midnight

Game Rules

These gamerules are applied during world creation and match setup. They help keep matches consistent.

  • do-weather-cycle: false: prevents rain/storms.

  • do-daylight-cycle: false: keeps time fixed.

  • do-insomnia: false: disables phantom spawning.

  • announce-advancements: disabled announcement announcements.

Locations

Zentrix stores lobby spawns as Bukkit Location objects. These blocks are mainly here for persistence.

triangle-exclamation

Main Lobby (locations.lobby)

  • Purpose: where players spawn on join and on elimination.

  • Command: /zx setlobby

Waiting Lobby (locations.waiting-lobby)

  • Purpose: spawn point for the pre-game waiting area.

  • Command: /zx setwaitinglobby

  • world: the template folder name.

Lobby Scoreboard

Shown only in the main lobby. Supports PlaceholderAPI.

Title and lines

Placeholders

For the full placeholder list, use: Placeholders.

Deathmatch & Corpse

These settings control the end-game deathmatch phase and disconnect corpses.

Deathmatch (deathmatch-settings)

Deathmatch is the late-game “forced fight” phase. It typically uses a copied template world plus a shrinking border. See: Deathmatch.

Key options:

  • template-world: folder name of the template to copy.

  • spawn-type:

    • RANDOM: Zentrix picks spawns for players.

    • CUSTOM: uses custom-spawns (managed via commands).

  • freeze-duration: seconds players are frozen after teleport.

  • title / subtitle: displayed when freeze ends.

Managed via commands:

  • custom-spawns: edited through admin commands.

  • border.pos1 and border.pos2: set via /zx deathmatch setbounds.

Corpse system (corpse-settings)

Spawns a lootable zombie when a player disconnects mid-game. This helps prevent “combat logging” abuse.

Main toggles:

  • enabled: master switch for the feature.

  • display-name-format: corpse name template. Uses {player} as the player name token.

Despawn behavior:

  • despawn-time: seconds before the corpse is removed.

  • warning.enabled: enables a near-despawn warning.

  • warning.threshold: seconds remaining when warnings start.

Loot mode (corpse-settings.loot-drop.mode):

  • KILL_ONLY: drops loot only if the corpse is killed.

  • DESPAWN_ONLY: drops loot only when the timer ends.

  • BOTH: drops loot in both cases.

Spawn triggers (corpse-settings.spawn-on):

  • quit: player disconnects or crashes.

  • kick: player is kicked.

  • command: player leaves using /leave.

  • License key

  • Global plugin toggles and defaults

If a setting doesn’t seem to apply, restart the server.

Default Configuration

chevron-rightExpand: default settings.ymlhashtag

Last updated