Closed Elikill58 closed 2 years ago
This is not a bug and rather a feature request. The API expects you to provide the environment. When creating a server through the Panel, it fetches the environment from the egg and applies it. You'd have to perform the same thing.
This is not a bug and rather a feature request. The API expects you to provide the environment. When creating a server through the Panel, it fetches the environment from the egg and applies it. You'd have to perform the same thing.
Ok, but :
This is not a bug and rather a feature request. The API expects you to provide the environment. When creating a server through the Panel, it fetches the environment from the egg and applies it. You'd have to perform the same thing.
Ok, but :
- I give all informations to know which is the egg, nest etc
- When default values are applied ?
They are never applied by themselves. You can view they default values when you fetch the egg.You have to request the environment of the egg and apply it to your server creation request. The panel does it the same way to fill the default values.
This is not a bug and rather a feature request. The API expects you to provide the environment. When creating a server through the Panel, it fetches the environment from the egg and applies it. You'd have to perform the same thing.
Ok, but :
- I give all informations to know which is the egg, nest etc
- When default values are applied ?
They are never applied by themselves. You can view they default values when you fetch the egg.You have to request the environment of the egg and apply it to your server creation request. The panel does it the same way to fill the default values.
Ok, so can this issue be knwon as feature request to don't have to make a request before making the create request ?
So far I see that you have an egg with a mis-configured variable then. A value that is needed was made nullable. When you do the post to the panel with that value unset it's essentially setting the value to null.
I also have a workaround. Pull the egg info, build the new server off that, send a new server request with all the defaults when new values were not applied.
Current Behavior
The variable (
SERVER_JARFILE
) is empty, so the server can't startExpected Behavior
The default value is used when the variable is empty
Steps to Reproduce
SERVER_JARFILE
var.my-panel.fr/api/application/servers
with a JSON that doesn't write the variable. I.E. don't setSERVER_JARFILE
in the JSON.Panel Version
1.8.1
Wings Version
-
Games and/or Eggs Affected
Minecraft (Paper)
Docker Image
ghcr.io/pterodactyl/yolks:java_8
Error Logs
No response
Is there an existing issue for this?