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
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
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,