Master control file that determines which entity types are initialized, loaded, respawned, and saved by the Central Economy system.
The economy.xml file acts as the master switch for the Central Economy (CE) system. Each entity type has four boolean flags: init (spawn on server start), load (load from storage), respawn (respawn after removal), and save (persist to storage).
Each <ce> element defines an entity category with its initialization and persistence behavior.
<economy>
<ce folder="db">
<file name="types.xml" type="types"/>
<file name="spawnabletypes.xml" type="spawnabletypes"/>
<file name="globals.xml" type="globals"/>
<file name="economy.xml" type="economy"/>
<file name="events.xml" type="events"/>
<file name="messages.xml" type="messages"/>
</ce>
<dynamic init="1" load="1" respawn="1" save="1"/>
<animals init="1" load="0" respawn="1" save="0"/>
<zombies init="1" load="0" respawn="1" save="0"/>
<vehicles init="1" load="1" respawn="1" save="1"/>
</economy>
Loot items, weapons, clothing, and all interactable objects spawned by the economy. Usually init=1, load=1, respawn=1, save=1 for full persistence and respawning.
Wildlife including deer, boar, wolves, and chickens. Typically init=1, load=0, respawn=1, save=0 since animals don't need persistence between restarts.
Infected spawns across the map. Usually init=1, load=0, respawn=1, save=0. They respawn dynamically based on player proximity and don't persist.
Cars, trucks, boats, and helicopters. Typically init=1, load=1, respawn=1, save=1 for full persistence. Vehicle state, damage, and inventory are saved.
Random events like helicopter crashes and police car wrecks. Usually init=1, load=0, respawn=1, save=0. Events spawn fresh each restart.
Player-built structures like tents, fences, and watchtowers. Usually init=1, load=1, respawn=0, save=1. Bases persist but don't respawn if destroyed.
Player characters and their inventories. Always init=1, load=1, respawn=1, save=1. Player progress must persist across sessions.
Custom entities added by mods or server administrators. Default is all flags=0. Configure based on whether your custom content needs persistence.
When set to 1, entities of this type are spawned when the server starts. Set to 0 to prevent initial spawning.
When set to 1, entities are loaded from storage files on server start. Required for persistence between restarts.
When set to 1, entities respawn after being removed from the world. Controls whether the economy replenishes this type.
When set to 1, entities are saved to storage files. Required for persistence. Works with load flag for full persistence.
The <ce folder> section at the top defines which configuration files the economy system reads. You can add custom types files here for modded content. If you're experiencing loot issues after a restart, check that dynamic has both load=1 and save=1 enabled.