Closed Nevercold closed 5 years ago
Hey, i have fixed the Error. Now, i have a new Error when i creating a new Server. https://paste.dsyn.ga/Vzvj2h4QyF
new code: https://paste.dsyn.ga/s3KBFj4hn1
Have you provided all environment variables?
"environment": {
"SERVER_JARFILE": "server.jar",
//...etc
},
i dont know which environment variables i need.
check you egg.
I have set all from admin/nests/egg/36/variables : https://paste.dsyn.ga/NbB9n7o4E5
The Error is the same: https://paste.dsyn.ga/eX2Tx2fPTW
fill external_id or remove it.
what is external_id?
$server = $pterodactyl->createServer([ "external_id" => "",
What does this attitude do?
like linking to your external sales system, etc. you can use $pterodactyl->serverEx($serverExternalId); to get a server instance directly.
Ah okay, thanks!
https://paste.dsyn.ga/88Lrw253o4 i have filled it and the error is still the same
what i can do?
do you have
$egg = $pterodactyl->egg($nest_id, $egg_id);
on the top of your code?
why you remove the 1
in locations
?
With 1 in Location comes the Same Error
replace it to your location id in the panel.
It may not be 1, depends on your panel.
I am closing this issue, if you have any other questions, feel free to comment again.
it still does not work
there must be something wrong with your variables, not this sdk's issue. also you can check this document, https://deploys.io/docs/api/pterodactyl/v1/#create-server
Hello! On Installing, its comes a out of memory Error... What i can do? https://gist.github.com/Nevercold/b971af92cdfa080544d38c2f7660e94f