Skip to content

Feature Index

Tsu edited this page May 31, 2026 · 6 revisions

This page maps Stratum config sections to implementation files and patch files.

Source of Truth

  • Config model: sources/VintagestoryLib/Vintagestory/Server/StratumConfig.cs
  • Runtime wiring: sources/VintagestoryLib/Vintagestory/Server/StratumRuntime.cs, sources/VintagestoryLib/Vintagestory/Server/ServerSystemStratum.cs
  • Patch behavior: files under patches/
  • Link format: GitHub wiki page URLs (for example Feature:-AI-Task-Scan-Throttle)

Deep Dives

Hardening

Packet limits

  • Config: PacketLimits
  • Runtime: StratumRuntime.PacketLimiter
  • Commands: CmdStratum (/stratum packets)
  • Patches: patches/VintagestoryLib/Vintagestory.Server/ServerMain.cs.patch

Packet back-pressure

  • Config: PacketBackPressure
  • Runtime: StratumRuntime.PacketBackPressure
  • Patches: patches/VintagestoryLib/Vintagestory.Server/ServerMain.cs.patch

Block break guard

  • Config: BlockBreakGuards
  • Runtime: StratumBlockBreakGuard
  • Commands: CmdStratum (/stratum packets report includes block-break report)

Client mod policy

  • Config: ClientModPolicy
  • Runtime: StratumRuntime.BuildClientModWhitelist

Performance

Chunk send/generation/request management

  • Config: Performance.ChunkSending, ChunkGeneration, ChunkRequestManagement
  • Patches: patches/VintagestoryLib/Vintagestory.Server/ServerSystemSendChunks.cs.patch, ServerMain.cs.patch, chunk-system patches

Entity and physics systems

  • Config: Performance.Physics, EntityTicking, EntityCollisions
  • Patches: patches/VintagestoryLib/Vintagestory.Server/PhysicsManager.cs.patch, ServerSystemEntitySimulation.cs.patch, patches/VSEssentials/Entity/Behavior/BehaviorRepulseAgents.cs.patch

Tick smoothing

  • Config: Performance.BlockTicks, AutoSave, EventTick, BlockEntityInit
  • Patches: patches/VintagestoryLib/Vintagestory.Server/ServerSystemBlockSimulation.cs.patch, ServerSystemLoadAndSaveGame.cs.patch, patches/VintagestoryLib/Vintagestory.Common/EventManager.cs.patch, patches/VintagestoryApi/Common/Collectible/Block/BlockEntity.cs.patch

AI and body temperature

  • Config: Performance.Pathfinding, BodyTemperature
  • Patches: patches/VSEssentials/Entity/Pathfinding/PathfindingAsync.cs.patch, patches/VSEssentials/Entity/AI/AiTaskManager.cs.patch, patches/VSSurvivalMod/Entity/Behavior/BehaviorBodyTemperature.cs.patch

Timings and stats

  • Config: Performance.Timings
  • Runtime: StratumTimings, StratumPerformanceStats
  • Commands: CmdStratum (/stratum timings, /stratum performance)

Timer resolution

  • Config: Performance.TimerResolution
  • Runtime: ServerSystemStratum.OnBeginConfiguration

Identity and server UX

Identity flags

  • Runtime: ServerSystemStratum.OnBeginRunGame
  • Output: World.Config keys stratum, stratumVersion, stratumBaseGameVersion

Commands/chat/theme/nametags

  • Config: Commands, Chat, Theme, Nametags
  • Runtime: CmdStratum, command helper classes, chat/theme helpers

Clone this wiki locally