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/minecraft/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.8.0" |
paused
|
boolean | No | "true" oder "false" |
game
|
string | No | "minecraft" oder "hytale" |
Response Example
{
"actions": [
{
"id": 501,
"action": "fake_death",
"player": "Steve",
"params": {},
"viewer": "ChatterName",
"label": null,
"show_title": true
}
],
"display": {
"live": true,
"streamer": "ExampleStreamer",
"platform": "twitch",
"url": "https://twitch.tv/examplestreamer",
"viewers": 128
}
}
cURL
curl -X POST 'https://your-panel.example/api/v1/minecraft/bridge' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"version":"1.8.0","paused":false,"game":"minecraft"}'
Internal Behavior
Possible values for "action" in the returned actions (full table with parameters in the "Actions reference" guide):
commands: runs a list of allowed server commands
drop_hand: drops the item from the main hand
drop_hotbar: randomly drops all hotbar items
throw_item: throws the item from the hand with an upward arc
shuffle_inventory: shuffles the inventory
hotbar_chaos: temporarily switches the hotbar slot at random
pin: fixes the player in place
knockback: knocks the player back
invert_controls: inverts the controls
strip_armor: removes the armor
damage_tool: damages the tool in hand
hot_potato: gives a "hot potato" that explodes once it expires
jail: teleports into a glass cage
cobweb: places cobwebs around the feet
ice_floor: replaces the ground with packed ice
pumpkin_head: puts a pumpkin on the head
sky_launch: launches upward
anvil_rain: drops anvils harmlessly from the sky
harmless_tnt: places TNT without explosion damage
half_health: halves the health
swap_places: swaps position with another player
firework_show: sets off fireworks
set_spawn: sets the respawn point
random_teleport: starts a random high-altitude fall teleport
ground_teleport: ends a high-altitude fall safely on the ground
fake_death: simulates death without real loss
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
mine: viewer control, mines the block in the crosshair
place: viewer control, places a block from the hotbar
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. The list is empty when no streamer has viewer control with this option switched on. Before every answer the endpoint also resolves running viewer control votes and queues the chosen action.
/api/v1/minecraft/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": "pin",
"group": "sabotage",
"player": "Steve",
"params": {
"seconds": 10
},
"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/minecraft/bridge/test-action' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"action":"pin","player":"Steve","params":{"seconds":10}}'
Internal Behavior
/api/v1/minecraft/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": "pin",
"group": "sabotage",
"player": "Steve",
"params": {
"seconds": 10
},
"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/minecraft/bridge/test-action/1234' \
-H 'Authorization: Bearer YOUR_TOKEN'