Complete reference for every packet the client can send to the server.
This is a comprehensive list of every packet a client can send to the server. The client sends abstract actions, not raw keyboard input. The server never sees "W pressed" - only the resulting movement states or action requests.
This list is not exclusive to key inputs, but rather all packets.
Formatting is packet.flag, ie MovementStates.idle or ClientPlaceBlock.position
Packets use two types of flag/value structures:
Type Structure Size Serialization Enum Single value from fixed set 1 byte Integer value of selected enum constant Struct Multiple fields sent together Varies Each field serialized sequentially
Movement booleans.
Flag Description idleNot moving walkingWalking speed runningRunning speed sprintingSprint speed jumpingCurrently jumping fallingIn freefall crouchingSneaking/crouched flyingCreative flight onGroundTouching ground inFluidIn water/liquid swimmingSwimming motion climbingOn ladder/climbable glidingUsing glider rollingDodge roll sittingSeated sleepingIn bed mountingGetting on mount mantlingClimbing ledge slidingSliding down slope horizontalIdleNot moving horizontally forcedCrouchingForced crouch (low ceiling) swimJumpingJumping while swimming
Major interactions.
Value Name Player Input Description 0 PrimaryLMB Primary action - attack, break block 1 SecondaryRMB Secondary action - use item, place block 2 Ability1Q Weapon/item ability 3 Ability2— Reserved (no default binding) 4 Ability3— Reserved (no default binding) 5 UseE World interaction - containers, NPCs 6 PickMMB Pick block 7 Pickup— Item pickup (system) 8 CollisionEnter— Collision started (system) 9 CollisionLeave— Collision ended (system) 10 Collision— Ongoing collision (system) 11 EntityStatEffect— Stat effect applied (system) 12 SwapTo— Item swapped to (system) 13 SwapFrom— Item swapped from (system) 14 Death— Entity death (system) 15 Wielding— Wielding state (system) 16 ProjectileSpawn— Projectile spawned (system) 17 ProjectileHit— Projectile hit (system) 18 ProjectileMiss— Projectile missed (system) 19 ProjectileBounce— Projectile bounced (system) 20 Held— Item held (system) 21 HeldOffhand— Item held offhand (system) 22 Equipped— Item equipped (system) 23 Dodge— Dodge roll action 24 GameModeSwap— Game mode changed (system)
Builder tool general actions.
Value Name Default Key Description 0 SelectionPosition1— Set first corner of selection 1 SelectionPosition2— Set second corner of selection 2 SelectionCopyCtrl+C Copy selection to clipboard 3 HistoryUndoCtrl+Z Undo last operation 4 HistoryRedoCtrl+Y Redo last undone operation 5 ActivateToolModeB Enter builder tool mode 6 DeactivateToolModeB Exit builder tool mode
Bulk inventory operations.
Value Name Description 0 TakeAllTake all items from container to inventory 1 PutAllPut all matching items into container 2 QuickStackQuick stack matching items into container 3 SortSort container (actionData specifies sort type)
3 values for custom UI page events.
Value Name Description 0 AcknowledgeClient acknowledging page action 1 DataClient sending data back to server 2 DismissClient dismissed/closed page
Summary of all default Key Mappings.
Key Packet Package Notes W/A/S/D ClientMovementplayer Movement states in packet Space ClientMovementplayer jumping stateShift ClientMovementplayer crouching stateShift (mounted) DismountNPCinteraction When riding a mount LMB MouseInteractionplayer Primary (0)RMB MouseInteractionplayer Secondary (1)Q MouseInteractionplayer Ability1 (2)Q (hold) DropItemStackinventory When holding item E MouseInteractionplayer Use (5)MMB MouseInteractionplayer Pick (6)1-9 SetActiveSlotinventory Direct slot selection Scroll SetActiveSlotinventory Hotbar scrolling Scroll (on block) SwitchHotbarBlockSetinventory Block variant cycling M UpdateWorldMapVisibleworldmap Map toggle B BuilderToolGeneralActionbuildertools ActivateToolMode (5) / DeactivateToolMode (6)Ctrl+C BuilderToolGeneralActionbuildertools SelectionCopy (2)Ctrl+Z BuilderToolGeneralActionbuildertools HistoryUndo (3)Ctrl+Y BuilderToolGeneralActionbuildertools HistoryRedo (4)ESC SetPausedworld Singleplayer only ESC (window open) CloseWindowwindow Closes active window Enter ChatMessageinterface_ Sends chat/command
Core player action packets. These are the most commonly used packets for gameplay logic - combat systems, custom abilities, movement validation, and interaction handling.
Packet ID Fields Description ClientMovement100 absolutePosition, relativePosition, movementStates, bodyOrientation, lookOrientation, velocity, wishMovement, teleportAckContinuous position/rotation updates. Contains either absolute position or relative delta. teleportAck confirms server teleports. Uses MovementStates struct. MouseInteraction22 interactionType, targetEntity, targetBlock, screenPointMouse button actions with target information. Uses InteractionType enum. ClientPlaceBlock104 position, rotation, placedBlockIdClient placing a block. Contains position, rotation, and the specific block variant being placed. ClientReady105 readyForChunks, readyForGameplayClient signaling ready state. readyForChunks = ready to receive world data, readyForGameplay = fully loaded. SyncPlayerPreferences116 showEntityMarkers, armorItemsPreferredPickupLocation, weaponAndToolItemsPreferredPickupLocation, usableItemsItemsPreferredPickupLocation, solidBlockItemsPreferredPickupLocation, miscItemsPreferredPickupLocation, allowNPCDetection, respondToHitClient syncing player settings to server. Includes item pickup preferences and UI settings. LoadHotbar180 indexLoad a saved hotbar preset by index. SaveHotbar181 indexSave current hotbar to preset slot.
Item and slot management packets. Useful for custom inventory rules, item restrictions, ability triggers via hotbar slots, and tracking player item usage.
Packet ID Fields Description SetActiveSlot177 inventorySectionId, activeSlotPlayer changing active hotbar slot via keys 1-9 or scroll wheel. MoveItemStack175 fromSectionId, fromSlotId, quantity, toSectionId, toSlotIdDragging item from one slot to another. SmartMoveItemStack176 fromSectionId, fromSlotId, quantity, moveTypeShift-click auto-move. moveType determines destination logic. DropItemStack174 inventorySectionId, slotId, quantityDropping item from inventory. Triggered by Q key (hold). SwitchHotbarBlockSet178 itemIdCycling through block variants using scroll wheel while holding a block item. InventoryAction179 inventorySectionId, inventoryActionType, actionDataBulk inventory operations from UI buttons. Uses InventoryActionType enum. SetCreativeItem171 inventorySectionId, slotId, item, overrideSet/spawn item in creative inventory. override determines if existing item is replaced. DropCreativeItem172 itemDrop item spawned from creative menu into world. SmartGiveCreativeItem173 item, moveTypeAuto-place creative item (equip armor, add to hotbar, etc).
Combat and entity interaction sync packets. Used for combat validation, combo systems, mount control, and NPC interaction tracking.
Packet ID Fields Description SyncInteractionChains290 updates[]Synchronizes ongoing attack/ability chains between client and server for animation and hit detection. DismountNPC294 — Player requesting to dismount. Triggered by Shift key while mounted.
Chat, language, and custom UI packets. Essential for command systems, chat moderation, custom menus, shops, dialogs, and any server-driven UI.
Packet ID Fields Description ChatMessage211 messagePlayer chat message or command. Messages starting with / are processed as commands. Messages starting with . (local commands) are rejected by server. UpdateLanguage212 languagePlayer changed language preference. CustomPageEvent219 type, dataResponse to server-defined custom UI page. Uses CustomPageEventType enum. data is optional string payload (max 4MB).
Container and window management packets. Useful for custom container logic, crafting systems, trading interfaces, and tracking when players open/close menus.
Packet ID Fields Description ClientOpenWindow200 typeClient requesting to open a window. Only certain window types are client-requestable. SendWindowAction201 id, actionClient sending an action/interaction to an open window. CloseWindow202 idClient closing a window (ESC key or close button).
Map visibility and navigation packets. Can be used as an extra keybind (M key detection), custom map overlays, teleportation systems, or death marker tracking.
Packet ID Fields Description UpdateWorldMapVisible243 visiblePlayer opened or closed world map. Toggled by M key. RemoveMapMarker246 markerIdRemove a marker from the map (death markers, custom markers). TeleportToWorldMapMarker244 idRequest teleport to a map marker. Requires allowTeleportToMarkers permission. TeleportToWorldMapPosition245 x, yRequest teleport to map coordinates. Requires allowTeleportToCoordinates permission.
Entity-related movement packets. Used for custom mount physics, mount-specific abilities, or vehicle control systems.
Packet ID Fields Description MountMovement166 absolutePosition, bodyOrientation, movementStatesPosition and movement states for the mount entity when player is riding.
Camera control packets. Useful for spectator systems, cinematic sequences, or admin observation tools.
Packet ID Fields Description RequestFlyCameraMode282 enteringRequest to enter or exit fly camera mode. Requires hytale.flyCam permission.
Creative mode building tool packets. Requires hytale.editor.builderTools permission. Can be granted to non-creative players to enable these packets as extra keybinds (B, Ctrl+Z/Y/C), or used to track/validate creative building operations.
Packet ID Fields Description BuilderToolGeneralAction412 actionGeneral builder tool action. Uses BuilderToolAction enum.
Packet ID Fields Description BuilderToolEntityAction401 entityId, actionEntity tool action (Freeze, Clone, Remove). BuilderToolSetEntityTransform402 entityId, position, rotationSet entity position and rotation. BuilderToolSetEntityScale420 entityId, scaleSet entity scale. BuilderToolSetEntityLight422 entityId, lightSet entity light properties. BuilderToolSetEntityPickupEnabled421 entityId, enabledToggle whether entity can be picked up. BuilderToolSetNPCDebug423 entityId, debugToggle NPC debug mode.
Packet ID Fields Description BuilderToolSelectionUpdate409 selectionUpdate selection bounds. BuilderToolSelectionTransform405 transformTransform (move/rotate) current selection. BuilderToolSelectionToolAskForClipboard410 — Request clipboard data from server.
Packet ID Fields Description BuilderToolExtrudeAction403 axis, amountExtrude selection along axis. BuilderToolLineAction414 start, endDraw a line of blocks between two points. BuilderToolStackArea404 count, offsetStack/repeat selection multiple times.
Packet ID Fields Description BuilderToolRotateClipboard406 axis, directionRotate clipboard contents. BuilderToolPasteClipboard407 position, optionsPaste clipboard at position.
Packet ID Fields Description BuilderToolArgUpdate400 toolId, argsUpdate tool-specific arguments/settings. BuilderToolSetTransformationModeState408 modeSet transformation mode (move/rotate/scale). BuilderToolOnUseInteraction413 position, blockTool use interaction at position.
Packet ID Fields Description PrefabUnselectPrefab417 — Deselect currently selected prefab.
Cinematic/machinima system packets. Used for in-game cinematics, cutscenes, or replay systems.
Packet ID Fields Description RequestMachinimaActorModel260 modelId, sceneName, actorNameRequest a model for use in machinima scene. UpdateMachinimaScene261 player, sceneName, frame, updateType, sceneUpdate machinima scene state. Can target specific player or broadcast with *.
Initial connection handshake packets. Used for custom connection validation, protocol checks, or connection-time logging.
Packet ID Fields Description Connect0 protocolHash, language, uuid, username, clientTypeFirst packet sent. Contains protocol version for compatibility check, player identity, and client type. Disconnect1 type, reasonClient notifying server it's disconnecting. Type indicates reason category (quit, timeout, kicked, etc). Pong3 timestampResponse to server Ping for latency measurement and keepalive.
Authentication packets. Used during the connection handshake for secure servers or password-protected servers.
Packet ID Fields Description AuthToken12 token, nonceClient's authentication token for secure servers. Part of mutual auth handshake. PasswordResponse15 passwordClient's response to server password prompt.
Initial setup phase packets. Sent after connection but before gameplay. Used for enforcing render distance limits, tracking client capabilities, or custom loading logic.
Packet ID Fields Description RequestAssets23 assets[]Client requesting specific assets (textures, models, sounds) from the server. Array of asset identifiers. ViewRadius32 valueClient's requested view/render distance in blocks. Server may clamp this. PlayerOptions33 skinData, preferencesPlayer cosmetics and client preferences sent during setup.
World state packets. The pause packet only functions in singleplayer.
Packet ID Fields Description SetPaused158 pausedPause/unpause game. Only processed in singleplayer with one player.
LAN/server access configuration packets. Only functional for singleplayer world owners configuring LAN access.
Packet ID Fields Description UpdateServerAccess251 hosts[], accessUpdate LAN server visibility settings. Singleplayer owner only. SetServerAccess252 access, passwordSet LAN access mode and password. Singleplayer owner only.
Packets with corresponding server-side events:
Packet Package Event Cancellable MouseInteractionplayer PlayerInteractEventYes SetActiveSlotinventory SwitchActiveSlotEventYes DropItemStackinventory DropItemEvent.PlayerRequestYes ChatMessageinterface_ PlayerChatEventYes Connectconnection PlayerSetupConnectEventYes Disconnectconnection PlayerDisconnectEventNo ClientReadyplayer PlayerReadyEventNo
// player
import com.hypixel.hytale.protocol.packets.player.ClientMovement;
import com.hypixel.hytale.protocol.packets.player.MouseInteraction;
import com.hypixel.hytale.protocol.packets.player.ClientPlaceBlock;
import com.hypixel.hytale.protocol.packets.player.ClientReady;
import com.hypixel.hytale.protocol.packets.player.SyncPlayerPreferences;
import com.hypixel.hytale.protocol.packets.player.LoadHotbar;
import com.hypixel.hytale.protocol.packets.player.SaveHotbar;
// inventory
import com.hypixel.hytale.protocol.packets.inventory.SetActiveSlot;
import com.hypixel.hytale.protocol.packets.inventory.MoveItemStack;
import com.hypixel.hytale.protocol.packets.inventory.SmartMoveItemStack;
import com.hypixel.hytale.protocol.packets.inventory.DropItemStack;
import com.hypixel.hytale.protocol.packets.inventory.SwitchHotbarBlockSet;
import com.hypixel.hytale.protocol.packets.inventory.InventoryAction;
import com.hypixel.hytale.protocol.packets.inventory.SetCreativeItem;
import com.hypixel.hytale.protocol.packets.inventory.DropCreativeItem;
import com.hypixel.hytale.protocol.packets.inventory.SmartGiveCreativeItem;
// interaction
import com.hypixel.hytale.protocol.packets.interaction.SyncInteractionChains;
import com.hypixel.hytale.protocol.packets.interaction.DismountNPC;
// interface_
import com.hypixel.hytale.protocol.packets.interface _ .ChatMessage;
import com.hypixel.hytale.protocol.packets.interface _ .UpdateLanguage;
import com.hypixel.hytale.protocol.packets.interface _ .CustomPageEvent;
// window
import com.hypixel.hytale.protocol.packets.window.ClientOpenWindow;
import com.hypixel.hytale.protocol.packets.window.SendWindowAction;
import com.hypixel.hytale.protocol.packets.window.CloseWindow;
// worldmap
import com.hypixel.hytale.protocol.packets.worldmap.UpdateWorldMapVisible;
import com.hypixel.hytale.protocol.packets.worldmap.RemoveMapMarker;
import com.hypixel.hytale.protocol.packets.worldmap.TeleportToWorldMapMarker;
import com.hypixel.hytale.protocol.packets.worldmap.TeleportToWorldMapPosition;
// entities
import com.hypixel.hytale.protocol.packets.entities.MountMovement;
// camera
import com.hypixel.hytale.protocol.packets.camera.RequestFlyCameraMode;
// buildertools
import com.hypixel.hytale.protocol.packets.buildertools. * ;
// machinima
import com.hypixel.hytale.protocol.packets.machinima.RequestMachinimaActorModel;
import com.hypixel.hytale.protocol.packets.machinima.UpdateMachinimaScene;
// connection
import com.hypixel.hytale.protocol.packets.connection.Connect;
import com.hypixel.hytale.protocol.packets.connection.Disconnect;
import com.hypixel.hy
From Hytale Server build 2026.01.13-dcad8778f