Skip to main content

Asset Editor Packets

Packets in com.hypixel.hytale.protocol.packets.asseteditor (IDs 500+).

These packets facilitate the connection between the Hytale client and the server's asset system, allowing for real-time "Hot Reloading" of models, textures, and JSON configs.

Session Management

AssetEditorAuthorization (500)

Bound: Clientbound

Grants or denies the client permission to open the editor UI.

FieldTypeNotes
authorizedBooleanTrue if player has permission.
rootDirectoryStringThe base path for assets.

AssetEditorCapabilities (501)

Bound: Clientbound

Tells the client which editor features are supported.

FieldTypeNotes
canDeleteBoolean
canRenameBoolean
canImportBoolean

File Operations

AssetEditorRequestDataset (502)

Bound: Serverbound

Requests the full content of a specific asset (JSON + binary files).

FieldTypeNotes
assetUriStringe.g. "hytale/assets/textures/block/stone.png".

AssetEditorCreateAsset (506)

Bound: Serverbound

Creates a new file.

FieldTypeNotes
pathStringDirectory path.
nameStringFilename.
typeStringAsset type (model, texture, script).

AssetEditorUpdateAsset (508)

Bound: Serverbound

Uploads modified content for an existing asset.

FieldTypeNotes
assetUriStringThe file being modified.
contentByte[]The new raw data (JSON text or binary).

AssetEditorDeleteAsset (510)

Bound: Serverbound

FieldTypeNotes
assetUriStringFile to delete.

Undo/Redo System

The server maintains an undo stack for asset changes.

  • 515: AssetEditorUndoChanges (Serverbound)
  • 516: AssetEditorRedoChanges (Serverbound)
  • 517: AssetEditorUndoRedoReply (Clientbound) - Confirms the new state version.