Bridge endpoint
Base: /api/v1
The single endpoint your plugin talks to the panel through: sends the current state and receives waiting actions.
/api/v1/hytale/bridge
Send status & fetch actions
The same thing your plugin does on every poll interval: reports player state, whitelist and the results of previously sent actions, and receives up to 20 waiting actions plus the current live status in return.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
version
|
string | No | Plugin-Version, z. B. "1.3.0" |
paused
|
boolean | No | "true" oder "false" |
game
|
string | No | "minecraft" oder "hytale" |
Response Example
{
"actions": [
{
"group": "sabotage",
"id": 914,
"action": "freeze",
"player": "Steve",
"params": { "seconds": 10 },
"viewer": "ChatterName",
"label": null,
"show_title": true
}
],
"display": {
"live": true,
"streamer": "ExampleStreamer",
"platform": "tiktok",
"url": "https://tiktok.com/@examplestreamer/live",
"viewers": 342
}
}
cURL
curl -X POST 'https://your-panel.example/api/v1/hytale/bridge' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"version":"1.4.0","paused":false,"game":"hytale"}'
Internal Behavior
Possible values for "action" in the returned actions (full table with parameters in the "Actions reference" guide):
freeze: freezes the player
root: roots the player to the ground
slow: slows the player
stun: stuns the player
poison: poisons the player
burn: burning effect
stamina_drain: drains stamina
mana_drain: drains mana
regeneration: heals the player over time
stoneskin: grants protection (stoneskin)
immune: temporarily immune to effects
morph: turns the player into an animal
launch: launches the player upward
knockback: knocks the player in a random direction
scale_giant: makes the player giant
scale_tiny: makes the player tiny
random_warp: teleports to a random warp
teleport_back: teleports to the last saved location
random_instance: teleports into a random instance
leave_instance: leaves the current instance
spawn_mob: spawns enemies at the player
animal_rain: rains animals from the sky
night: sets the game time to midnight
day_clear: sets the game time to noon, removes forced weather
weather: forces a specific weather
drop_hand: drops the item from the hotbar
shuffle_hotbar: shuffles the hotbar
half_health: halves the health
heal: fully heals
stamina_refill: refills stamina
antidote: removes all status effects
give_item: gives an item
portal_time_add: increases the remaining portal time
portal_time_remove: decreases the remaining portal time
vulnerable: makes vulnerable
electric_shock: electric shock, briefly stuns
fall_immunity: no fall damage
fire_immunity: no fire damage
dimension_teleport: random safe spot in the same world or dimension
world_spawn: to the spawn point of the current world
teleport_to_player: to another player in the same world
swap_places: swap position with another player
portal_timer_pause: stop the portal timer, resumes afterward
void_hold: hold back the void invasion
camera_topdown: top-down camera
camera_sidescroller: side view, 2D movement only
hide_debug: block the coordinates display
fake_sound: scare sound for the player only
steer: viewer control, walks briefly in a direction (direction, strength)
jump: viewer control, jump
turn: viewer control, turns by degrees
look: viewer control, looks up or down by degrees
hotbar: viewer control, selects hotbar slot
revive: viewer control, revives after death
The answer also contains the field "viewer_control": a list of entries {"player": player name, "kill_radius": 8 to 48}. For these players the plugin removes hostile creatures in the radius. Before every answer the endpoint also resolves running viewer control votes.
/api/v1/hytale/bridge/test-action
Send test action
Queues an action for your own server, exactly as if a viewer had triggered it. The plugin picks it up on its next poll and executes it. This lets you check the whole chain: the panel accepts it, the plugin picks it up, the game executes it, the result comes back.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
action
|
string | Yes | Action from the catalog |
player
|
string | Yes | Player name (must be online on your server) |
params
|
object | No | Parameters as JSON, prefilled when you choose an action |
viewer
|
string | No | Displayed viewer name, default "API-Test" |
Response Example
{
"id": 1234,
"status": "pending",
"action": "spawn_mob",
"group": "sabotage",
"player": "Steve",
"params": {
"mob": "yeti",
"count": 1
},
"result": null,
"created_at": "2026-10-14T09:30:00+02:00",
"sent_at": null,
"plugin_seen_at": "2026-10-14T09:30:00+02:00"
}
cURL
curl -X POST 'https://your-panel.example/api/v1/hytale/bridge/test-action' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"action":"spawn_mob","player":"Steve","params":{"mob":"yeti","count":1}}'
Internal Behavior
/api/v1/hytale/bridge/test-action/{id}
Query test status
Shows what became of a test action: "pending" (waiting), "sent" (picked up by the plugin), "done" (executed), "failed" (failed, reason in "result", for example "player_offline" or "no_space") or "expired" (not picked up in time).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id
|
integer | Yes | ID from "Send test action" |
Response Example
{
"id": 1234,
"status": "done",
"action": "spawn_mob",
"group": "sabotage",
"player": "Steve",
"params": {
"mob": "yeti",
"count": 1
},
"result": null,
"created_at": "2026-10-14T09:30:00+02:00",
"sent_at": "2026-10-14T09:30:01+02:00",
"plugin_seen_at": "2026-10-14T09:30:02+02:00"
}
cURL
curl 'https://your-panel.example/api/v1/hytale/bridge/test-action/1234' \
-H 'Authorization: Bearer YOUR_TOKEN'