Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.1.0-b1
-
Component/s: None
-
Labels:None
Description
Pterodactyl::editService() does not allow editing of build parameters (memory limits and such) which are controlled by the package. We should still not edit these build parameters unless the package is being changed. In which we should call servers/build api endpoint (https://dashflo.net/docs/api/pterodactyl/v1/#req_11fc764c3ed648ca8e6d60bff860ca6d)
This would looks something like
$this->apiRequest(
'Servers',
'editBuild',
[$pterodactyl_server->attributes->id, $service_helper->editServerBuildParameters($new_package)]
);