Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

API and commands

The application API, the command, the permission and where the data is stored.

On this page

Application API#

Use an application API key with read and write access to all resources.

Method Path What it does
GET /api/application/extensions/server-splitter/servers/{id}/limit Shows the limit, where it comes from and how many splits are used
PUT /api/application/extensions/server-splitter/servers/{id}/limit Sets the limit. Body: {"splits": 2}, from 0 to 1000.
DELETE /api/application/extensions/server-splitter/servers/{id}/limit Removes the limit of the server, so the egg variable applies again

{id} is the internal ID of the server. A response looks like this:

{
  "server_id": 12,
  "splits": 2,
  "source": "override",
  "override": 2,
  "variable": null,
  "variable_name": "SPLITS",
  "used": 1
}

source is override for a limit on the server, variable for the egg variable, or none.

Command#

Run this in the folder of your panel:

Command What it does
php artisan server-splitter:limit <server> Shows the limit of a server
php artisan server-splitter:limit <server> 3 Sets the limit to 3
php artisan server-splitter:limit <server> reset Removes the limit of the server, so the egg variable applies again

<server> is the ID, UUID or short UUID of the server.

Permission#

Group Permission Allows
Server Splitter ext.server-splitter.manage Create, resize and delete split servers

Data#

The limits are stored in server_splitter_limits and the links between primary servers and splits in server_splitter_splits.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.

Complete your panel

Get the Pterodactyl v2 Bundle with:

$104.68 $139.58 Save 25%