Init
This commit is contained in:
50
content/core-concepts/events/event-reference/_index.en.md
Normal file
50
content/core-concepts/events/event-reference/_index.en.md
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: Event Reference
|
||||
type: docs
|
||||
weight: 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 server
|
||||
- `PlayerDisconnectEvent` - Player leaves the server
|
||||
- `PlayerChatEvent` - Player sends a chat message
|
||||
- `PlayerMoveEvent` - Player moves
|
||||
- `PlayerInteractEvent` - Player interacts with the world
|
||||
- `PlayerDamageEvent` - Player takes damage
|
||||
- `PlayerDeathEvent` - Player dies
|
||||
|
||||
### Entity Events
|
||||
Events related to all entities:
|
||||
- `EntitySpawnEvent` - Entity is spawned
|
||||
- `EntityDamageEvent` - Entity takes damage
|
||||
- `EntityDeathEvent` - Entity dies
|
||||
- `EntityMoveEvent` - Entity moves
|
||||
|
||||
### Block Events
|
||||
Events related to world blocks:
|
||||
- `BlockBreakEvent` - Block is broken
|
||||
- `BlockPlaceEvent` - Block is placed
|
||||
- `BlockInteractEvent` - Block is interacted with
|
||||
|
||||
### World Events
|
||||
Events related to world state:
|
||||
- `WorldLoadEvent` - World is loaded
|
||||
- `WorldUnloadEvent` - World is unloaded
|
||||
- `ChunkLoadEvent` - Chunk is loaded
|
||||
- `ChunkUnloadEvent` - Chunk is unloaded
|
||||
|
||||
### Permission Events
|
||||
Events related to permissions:
|
||||
- `PermissionCheckEvent` - Permission is checked
|
||||
Reference in New Issue
Block a user