{{-- Copyright (c) 2015 - 2016 Dane Everitt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --}} @extends('layouts.admin') @section('title') Managing Server: {{ $server->name }} ({{ $server->uuidShort}}) @endsection @section('content')
UUID {{ $server->uuid }}
Owner {{ $server->a_ownerEmail }}
Location {{ $server->a_locationName }}
Node {{ $server->a_nodeName }}
Service {{ $server->a_serviceName }} :: {{ $server->a_servceOptionName }}
Name {{ $server->name }}
Memory {{ $server->memory }}MB (Swap: {{ $server->swap }}MB) (OOM Killer: {{ ($server->oom_disabled === 0) ? 'enabled' : 'disabled' }})
Disk Space {{ $server->disk }}MB (Enforced: no)
Block IO Weight {{ $server->io }}
CPU Limit {{ $server->cpu }}%
Default Connection {{ $server->ip }}:{{ $server->port }}
Installed {{ ($server->installed === 1) ? 'Yes' : 'No' }}

Character limits: a-zA-Z0-9_- and [Space] (max 35 characters).

You can change the owner of this server by changing this field to an email matching another use on this system. If you do this a new daemon security token will be generated automatically.

This token should not be shared with anyone as it has full control over this server.

Yes, Reset Daemon Token

Resetting this token will cause any requests using the old token to fail.

{!! csrf_field() !!}
After editing any of the options below you will need to restart the server for changes to take effect. If the server is currently off, you just need to start it and the container will be rebuilt with the new settings.
MB
MB

Setting this to 0 will disable swap space on this server.

%

Each physical core on the system is considered to be 100%. Setting this value to 0 will allow a server to use CPU time without restrictions.

Changing this value can have negative effects on all containers on the system. We strongly recommend leaving this value as 500.


Additional IPs and Ports can be assigned to this server for use by plugins or other software. The game port is what will show up for the user to use to connect to thier server, and what their configuration files will be forced to use for binding.
@foreach ($assigned as $assignment)
ip == $server->ip && $assignment->port == $server->port) checked="checked" @endif name="default" value="{{ $assignment->ip }}:{{ $assignment->port }}"/>
@endforeach

Please note that due to software limitations you cannot assign identical ports on different IPs to the same server. For example, you cannot assign both 192.168.0.5:25565 and 192.168.10.5:25565 to the same server.

Simply select which ports you would like to remove from the list above. If you want to assign a port on a different IP that is already in use you can select it above and delete it down here.

{!! csrf_field() !!}
Changing any of the values below will require a restart for them to take effect.
{{ $server->a_serviceExecutable }}

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.

@foreach($startup as $item)

{{ $item->description }}
Regex: {{ $item->regex }}
Access as: {{{{$item->env_variable}}}}

@endforeach
{!! csrf_field() !!}

This will take you to the server management page that users normally see and allow you to manage server files as well as check the console and data usage.

{!! csrf_field() !!}

This will toggle the install status for the server.

If you have just created this server it is ill advised to perform this action as the daemon will contact the panel when finished which could cause the install status to be wrongly set.
{!! csrf_field() !!}

This will trigger a rebuild of the server container when it next starts up. This is useful if you modified the server configuration file manually, or something just didn't work out correctly. Please be aware: if you manually updated the server's configuration file, you will need to restart the daemon before doing this, or it will be overwritten.

A rebuild will automatically occur whenever you edit build configuration settings for the server.
{!! csrf_field() !!} {!! method_field('DELETE') !!}
Deleting a server is an irreversible action. All data will be immediately removed relating to this server.
{!! csrf_field() !!} {!! method_field('DELETE') !!}
This is the same as deleting a server, however, if an error is returned by the daemon it is ignored and the server is still removed from the panel.
@endsection