Add Unified GameModeConfig

This commit is contained in:
2025-10-25 21:45:44 +02:00
parent 0a6977e433
commit 87a4836fa1
103 changed files with 1731 additions and 876 deletions
+19 -4
View File
@@ -12,11 +12,11 @@ Server:
# If ranked matches should be available for the game mode
Ranked: false # defaults to false if missing
# The questions that have to be answered to accept the schematic
CheckQuestions: [] # Disables check schem type if missing
# Submission deadline for schematics in 'dd.MM.yyyy HH:mm' format
Deadline: null # defaults to null if missing
# The available schematic ranks
Ranks: [] # Disables ranks for this schematic type if missing
# The questions that have to be answered to accept the schematic
CheckQuestions: [] # Disables check schem type if missing
Times:
# Time in seconds the server stops after starting if nobody joins
@@ -52,6 +52,8 @@ Arena:
Leaveable: false # defaults to false if missing
# Allow missiles to fly to the enemy and not stop at the schem border.
AllowMissiles: false # defaults to true if EnterStages are present otherwise 'false'
# Denotes that there is no floor for this GameMode
NoFloor: false # defaults to false if missing
Schematic:
# The size of the schematics
@@ -59,6 +61,12 @@ Schematic:
x: 0
y: 0
z: 0
# Used for GameModes with a technic area
Inset:
x: 0
z: 0
top: 0
bottom: 0
# The schematic type that can be chosen in this arena
Type: Normal # defaults to Normal if missing
# The schematic types that are also allowed to be chosen in this arena
@@ -87,6 +95,8 @@ Schematic:
MaxBlocks: 0 # defaults to 0 (ignored) if missing
# Maximal amount of items per dispenser
MaxDispenserItems: 128 # defaults to 128 if missing
# Maximal blast resistance for the design blocks
MaxDesignBlastResistance: 100000000 # defaults to Double.MAX_VALUE if missing
# List of limited material (combinations)
# List contains tags Amount (integer) and Materials (List of material names in Spigot 1.12 AND Spigot 1.15 format)
Limited:
@@ -95,6 +105,9 @@ Schematic:
# The name of the game mode presented to the players
GameName: WarGear # defaults to WarGear if missing
# The months this game mode should be active and playable
# The empty List means all of them
ActiveMonths: [] # defaults to none if missing
# The prefix used for team chats
TeamChatPrefix: + # defaults to + if missing
Blue:
@@ -137,6 +150,8 @@ WinConditionParams:
BlocksWhitelist: false # defaults to false if missing
# Special Blocks (Valid spigot material values) used by the percent win conditions
Blocks: [] # defaults to none if missing
# Time for being declared TechKo without a shot given.
TechKoTime: 90 # defaults to 90 if missing
Kits:
# The kit file for this configuration