diff --git a/public/themes/pterodactyl/js/admin/new-server.js b/public/themes/pterodactyl/js/admin/new-server.js index 3e82cb1ad..f3de55bee 100644 --- a/public/themes/pterodactyl/js/admin/new-server.js +++ b/public/themes/pterodactyl/js/admin/new-server.js @@ -162,11 +162,6 @@ $('#pOptionId').on('change', function (event) { $('#pStartup').val(_.get(objectChain, 'startup')); } - if (!_.get(objectChain, 'executable', false)) { - $('#pStartupExecutable').html(_.get(parentChain, 'executable', 'ERROR: Exec Not Defined!')); - } else { - $('#pStartupExecutable').html(_.get(objectChain, 'executable')); - } $('#pPackId').html('').select2({ data: [{ id: 0, text: 'No Service Pack' }].concat( $.map(_.get(objectChain, 'packs', []), function (item, i) { @@ -186,8 +181,8 @@ $('#pOptionId').on('change', function (event) { \ \
' + item.description + '
\
- Access in Startup: @{{' + item.env_variable + '}}
\
- Validation Regex: ' + item.regex + '
{{' + item.env_variable + '}}
' + item.rules + '
\
\
';
$('#appendVariablesTo').append(dataAppend);
diff --git a/resources/themes/pterodactyl/admin/servers/new.blade.php b/resources/themes/pterodactyl/admin/servers/new.blade.php
index fbb0868d6..55c6c6cad 100644
--- a/resources/themes/pterodactyl/admin/servers/new.blade.php
+++ b/resources/themes/pterodactyl/admin/servers/new.blade.php
@@ -147,14 +147,14 @@
The following data replacers are avaliable for the startup command: @{{SERVER_MEMORY}}
, @{{SERVER_IP}}
, and @{{SERVER_PORT}}
. They will be replaced with the allocated memory, server ip, and server port respectively.