Basic concept for the EULA feature to demo how this will all work

This commit is contained in:
Dane Everitt
2020-11-02 20:52:41 -08:00
parent 505a9a6cbd
commit aba7df3afa
8 changed files with 90 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ class ServerTransformer extends BaseClientTransformer
'cpu' => $server->cpu,
],
'invocation' => $service->handle($server, ! $this->getUser()->can(Permission::ACTION_STARTUP_READ, $server)),
'egg_features' => $server->egg->inherit_features,
'feature_limits' => [
'databases' => $server->database_limit,
'allocations' => $server->allocation_limit,