diff --git a/app/Services/Nodes/NodeCreationService.php b/app/Services/Nodes/NodeCreationService.php index 261526a91..fabc36e05 100644 --- a/app/Services/Nodes/NodeCreationService.php +++ b/app/Services/Nodes/NodeCreationService.php @@ -2,6 +2,7 @@ namespace Pterodactyl\Services\Nodes; +use Ramsey\Uuid\Uuid; use Illuminate\Support\Str; use Pterodactyl\Models\Node; use Illuminate\Encryption\Encrypter; @@ -41,6 +42,7 @@ class NodeCreationService */ public function handle(array $data) { + $data['uuid'] = Uuid::uuid4()->toString(); $data['daemon_token'] = $this->encrypter->encrypt(Str::random(Node::DAEMON_TOKEN_LENGTH)); $data['daemon_token_id'] = Str::random(Node::DAEMON_TOKEN_ID_LENGTH); diff --git a/resources/scripts/components/server/ServerConsole.tsx b/resources/scripts/components/server/ServerConsole.tsx index 8593216fc..0440a1b59 100644 --- a/resources/scripts/components/server/ServerConsole.tsx +++ b/resources/scripts/components/server/ServerConsole.tsx @@ -110,7 +110,7 @@ export default () => { className={'mr-1'} />  {bytesToHuman(memory)} - / {server.limits.memory} MB + / {server.limits.memory} MB

{ className={'mr-1'} />  {bytesToHuman(disk)} - / {server.limits.disk} MB + / {server.limits.disk} MB