1.7 KiB
1.7 KiB
title, type, weight
| title | type | weight |
|---|---|---|
| Event Reference | docs | 5 |
This section provides a comprehensive reference of all available events in Hytale.
{{< cards >}} {{< card link="player-events" title="Player Events" subtitle="Join, quit, chat, and player actions" >}} {{< card link="entity-events" title="Entity Events" subtitle="Spawn, damage, death, and movement" >}} {{< card link="block-events" title="Block Events" subtitle="Break, place, and interact with blocks" >}} {{< card link="permission-events" title="Permission Events" subtitle="Permission checking and management" >}} {{< /cards >}}
Event Categories
Player Events
Events related to player actions and state changes:
PlayerConnectEvent- Player joins the serverPlayerDisconnectEvent- Player leaves the serverPlayerChatEvent- Player sends a chat messagePlayerMoveEvent- Player movesPlayerInteractEvent- Player interacts with the worldPlayerDamageEvent- Player takes damagePlayerDeathEvent- Player dies
Entity Events
Events related to all entities:
EntitySpawnEvent- Entity is spawnedEntityDamageEvent- Entity takes damageEntityDeathEvent- Entity diesEntityMoveEvent- Entity moves
Block Events
Events related to world blocks:
BlockBreakEvent- Block is brokenBlockPlaceEvent- Block is placedBlockInteractEvent- Block is interacted with
World Events
Events related to world state:
WorldLoadEvent- World is loadedWorldUnloadEvent- World is unloadedChunkLoadEvent- Chunk is loadedChunkUnloadEvent- Chunk is unloaded
Permission Events
Events related to permissions:
PermissionCheckEvent- Permission is checked