Files

20 lines
706 B
PHP
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Nodes;
use Pterodactyl\Models\Node;
interface CreatesNodes
{
/**
2026-10-11 23:50:53 -04:00
* The node gets a fresh daemon token pair. The input is validated here, and a node given no
* daemon_base keeps its files in /var/lib/pterodactyl/volumes. Extension field values go
* under `extensions` as ValidatedExtensionValues.
2026-10-05 18:10:18 -04:00
*
2026-10-11 19:54:55 -04:00
* @param array<string, mixed> $input name, location_id, fqdn, scheme, memory, memory_overallocate, disk, disk_overallocate, daemon_listen and daemon_sftp, and optionally public, description, behind_proxy, maintenance_mode, upload_size and daemon_base
2026-10-05 18:10:18 -04:00
*/
2026-10-11 06:48:21 -04:00
public function create(array $input): Node;
2026-10-05 18:10:18 -04:00
}