Pterodactyl WebSocket icon

Pterodactyl WebSocket

Send commands via Pterodactyl WebSocket API

Actions6

Server Control → Set State

AI-generated

Summary

Send a power control command to a specified server to start, stop, restart, or kill it.

Inputs

  • Server (required) — Select the server to control from the list of available client servers.
  • Power Action (required) — Choose the power action to perform: start, stop, restart, or kill.

Output shape

a list containing the result of the power action command for each input item

Each returned item corresponds to an input and contains the outcome of the power action. Errors are returned for individual items if the operation fails, depending on error handling settings.

Discussion