Skip to main content

ConsoleEvents

A static class in Root.Township, Alta.Console.

The game's console events as static fields. Console (websocket) sessions subscribe to them by name. See the Console events guide for what raises each one.

Fields​

MemberWhat it is
static ConsoleEvent<AtmBalanceChangeData> AtmBalanceChangedRaised when an ATM balance changes.
static ConsoleEvent<CommandExecutedData> CommandExecutedRaised when a websocket console command finishes, with the line, whether it worked and its output.
static ConsoleEvent<InventoryChangeData> InventoryChangedRaised when a player picks up, drops, docks or undocks an item.
static ConsoleEvent<ObjectKilledData> ObjectKilledRaised when something with health dies.
static ConsoleEvent<PlayerJoinLeaveData> PlayerJoinedNever raised by the game itself. TavernLib raises it when a player joins.
static ConsoleEvent<PlayerKilledData> PlayerKilledRaised when a player dies (the dead state starts).
static ConsoleEvent<PlayerJoinLeaveData> PlayerLeftNever raised by the game itself. TavernLib raises it when a player leaves.
static ConsoleEvent<PlayerMoveChunkData> PlayerMovedChunkRaised when a player crosses into another chunk.
static ConsoleEvent<PlayerStateChangeData> PlayerStateChangedRaised when a player enters or leaves a player state.
static ConsoleEvent<PopulationEventData> PopulationModifiedRaised when a population member spawns or is lost.
static ConsoleEvent<ServerSettingsChangeData> ServerSettingsChangedRaised when server settings change, once with the old settings and once with the new.
static ConsoleEvent<SocialTabletPlayerBanData> SocialTabletPlayerBannedRaised when a player is banned from the social tablet.
static ConsoleEvent<SocialTabletPlayerReportData> SocialTabletPlayerReportedRaised when a player is reported from the social tablet.
static ConsoleEvent<TradingLogger.TradeDeckSale> TradeDeckUsedRaised on a trade deck sale.
static ConsoleEvent<TrialEventData> TrialFinishedRaised when a combat trial ends.
static ConsoleEvent<TrialEventData> TrialStartedRaised when a combat trial starts.