Endstone.DotNet Loader API Reference
Every page below is generated from source : the code generator (tools/DocGen) reflects over Endstone.Loader.dll, merges the XML doc comments from src/csharp, and renders these Markdown pages. Never edit them by hand - run the generator instead.
Core
Type
Summary
Server
Wrapper around the native endstone::Server singleton.
PluginBase
Base class for all .NET Endstone plugins.
PluginAttribute
Attribute describing plugin metadata. The plugin name must contain only lowercase letters, numbers and underscores (E...
Logger
Logger bound to a plugin's native Endstone logger.
Scheduler
Plugin-scoped facade over the native endstone Scheduler. Tasks are owned by the plugin, so all pending tasks are canc...
ScheduledTask
Handle for a task queued on the native endstone scheduler. Sync tasks run on the server thread, async tasks on a sche...
Service
Base class for services registered with the server's service manager (mirrors endstone::Service). A service is a mark...
ServiceManager
Plugin-scoped facade over the server's native service manager (mirrors endstone::ServiceManager). Registering a provi...
CommandSender
Wraps a native endstone::CommandSender.
CommandBuilder
Fluent builder that declares a plugin command.
Entities
Type
Summary
Actor
Wraps a native endstone::Actor.
Player
Wrapper around a native endstone::Player.
Mob
Wraps a native endstone::Mob (an Actor with health).
DamageSource
Wraps a native endstone::DamageSource.
Enchantment
Wraps a native endstone::Enchantment registry entry. Instances are transient views of server-owned objects; do not st...
ItemEnchantment
An enchantment applied to an item stack, paired with its level.
World
Type
Summary
Level
Wraps a native endstone::Level.
Dimension
Wraps a native endstone::Dimension.
Chunk
Wraps a native endstone::Chunk. Owns the native chunk when created from GetLoadedChunks.
Block
Wraps a native endstone::Block.
BlockState
Wraps a native endstone::BlockState.
Location
Items & Inventory
Type
Summary
ItemStack
Wraps a native endstone::ItemStack read-only view. When created via ItemStack.Create, Dispose() frees the native stac...
Inventory
Wraps a native endstone::Inventory (server-owned, never deleted). Item snapshots returned by getters are transient co...
PlayerInventory
Wraps a native endstone::PlayerInventory (player's 36 slots + armor + hands).
UI
Type
Summary
FormBase1`
Fluent base for the three form kinds. Send() hands ownership to the native side (the holder is freed after send) and ...
MessageForm
A simple form with a title, content and two buttons.
ActionForm
A form with a title, content and any number of buttons.
ModalForm
A custom form with typed controls and a submit button. The submit payload is the raw JSON response array (values in c...
BossBar
A boss bar displayed to players at the top of the screen. Created via Server.CreateBossBar; Dispose() frees the nativ...
MapView
Wraps a native endstone::MapView (server-owned; never dispose).
MapCanvas
Wraps a native endstone::MapCanvas (valid only during a Render call).
MapCursor
A marker shown on a map.
MapColor
RGBA color used for map canvas pixels.
MapRenderer
Base class for plugin map renderers. Subclass and override Render to draw onto the canvas.
Native Interop
Type
Summary
Bootstrap
Native-callable entry points used by the C++ dotnet_loader plugin. Every plugin assembly is loaded into its own colle...
Events & Enums
Page
Content
Events
55 event classes deriving from Event
Enums
19 public enums