API
Last updated
The BOII Development Server Core (BDSC) exposes a clean, structured API designed to give you controlled access to essential systems - without enforcing how your server should work.
It focuses on player handling, server registry, and utility helpers, giving you full control over your gameplay logic through modular extensions.
The API is split into three main areas:
Manage the core player lifecycle.
Create and register player objects
Retrieve players by source
Maintain the live player registry
Interact with a player object via its public-facing interface.
Add data or methods dynamically
Sync data to clients when needed
Trigger save/destroy lifecycle events
Access core helpers for logging, and translations.
BDSC is built for developers who want flexibility without the baggage.
Clean, minimal API
Lifecycle and data sync built-in
Fully extensible from external resources
No forced framework rules
No prebuilt gameplay logic
BDSC exposes its full API via a single namespace import.
Use exports.bdsc:import() to get access to all available functions and objects:
All player objects support the full public API, including
add_data,run_method, andsave.
Last updated
local bdsc = exports.bdsc:import()
local player = bdsc.get_player(source)
player:add_data("custom", { foo = "bar" }, true)