Early Loading
configs/apis.yml loads right at startup before worlds or registries initialize, so DataFixers, recipes, and block cache warmups can be disabled up front.
Complete reference for configs/apis.yml options, defaults, validation rules, and ApisConfigSync behavior.
configs/apis.yml is the main config file for Apis. It centralizes gameplay kill-switches, world modes, packet range limits, and command message templates. Overlapping keys in server.properties, bukkit.yml, spigot.yml, and paper-*.yml are synced in memory and stripped on disk so settings live in one place.
Early Loading
configs/apis.yml loads right at startup before worlds or registries initialize, so DataFixers, recipes, and block cache warmups can be disabled up front.
Config Path
Stored at configs/apis.yml by default. Pass -Dapis.config=<path> on startup to point to another file.
Broken YAML Guard
If your YAML has a syntax error, the server will not crash. It moves the broken file to configs/apis.yml.broken and writes a clean default config.
Simple Booleans
Straight true / false logic: true keeps vanilla Paper behavior, while false turns the subsystem off to save CPU and RAM.
configs/apis.yml ReferenceBelow are all options across all 15 functional sections (Feature kill-switches, allowlists, and numeric bounds). Each row lists the type, default value, and linked org.apismc.apis.feature.Feature constant (or ApisConfig#sanitize rule).
startup - Cold Boot & Validation| Key | Type | Default | Feature / Notes |
|---|---|---|---|
startup.datafixers |
boolean |
true |
STARTUP_DATAFIXERS - builds DFU/DataConverter schemas and migrates old world data. If false and a world has an older DataVersion, logs a startup WARN. |
startup.search-spawn-point |
boolean |
true |
STARTUP_SEARCH_SPAWN_POINT - scans an 11x11 chunk area for a surface spawn; false forces (0, seaLevel, 0). |
startup.initial-chunk-load |
boolean |
true |
STARTUP_INITIAL_CHUNK_LOAD - activates TicketStorage and waits for spawn chunks before Done. |
startup.mojang-service-discovery |
boolean |
true |
STARTUP_MOJANG_SERVICE_DISCOVERY - HTTP/DNS lookup against discovery.minecraftservices.com. |
startup.paper-version-check |
boolean |
true |
STARTUP_PAPER_VERSION_CHECK - checks for Paper build updates on startup. |
startup.validate-creative-tabs |
boolean |
true |
STARTUP_VALIDATE_CREATIVE_TABS - validates CreativeModeTabs and LootContextParamSets in Bootstrap. |
startup.validate-loot |
boolean |
true |
STARTUP_VALIDATE_LOOT - validates loot tables in ReloadableServerRegistries. |
startup.test-registries |
boolean |
true |
STARTUP_TEST_REGISTRIES - loads GameTest registries (test_environment, test_instance). |
caches - Cache Warmup| Key | Type | Default | Feature / Notes |
|---|---|---|---|
caches.eager-blockstate-cache |
boolean |
true |
CACHES_EAGER_BLOCKSTATE - pre-warms ~27k+ BlockState entries via parallelStream() at startup; false switches to lazy init. |
caches.eager-craftblockdata-cache |
boolean |
true |
CACHES_EAGER_CRAFTBLOCKDATA - warms CraftBlockData during static class init. |
caches.eager-map-color-cache |
boolean |
true |
CACHES_EAGER_MAP_COLOR - allocates and computes the 16 MB CraftMapColorCache table at boot. |
dimensions - World & Dimension Modes| Key | Type | Default | Feature / Notes |
|---|---|---|---|
dimensions.mode |
String |
"standalone" |
Accepts "standalone" or "vanilla"; anything else normalizes to "standalone". |
dimensions.fallback-world |
String |
"hub" |
Base world directory inside worlds/; rejects /, \, .., and empty strings (falls back to "hub"). |
dimensions.enabled |
List<String> |
["minecraft:overworld", "minecraft:the_nether", "minecraft:the_end"] |
Dimension allowlist ("*" = all). minecraft:overworld is always protected and force-included. |
dimensions.always-ticking |
List<String> |
["minecraft:overworld"] |
Dimensions that tick even with zero players ("*" = all); all others tick only when occupied. |
dimensions.never-ticking |
List<String> |
[] |
Dimensions blocked from ticking even with players online ("*" = all; overrides always-ticking). |
dimensions.custom-worlds |
boolean |
true |
DIMENSIONS_CUSTOM_WORLDS - allows creating/loading worlds via CraftServer.createWorld. |
dimensions.portals |
boolean |
true |
DIMENSIONS_PORTALS - Nether and End portal transitions. |
chunks - Generation & Ticking| Key | Type | Default | Feature / Notes |
|---|---|---|---|
chunks.structures |
boolean |
true |
CHUNKS_STRUCTURES - loads structure registries, generates structures, and powers /locate structure. |
chunks.biome-decoration |
boolean |
true |
CHUNKS_BIOME_DECORATION - chunk decoration and carvers. Setting false prunes CARVER (and FEATURE/PLACED_FEATURE if chunks.structures is also false) and slims Biome.NETWORK_CODEC. |
chunks.ticking.enabled |
boolean |
true |
CHUNKS_TICKING - [Master switch] tickChunks loop in ServerChunkCache (sub-options are skipped when false). |
chunks.ticking.sub-features.random-ticks |
boolean |
true |
CHUNKS_RANDOM_TICKS - random block ticks (crop growth, grass spread, ice melt). |
chunks.ticking.sub-features.block-ticks |
boolean |
true |
CHUNKS_BLOCK_TICKS - scheduled block tick queue (blockTicks.tick). |
chunks.ticking.sub-features.fluid-ticks |
boolean |
true |
CHUNKS_FLUID_TICKS - water and lava tick queue (fluidTicks.tick). |
chunks.ticking.sub-features.poi-ticking |
boolean |
true |
CHUNKS_POI_TICKING - POI spatial index ticking in ChunkMap (PoiManager#tick). |
block-entities - Tile Entities| Key | Type | Default | Feature / Notes |
|---|---|---|---|
block-entities.ticking.enabled |
boolean |
true |
BLOCK_ENTITIES_TICKING - [Master switch] ticks all block entities in Level#tickBlockEntities. |
block-entities.ticking.sub-features.hoppers |
boolean |
true |
BLOCK_ENTITIES_HOPPERS - item transfers in HopperBlockEntity#pushItemsTick. |
blocks-and-physics - Block & Item Physics| Key | Type | Default | Feature / Notes |
|---|---|---|---|
blocks-and-physics.redstone |
boolean |
true |
PHYSICS_REDSTONE - signal propagation in RedstoneWireBlock. |
blocks-and-physics.block-gravity |
boolean |
true |
PHYSICS_BLOCK_GRAVITY - sand, gravel, and anvil falling in FallingBlock#tick. |
blocks-and-physics.leaf-decay |
boolean |
true |
PHYSICS_LEAF_DECAY - natural leaf decay in LeavesBlock#randomTick. |
blocks-and-physics.fire-spread |
boolean |
true |
PHYSICS_FIRE_SPREAD - fire burning and spread in FireBlock#tick. |
blocks-and-physics.item-physics |
boolean |
true |
PHYSICS_ITEM_PHYSICS - gravity and motion for dropped ItemEntity (pickup/despawn timers still run). |
blocks-and-physics.block-events |
boolean |
true |
PHYSICS_BLOCK_EVENTS - block event queue (runBlockEvents: pistons, note blocks, chest animations). |
world-environment - World Environment| Key | Type | Default | Feature / Notes |
|---|---|---|---|
world-environment.daylight-cycle |
boolean |
true |
ENV_DAYLIGHT_CYCLE - time progression, sky light updates, and time packet broadcasts. |
world-environment.weather |
boolean |
true |
ENV_WEATHER - rain, thunderstorms, lightning, and snow/ice accumulation. |
world-environment.raids |
boolean |
true |
ENV_RAIDS - village raid creation and ticking. |
world-environment.sleep-cycle |
boolean |
true |
ENV_SLEEP_CYCLE - bed night-skip checks. |
world-environment.end-dragon-fight |
boolean |
true |
ENV_END_DRAGON_FIGHT - EndDragonFight logic in the End. |
world-environment.world-border-tick |
boolean |
true |
ENV_WORLD_BORDER_TICK - world border ticking in ServerLevel and CraftWorldBorder. |
world-environment.environment-attributes |
boolean |
true |
ENV_ENVIRONMENT_ATTRIBUTES - per-tick cache invalidation in EnvironmentAttributeSystem. |
world-environment.game-events |
boolean |
true |
ENV_GAME_EVENTS - GameEvent vibration dispatch (sculk sensors, wardens, allays). |
spawning - Natural Mob Spawning| Key | Type | Default | Feature / Notes |
|---|---|---|---|
spawning.natural.enabled |
boolean |
true |
SPAWNING_NATURAL - [Master switch] natural mob spawning and custom spawners. |
spawning.natural.sub-features.monsters |
boolean |
true |
SPAWNING_MONSTERS - MobCategory.MONSTER. |
spawning.natural.sub-features.animals |
boolean |
true |
SPAWNING_ANIMALS - animals and all remaining passive/aquatic/ambient categories. |
spawning.natural.sub-features.custom-spawners |
boolean |
true |
SPAWNING_CUSTOM_SPAWNERS - phantoms, patrols, cats, village sieges, and wandering traders. |
entities - AI & Collisions| Key | Type | Default | Feature / Notes |
|---|---|---|---|
entities.ai.enabled |
boolean |
true |
ENTITIES_AI_ENABLED - [Master switch] mob AI (goal registration, inactiveTick, serverAiStep). |
entities.ai.type-filter |
List<String> |
[] |
Entity type IDs whose AI stays disabled while enabled: true (unprefixed IDs default to minecraft:<id>). |
entities.ai.sub-features.goal-selector |
boolean |
true |
ENTITIES_AI_GOAL_SELECTOR - GoalSelector and targetSelector ticks. |
entities.ai.sub-features.brain |
boolean |
true |
ENTITIES_AI_BRAIN - Brain deserialization and ticking. |
entities.ai.sub-features.pathfinding |
boolean |
true |
ENTITIES_AI_PATHFINDING - path recomputation in PathNavigation. |
entities.ai.sub-features.sensors |
boolean |
true |
ENTITIES_AI_SENSORS - Brain sensors and Sensing line-of-sight cache. |
entities.collisions.entities |
boolean |
true |
ENTITIES_COLLISIONS - [Master switch] physical collisions between all entities. |
entities.collisions.players |
boolean |
true |
ENTITIES_PLAYER_COLLISIONS - player-to-player collisions (active when entities: true). |
entities.despawn-checks |
boolean |
true |
ENTITIES_DESPAWN_CHECKS - per-tick distance checks in Entity#checkDespawn. |
entities.inside-block-checks |
boolean |
true |
ENTITIES_INSIDE_BLOCK_CHECKS - block intersection checks while moving (cobwebs, portals, berry bushes). |
entities.fluid-interaction |
boolean |
true |
ENTITIES_FLUID_INTERACTION - water/lava contact and swimming checks in Entity#baseTick. |
entities.sprint-particles |
boolean |
true |
ENTITIES_SPRINT_PARTICLES - server-side sprint particle generation in Entity#baseTick. |
gameplay - Progression & Datapacks| Key | Type | Default | Feature / Notes |
|---|---|---|---|
gameplay.advancements |
boolean |
true |
GAMEPLAY_ADVANCEMENTS - loads the advancement registry and tracks PlayerAdvancements. |
gameplay.recipes |
boolean |
true |
GAMEPLAY_RECIPES - loads the recipe registry and syncs ServerRecipeBook. |
gameplay.loot-tables |
boolean |
true |
GAMEPLAY_LOOT_TABLES - parses ~1100 JSON loot tables at boot. |
gameplay.command-functions |
boolean |
true |
GAMEPLAY_COMMAND_FUNCTIONS - per-tick .mcfunction execution in ServerFunctionManager. |
players - Player Data & Mechanics| Key | Type | Default | Feature / Notes |
|---|---|---|---|
players.data-saving |
boolean |
true |
PLAYERS_DATA_SAVING - writes player .dat files, stats/, and advancements/ (false stops all disk writes, including legacy stats migration). |
players.hunger |
boolean |
true |
PLAYERS_HUNGER - FoodData ticks (hunger and regeneration). |
players.statistics |
boolean |
true |
PLAYERS_STATISTICS - vanilla player statistics tracking (without affecting advancement triggers). |
players.warden-tracker |
boolean |
true |
PLAYERS_WARDEN_TRACKER - per-player WardenSpawnTracker ticks. |
players.locator-bar |
boolean |
true |
PLAYERS_LOCATOR_BAR - waypoint tracking and WAYPOINT_TRANSMIT_RANGE updates for the Locator Bar. |
players.inventory-special-item-updates |
boolean |
true |
PLAYERS_INVENTORY_SPECIAL_UPDATES - per-tick inventory scans for special items (maps, compasses). |
players.vanilla-scoreboard-criteria |
boolean |
true |
PLAYERS_VANILLA_SCOREBOARD_CRITERIA - updates vanilla scoreboard criteria (health, food, armor, XP). |
players.floating-kick |
boolean |
true |
PLAYERS_FLOATING_KICK - kicks players hovering in mid-air without allowFlight. |
network - Networking, Telemetry & Packet Clamping| Key | Type | Default | Feature / Notes |
|---|---|---|---|
network.generate-keypair |
boolean |
true |
NETWORK_GENERATE_KEYPAIR - generates RSA keys at startup (falls back to lazy creation when getKeyPair() is called). |
network.analytics.bstats |
boolean |
true |
ANALYTICS_BSTATS - bStats telemetry collector (serviceId = 35466). |
network.analytics.spark |
boolean |
true |
ANALYTICS_SPARK - bundled Spark profiler, /spark command, and tick hooks. |
network.analytics.tick-monitor |
boolean |
true |
ANALYTICS_TICK_MONITOR - serverActivityMonitor tick activity tracker. |
network.analytics.debug-synchronizers |
boolean |
true |
ANALYTICS_DEBUG_SYNCHRONIZERS - broadcasts debugSynchronizers in ServerLevel. |
network.player-list.server-ping-sample |
boolean |
true |
NETWORK_SERVER_PING_SAMPLE - includes player samples in MOTD ping responses (false = List.of()). |
network.player-list.tab-latency-updates |
boolean |
true |
NETWORK_TAB_LATENCY_UPDATES - periodic $O(N^2)$ Tab latency broadcast in PlayerList#tick(). |
network.packet-range-clamping.full-packet-broadcast |
boolean |
true |
NETWORK_FULL_PACKET_BROADCAST - [Master switch] when false, enforces the distance caps below. |
network.packet-range-clamping.projectile-tracking-range |
int |
32 |
Max tracking distance for projectiles (clamped to [0, 256]). |
network.packet-range-clamping.particle-broadcast-range |
double |
16.0 |
Max radius for particle packets (clamped to [0.0, 256.0]; NaN -> 16.0). |
network.packet-range-clamping.armor-equipment-range |
int |
32 |
Max range for LivingEntity armor updates (clamped to [0, 256]). |
storage, system & compatibility| Key | Type | Default | Feature / Notes |
|---|---|---|---|
storage.world-saving |
boolean |
true |
STORAGE_WORLD_SAVING - writes chunks, region files, level.dat, SavedData, stats/, and advancements/. false keeps everything in RAM (0 disk writes). |
storage.periodic-autosave |
boolean |
true |
STORAGE_PERIODIC_AUTOSAVE - background chunk and player autosaves during ticks (disabled when world-saving: false; /save-all, unloads, and shutdown saves still run). |
system.lifecycle.graceful-shutdown |
boolean |
true |
SYSTEM_GRACEFUL_SHUTDOWN - waits for async tasks and flushes all pending data on stop. |
compatibility.legacy.plugin-bytecode-rerouting |
boolean |
true |
LEGACY_PLUGIN_BYTECODE_REROUTING - ASM plugin bytecode rewriting via Commodore. |
compatibility.legacy.bootstrap-data-tables |
boolean |
true |
LEGACY_BOOTSTRAP_DATA_TABLES - pre-1.13 block/item legacy conversion tables in Bootstrap. |
compatibility.legacy.validate-entity-attributes |
boolean |
true |
LEGACY_VALIDATE_ENTITY_ATTRIBUTES - eager loading of mob classes and DefaultAttributes validation. |
messages.commands SectionAll 26 keys are @Nullable String values using MiniMessage formatting. Set any key to "" to silence that message (ApisMessageRenderer.render).
| Key | Placeholders | Default Value |
|---|---|---|
no-permission |
- | <red>You do not have permission to execute this command. |
player-only |
- | <red>Only players can run this command without explicit world/coordinates. |
invalid-syntax-setworldspawn |
- | <red>Usage: /setworldspawn [<x> <y> <z>] [<yaw> <pitch>] |
invalid-syntax-tpworld |
- | <red>Usage: /tpworld <world> [<player>] [<x> <y> <z>] [<yaw> <pitch>] |
invalid-syntax-world |
- | <red>Usage: /world <load <world>|unload <world>|reload [world]> |
invalid-number |
<input> |
<red>Invalid numeric argument '<input>'. |
world-not-found |
<world> |
<red>World '<world>' is not loaded or does not exist. |
player-not-found |
<player> |
<red>Player '<player>' is not online. |
setworldspawn-success |
<world>, <x>, <y>, <z>, <yaw>, <pitch> |
<green>Spawn of world <white><world></white> updated to <gray>(<x>, <y>, <z> | yaw <yaw>, pitch <pitch>)</gray>. |
tpworld-success-self |
<world>, <x>, <y>, <z>, <yaw>, <pitch> |
<green>Teleported to <white><world></white> at <gray>(<x>, <y>, <z>)</gray>. |
tpworld-success-other |
<player>, <world>, <x>, <y>, <z>, <yaw>, <pitch> |
<green>Teleported <white><player></white> to <white><world></white> at <gray>(<x>, <y>, <z>)</gray>. |
tpworld-failed |
<world>, <player> |
<red>Failed to teleport to world '<world>'. |
world-standalone-only |
- | <red>The /world command is only available when dimensions.mode is 'standalone'. |
world-already-loaded |
<world> |
<yellow>World '<world>' is already loaded. |
world-not-found-on-disk |
<world> |
<red>World folder '<world>' was not found in worlds/ or has an invalid name. |
world-load-success |
<world> |
<green>Loaded world <white><world></white>. |
world-load-failed |
<world> |
<red>Failed to load world '<world>'. |
world-unload-fallback-forbidden |
<world> |
<red>Cannot unload the base fallback world '<world>'. |
world-fallback-not-configured |
- | <red>Base fallback world is not configured or not loaded; cannot evacuate players. |
world-unload-success |
<world>, <players>, <fallback> |
<green>Unloaded world <white><world></white> (moved <gray><players></gray> player(s) to <white><fallback></white>). |
world-unload-failed |
<world> |
<red>Failed to unload world '<world>'. |
world-reload-single-success |
<world>, <players> |
<green>Reloaded world <white><world></white> from disk (returned <gray><players></gray> player(s)). |
world-reload-fallback-notice |
<world> |
<yellow>Reloaded configuration for base world <white><world></white>. Full map reload is not supported for the base world. |
world-reload-missing-unloaded |
<world> |
<yellow>Folder for '<world>' no longer exists on disk; world unloaded. |
world-reload-failed |
<world> |
<red>Failed to reload world '<world>'. |
world-reload-all-success |
<reloaded>, <loaded>, <unloaded>, <fallback> |
<green>Reloaded worlds: <white><reloaded></white> reloaded, <white><loaded></white> loaded, <white><unloaded></unloaded> unloaded; base world '<fallback>' config refreshed (full base world reload is not supported). |
ApisConfigSync WorksTo stop duplicate settings across Vanilla, Bukkit, Spigot, and Paper configs from drifting out of sync, org.apismc.apis.config.ApisConfigSync overwrites mirrored in-memory fields and strips overlapping keys before writing legacy files to disk.
| Config / Class | Runtime Overrides | Keys Stripped Before Disk Save |
|---|---|---|
configs/server.properties (Settings.java.patch) |
Values read from apis.yml |
allow-nether, spawn-monsters, spawn-animals, spawn-npcs |
configs/bukkit.yml (CraftServer.java.patch) |
CraftServer#getAllowEnd() reads !ApisHooks.isDimensionDisabled(Level.END) |
settings.allow-end (in both config and defaults) |
configs/spigot.yml (SpigotConfig.java.patch, Main.java.patch) |
SpigotConfig.disableAdvancementSaving, disabledAdvancements (["*"] or []), disablePlayerDataSaving |
advancements.disable-saving, advancements.disabled, players.disable-saving (plus empty advancements / players sections) |
configs/paper-global.yml (Configurations.java.patch) |
GlobalConfiguration: misc.enableNether, collisions.enablePlayerCollisions, spark.enabled, spark.enableImmediately (false when Spark is off), updateChecker.enabled |
misc.enable-nether, collisions.enable-player-collisions |
configs/paper-world*.yml (Configurations.java.patch) |
WorldConfiguration: environment.disableThunder, environment.disableIceAndSnow, unsupportedSettings.ticking.chunks |
environment.disable-thunder, environment.disable-ice-and-snow, unsupported-settings.ticking.chunks |