Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

Developer Guide

Welcome to the YAML Config Developer Guide. This library is designed to abstract the complexities of file I/O, networking, and user interfaces, allowing you to implement robust configuration systems in minutes.

Core Concepts

  1. The Builder Pattern: You do not create config classes manually. You use the ConfigBuilder to define your structure programmatically.
  2. Entry Objects: When you define a config option, you get back an IConfigEntry<T> object. You keep a reference to this object to access the value later.
  3. Automatic Networking: If you use ConfigType.COMMON, the library handles synchronizing values from the logical server to connected clients automatically.
  4. The Stack: The configuration structure is hierarchical. You use a stack-based approach (push/pop) to create categories and sub-categories.

Getting Started

API Reference