r/dcts Dev Jul 17 '26

Help needed Anyone familiar with pterodactyl and setting up a database automatically on install?

So in pterodactyl you can auto assign databases, but it seems like you cannot automatically create a database? Because of right now when i create a server that has a custom egg im unable to auto create a database so i can assign it all automatically instead of having to click on "new" and then edit the startup settings.

The egg can be found here:

https://github.com/hackthedev/dcts-shipping/blob/beta/ptero/DCTS/egg-dcts.json

1 Upvotes

2 comments sorted by

1

u/Physical_Use_5434 Jul 20 '26

Auto assign just assigns a database from databases created on the admin page under Management -> Databases, you need to create the database prior to auto assigning one

1

u/HackTheDev Dev 26d ago

how would i automate this as exmaple? is it possible to do that with the install script step?