API Playground
Test API endpoints directly in your browser.
Base URL
Status /api/status
/api/status
Returns the state of the server as a flat JSON object: online, online_players, max_players, default_world, world_count, server_name and version, plus cpu_system and cpu_process in percent, ram_total_mb, ram_free_mb and ram_used_mb for the machine, heap_used_mb, heap_max_mb and heap_percent for the Java runtime, uptime and jvm_uptime as readable texts (for example 2h 5m) with the values uptime_ms and jvm_uptime_ms in milliseconds, tps and installed_mods_count.
Response
Statistics /api/stats
/api/stats
Returns memory_used_mb (used heap), memory_free_mb (free part of the heap Java has currently reserved), memory_max_mb (upper limit of the Java runtime), processors (processors available to Java) and uptime_ms (milliseconds since the mod started).
Response
Version /api/version
/api/version
Returns version (the version number of the server), revision (build identifier), patchline (release branch) as well as protocolVersion and protocolBuild of the network protocol.
Response
Players /api/players
/api/players
Returns all online players with position, world, game mode, health and stats, plus offline players known to the mod.
Response
/api/players/known
Slim list of all players who have been on the server, with uuid, name, online, gamemode, world and lastSeen (millisecond timestamp).
Response
/api/players/{name}
Returns the same detailed data as the list for one online player.
Parameters
name
string
*
Response
/api/players/{name}/inventory
Returns hotbar, storage, armor, utility, backpack and tools with item IDs, amounts and icons.
Parameters
name
string
*
Response
/api/players/{name}/kick
Disconnects an online player with a message.
Parameters
name
string
*
Request Body
reason
string
Response
/api/players/{name}/op
Gives the player operator rights.
Parameters
name
string
*
Response
/api/players/{name}/deop
Removes operator rights from the player.
Parameters
name
string
*
Response
/api/players/{name}/teleport
Teleports the player to coordinates in their current world.
Parameters
name
string
*
Request Body
x
number
*
y
number
*
z
number
*
Response
/api/players/{name}/give
Adds an item to the inventory, hotbar first.
Parameters
name
string
*
Request Body
item
string
*
amount
integer
Response
/api/players/{name}/heal
Restores the player to full health.
Parameters
name
string
*
Response
/api/players/{name}/gamemode
Switches the player between Adventure and Creative.
Parameters
name
string
*
Request Body
gamemode
string
*
Response
/api/players/{name}/inventory/clear
Empties hotbar, storage, armor, utility, backpack and tools.
Parameters
name
string
*
Response
/api/players/{name}/inventory/slot
Places an item into a specific slot and replaces what was there.
Parameters
name
string
*
Request Body
item
string
*
amount
integer
section
string
slot
integer
Response
/api/players/{name}/inventory/slot/remove
Removes the item from one slot.
Parameters
name
string
*
Request Body
section
string
slot
integer
Response
/api/players/{name}/inventory/slot/swap
Swaps two slots, also between containers (for example storage and hotbar).
Parameters
name
string
*
Request Body
fromSection
string
fromSlot
integer
toSection
string
toSlot
integer
Response
Chat /api/chat
/api/chat
Returns the latest entries of an event log as a list of JSON objects, oldest first. The default is playerChat. Other event types the mod writes: playerJoin, playerLeave, broadcast, groupPermissionChange and playerPermissionChange. Every entry contains timestamp (ISO time with time zone), server and, depending on the type, player, message, group, action or permissions.
Query Parameters
limit
integer
eventType
string
Response
/api/chat/broadcast
Sends a message to all online players. The text is sent with the prefix [Server]. The response contains success: true if the server accepted the message.
Request Body
message
string
*
Response
Bans /api/bans
/api/bans
Returns all bans as a list. Every entry comes from the bans.json of the server and contains the fields as Hytale writes them, for example Target (UUID of the banned player), By, Timestamp and Reason.
Response
/api/bans
Bans a player, online or offline. Unknown names are resolved through the Hytale profile service.
Request Body
player
string
*
reason
string
Response
/api/bans/{player}
Removes a ban.
Parameters
player
string
*
Response
Mutes /api/mutes
/api/mutes
Returns all active mutes with player, reason, mutedBy, timestamp (time of the mute as text) and expiresAt (end as a millisecond timestamp, 0 for permanent).
Response
/api/mutes
Adds a player to the list of mutes. The response contains success, player, reason and duration_minutes.
Request Body
player
string
*
reason
string
muted_by
string
duration_minutes
integer
Response
/api/mutes/{player}
Removes a mute.
Parameters
player
string
*
Response
World /api/world
/api/world
Returns world_count, world_name and tick of the first loaded world, plus currentHour, dayProgress, sunlightFactor and moonPhase of the time of day as well as weather, forced_weather and zone_weather.
Response
/api/world/time
Sets the time of day.
Request Body
time
string
*
Response
/api/world/weather
Returns the current surface weather of zones 0 to 4, the weathers each zone can have, the weather fixed per zone and which players are where.
Parameters
world
string
Response
/api/world/weather/zone
Fixes the weather of one zone or gives it back to the game forecast with natural.
Request Body
zone
string
*
weather
string
*
world
string
Response
/api/world/weather
Forces one weather for the whole world, overriding every zone. natural lifts it again.
Request Body
weather
string
*
world
string
Response
Warps /api/warps
/api/warps
Returns all warps alphabetically by name with world, x, y, z (rounded to one decimal place), yaw, creator, created and world_loaded, including those created in the game.
Response
/api/warps
Creates a warp at a player's position or at coordinates.
Request Body
name
string
*
player
string
world
string
x
number
y
number
z
number
replace
boolean
creator
string
Response
/api/warps/{name}/tp
Teleports an online player to the warp, also across worlds.
Parameters
name
string
*
Request Body
player
string
*
Response
/api/warps/{name}
Removes a warp.
Parameters
name
string
*
Response
Items /api/items
/api/items
Returns all items of the running server (Hytale 0.7.2: 4008). Per item: id, name (English display name), translationKey, icon (image as base64), type, maxStack, maxDurability, durabilityLossOnHit, itemLevel, qualityIndex, fuelQuality, scale, consumable, dropsOnDeath and, if the item is a block, blockId.
Query Parameters
q
string
type
string
Response
/api/items/search
Behaves exactly like the list and accepts the same parameters q and type. Both paths, /api/items and /api/items/search, return the same, the search path only makes your calls easier to read.
Query Parameters
q
string
type
string
Response
Icons /api/icons
/api/icons/{itemId}/icon
Returns the image of an item as image/png. The path is /api/icons/{itemId}/icon. The itemId is the ID from the item list, optionally with a namespace and a colon, and without a namespace hytale applies.
Parameters
itemId
string
*
Response
Permissions /api/permissions
/api/permissions
Returns users (UUID and the groups of the user) and groups (group name and the permissions of the group).
Response
/api/permissions/groups
Returns only the groups.
Response
/api/permissions/op
Gives a player operator rights by UUID.
Request Body
uuid
string
*
Response
/api/permissions/op/{uuid}
Removes operator rights.
Parameters
uuid
string
*
Response
/api/permissions/user/group
Puts a player into a group.
Request Body
uuid
string
*
group
string
*
Response
/api/permissions/user/group
Takes a player out of a group.
Request Body
uuid
string
*
group
string
*
Response
/api/permissions/groups
Creates a permission group.
Request Body
name
string
*
permissions
array
Response
/api/permissions/groups/{name}
Deletes a permission group.
Parameters
name
string
*
Response
Whitelist /api/whitelist
/api/whitelist
Returns a list of entries with uuid and name that are currently allowed to join.
Response
/api/whitelist
Adds a player. Unknown names are resolved through Hytale's whitelist command; success is only reported when Hytale confirms.
Request Body
name
string
uuid
string
Response
/api/whitelist/{name}
Removes a player from the whitelist.
Parameters
name
string
*
Response
Server config /api/serverconfig
/api/serverconfig
Returns the entire content of config.json as a JSON object, including nested sections.
Response
/api/serverconfig
Changes one or more keys of config.json. You send a JSON object whose keys are the top-level keys of the file. Texts, numbers and booleans are taken over directly, objects and lists replace the previous value of the key. The response contains success: true and updated_keys. Most changes need a restart.
Request Body
<key>
any
Response
/api/serverconfig/reload
Reads config.json from disk into the memory of the mod again and answers with success: true and action: reload. Use it when you edited the file by hand and want the query to show the new content. The running Hytale server is not reconfigured by it.
Response
Backups /api/backup
/api/backup
Returns backups (filename, size in bytes, created and modified as millisecond timestamps, newest first) as well as backup_dir, configured, total, max_count and archive_max_count. Only files ending in .zip in the backup folder count.
Response
/api/backup/config
Returns the backup configuration of the server: enabled, configured, frequency_minutes (interval of the automatic backups in minutes), directory, max_count and archive_max_count.
Response
/api/backup/status
Returns is_backing_up, last_backup_timestamp (milliseconds, 0 if no backup has run yet) and last_backup_error (null if there is no error).
Response
/api/backup/create
Starts a backup of the universe with the own backup function of Hytale and, as soon as it is finished, answers with success: true, filename of the newest ZIP file and timestamp.
Response
/api/backup
Deletes a backup file from the backup folder. You send the file name in the JSON body of the DELETE call (filename), not in the address. The response contains success and, on success, deleted.
Request Body
filename
string
*
Response
Deaths /api/deaths
/api/deaths
Returns deathCount, the number of all deaths recorded so far, and recentDeaths, the last up to 10 entries with time, player and cause. The entries are in the order of recording, the oldest of the ten first.
Response
Memories /api/memories
/api/memories
Returns totalAll and totalDiscovered as well as categories, an object per category with total, discovered, the list memories and, if present, categoryIconBase64. Every memory has id, title, discovered and, when known, displayName (English name), npcRole, capturedTimestamp, zoneKey, locationKey, displayLocation and iconBase64. In addition, translations contains names for NPCs, map regions and categories in 13 languages. Memories apply server-wide.
Response
Adventure /api/adventure
/api/adventure
Returns every loaded world (permanent or instance) with world events, spawn, portal state, void invasion stages and players with size, teleport history, wilderness map and debug lock; also the instance templates.
Response
/api/adventure/world-events
Turns Hytale's world events (for example goblin raids) on or off for one world.
Request Body
world
string
enabled
boolean
*
Response
/api/adventure/portal/time
Changes the remaining time of a portal world, between 10 seconds and 6 hours.
Request Body
world
string
seconds
integer
*
mode
string
Response
/api/adventure/portal/timer
Toggles the time limit of a portal world.
Request Body
world
string
Response
/api/adventure/portal/void
stop removes the invasion and holds its counter while the portal time keeps running; allow resets the plan.
Request Body
world
string
action
string
*
Response
/api/adventure/debug-screens
Locks or unlocks the debug screen (F3) for a player.
Request Body
player
string
*
blocked
boolean
*
Response
/api/adventure/teleport-player
Teleports a player to another player, also across worlds.
Request Body
player
string
*
target
string
*
Response
/api/adventure/spawn
Sets the spawn point of a world at a player's position or at coordinates.
Request Body
player
string
world
string
x
number
y
number
z
number
Response
/api/adventure/send-to-spawn
Sends a player to the spawn of a world.
Request Body
player
string
*
world
string
Response
/api/adventure/scale
Scales a player between 25 and 400 %.
Request Body
player
string
*
scale
number
*
Response
/api/adventure/history
Moves a player one step back or forward in the teleport history (like /back).
Request Body
player
string
*
direction
string
Response
/api/adventure/wilderness
Shows or hides the wilderness debug map for a player.
Request Body
player
string
*
enabled
boolean
*
Response
/api/adventure/instance/spawn
Opens a new instance from a template and sends the player in. On leaving the player returns to the old position.
Request Body
template
string
*
player
string
*
Response
/api/adventure/instance/exit
Brings a player out of an instance back to the previous world.
Request Body
player
string
*
Response
/api/adventure/instance/close
Closes an empty instance.
Request Body
world
string
*
Response
Worlds /api/worlds
/api/worlds
Returns loaded worlds (default first) with type, owner, settings and size, plus unloaded, parked and trashed worlds and the available generators.
Response
/api/worlds/create
Creates a permanent world. Hytale loads it on every start.
Request Body
name
string
*
generator
string
kind
string
owner
string
display_name
string
game_mode
string
pvp
boolean
fall_damage
boolean
npc_spawning
boolean
npc_frozen
boolean
time_paused
boolean
Response
/api/worlds/load
Loads an unloaded world.
Request Body
name
string
*
Response
/api/worlds/unload
Saves and unloads a world; the folder stays.
Request Body
name
string
*
Response
/api/worlds/delete
Moves a world to the trash; nothing is deleted yet.
Request Body
name
string
*
Response
/api/worlds/restore
Moves a world back from the trash and loads it.
Request Body
folder
string
*
Response
/api/worlds/purge
Deletes a trash entry from disk.
Request Body
folder
string
*
Response
/api/worlds/park
Unloads a world and moves it to universe/worlds-parked, so Hytale does not load it on start.
Request Body
name
string
*
Response
/api/worlds/unpark
Moves a parked world back and loads it.
Request Body
name
string
*
load
boolean
Response
/api/worlds/mark
Marks a world as server world or player world with owner (for the panel).
Request Body
name
string
*
kind
string
owner
string
Response
/api/worlds/default
Makes a world the default world of the server.
Request Body
name
string
*
Response
/api/worlds/settings
Changes settings of a loaded world; only the given fields change.
Request Body
name
string
*
display_name
string
game_mode
string
pvp
boolean
fall_damage
boolean
npc_spawning
boolean
npc_frozen
boolean
time_paused
boolean
Response
/api/worlds/reset
Deletes a world and generates it again with a new seed (farm world). Generator, settings and display name stay.
Request Body
name
string
*
move_warps
boolean
Response
/api/worlds/send
Teleports a player to the spawn of another world.
Request Body
player
string
*
world
string
*
Response
Player worlds /api/playerworlds
/api/playerworlds
Returns the settings and every player world with display name, owner, members, guests, loaded and unlocked state.
Response
/api/playerworlds/config
Changes the global settings for player worlds.
Request Body
creation_enabled
boolean
max_per_player
integer
idle_park_minutes
integer
Response
Achievements /api/achievements
/api/achievements/status
Shows whether an achievements plugin is installed, and if so its API version, plugin version and variant (gameKey).
Response
/api/achievements/categories
Returns every achievement category with icon, German and English name and the number of achievements per category.
Response
/api/achievements/achievements
Returns the full achievement catalog with category, tier, goal, scope, German and English name and description, whether it is hidden, and how often it was already unlocked server wide.
Response
/api/achievements/players
Returns a page of players with number of unlocks, total points, last login and playtime.
Parameters
limit
integer
offset
integer
Response
/api/achievements/player/{name}
Returns playtime, active title, unlocked achievements with their time and the progress on ongoing achievements for a player.
Parameters
name
string
*
Response
/api/achievements/recent
Returns the most recently unlocked achievements server wide with player, achievement and time.
Parameters
limit
integer
Response
/api/achievements/server-firsts
Returns, for every achievement that counts as a server first, who unlocked it first on the server.
Response
/api/achievements/grant
Unlocks an achievement for a player.
Request Body
player
string
*
id
string
*
Response
/api/achievements/revoke
Removes an already unlocked achievement from a player again.
Request Body
player
string
*
id
string
*
Response