create_allocation
Create port allocations on Pterodactyl nodes for game servers by specifying individual ports or ranges, requiring node ID, IP address, and port configurations.
Instructions
Create new port allocations on a node (admin action). Ports can be individual ('25565') or ranges ('25565-25570'). Use list_nodes to find the node_id first. Requires Application API key.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | Node ID to create allocations on (from list_nodes) | |
| ip | Yes | IP address to bind the allocation to (e.g. '0.0.0.0' or '192.168.1.1') | |
| ports | Yes | Array of ports or port ranges to allocate (e.g. ['25565', '25570-25575']) |