1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 11:02:31 +01:00

Send server name and description to wings to make available to replacers

This commit is contained in:
DaneEveritt 2022-07-24 17:15:24 -04:00
parent abac317802
commit 2eda1995b9
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -47,6 +47,10 @@ class ServerConfigurationStructureService
{ {
return [ return [
'uuid' => $server->uuid, 'uuid' => $server->uuid,
'meta' => [
'name' => $server->name,
'description' => $server->description,
],
'suspended' => $server->isSuspended(), 'suspended' => $server->isSuspended(),
'environment' => $this->environment->handle($server), 'environment' => $this->environment->handle($server),
'invocation' => $server->startup, 'invocation' => $server->startup,