Expand description
Event dispatch context, trait definitions, and response queue.
The Context trait provides sub-contexts for different domains:
PlayerContext, ChatContext, WorldContext, EntityContext,
and ContainerContext. Plugins access them via ctx.player(),
ctx.chat(), etc.
The concrete ServerContext implementation lives in basalt-server.
Re-exports§
pub use response::Response;pub use response::ResponseQueue;
Modules§
- response
- Response enum and queue for deferred operations.
Enums§
- Unlock
Reason - Why a recipe was unlocked for a player.
Traits§
- Chat
Context - Chat and messaging.
- Container
Context - Container interaction: chests, crafting tables, custom windows.
- Context
- Execution context for commands and event handlers.
- Entity
Context - Entity management: spawn, despawn, broadcast.
- Player
Context - Player identity and state.
- Recipe
Context - Per-player recipe-book state.
- World
Context - Per-dispatch context for world-related operations.