From 844ebfaf6442f405f6b861c0394ca60f12cba520 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 1 Apr 2017 12:29:49 -0400 Subject: [PATCH] Add support for starting server on creation. --- app/Repositories/ServerRepository.php | 1 + .../pterodactyl/admin/servers/new.blade.php | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/Repositories/ServerRepository.php b/app/Repositories/ServerRepository.php index dc7e5515b..b905c5aae 100644 --- a/app/Repositories/ServerRepository.php +++ b/app/Repositories/ServerRepository.php @@ -330,6 +330,7 @@ class ServerRepository (string) $server->daemonSecret => $this->daemonPermissions, ], 'rebuild' => false, + 'start_on_completion' => isset($data['start_on_completion']), ], ]); diff --git a/resources/themes/pterodactyl/admin/servers/new.blade.php b/resources/themes/pterodactyl/admin/servers/new.blade.php index 733798211..e2071d37d 100644 --- a/resources/themes/pterodactyl/admin/servers/new.blade.php +++ b/resources/themes/pterodactyl/admin/servers/new.blade.php @@ -52,10 +52,18 @@ -
- - -

A brief description of this server.

+
+
+ + +

A brief description of this server.

+
+
+
+ + +
+