mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
57 lines
2.1 KiB
JSON
57 lines
2.1 KiB
JSON
[
|
|
{
|
|
"request": "PATCH /api/application/servers/1/build",
|
|
"status": 200,
|
|
"body": {
|
|
"object": "server",
|
|
"attributes": {
|
|
"id": 1,
|
|
"external_id": "ext-survival",
|
|
"uuid": "5e7f0001-0000-4000-8000-000000000001",
|
|
"identifier": "5e7f0001",
|
|
"name": "Survival",
|
|
"description": "Main survival world",
|
|
"status": null,
|
|
"suspended": false,
|
|
"limits": {
|
|
"memory": 4096,
|
|
"swap": 0,
|
|
"disk": 20480,
|
|
"io": 500,
|
|
"cpu": 300,
|
|
"threads": "0-1",
|
|
"oom_disabled": true
|
|
},
|
|
"feature_limits": {
|
|
"databases": 6,
|
|
"allocations": 8,
|
|
"backups": 7
|
|
},
|
|
"user": 2,
|
|
"node": 1,
|
|
"allocation": 1,
|
|
"egg": 1,
|
|
"container": {
|
|
"startup_command": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
|
"image": "ghcr.io/pterodactyl/yolks:java_21",
|
|
"installed": 1,
|
|
"environment": {
|
|
"SERVER_JARFILE": "paper.jar",
|
|
"BUILD_NUMBER": "latest",
|
|
"HIDDEN_TOKEN": "hidden-value",
|
|
"STARTUP": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
|
"P_SERVER_LOCATION": "us-east",
|
|
"P_SERVER_UUID": "5e7f0001-0000-4000-8000-000000000001",
|
|
"P_SERVER_ALLOCATION_LIMIT": 8
|
|
},
|
|
"skip_scripts": false
|
|
},
|
|
"relationships": [],
|
|
"updated_at": "2026-03-04T05:06:07+00:00",
|
|
"created_at": "2026-01-02T03:04:05+00:00",
|
|
"extensions": {}
|
|
}
|
|
}
|
|
}
|
|
]
|