Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to automatically assign port #1258

Open
smaartscz opened this issue May 17, 2023 · 7 comments
Open

Add option to automatically assign port #1258

smaartscz opened this issue May 17, 2023 · 7 comments

Comments

@smaartscz
Copy link

Is your feature request related to a problem? Please describe.
I allow my friends to create custom minecraft server. They have full power of creating them but still it's not pain-free. They will run into issues when starting server for first time because default port (25565) is already assigned to different one.

Describe the solution you'd like
Allow user with admin permissions to:
a) create list of available ports
or
b) dynamically create list of open ports on server

When creating new server Pufferpanel would look at this list and choose non-used port. This way it would be easy to create new server without any issues even for non-techsavy friends.

Describe alternatives you've considered
I considered creating some form of list but this needs to be maintenanced and realtime updated, that is possible, but it will be a lot of cooler if Pufferpanel could do it automatically.

@Maskuh
Copy link

Maskuh commented May 18, 2023

I mean it depends on the template you can prewrite the config file for each version of the server as it is up to the server to assign the default port not the wrapper.

@smaartscz
Copy link
Author

I mean it depends on the template you can prewrite the config file for each version of the server as it is up to the server to assign the default port not the wrapper.

Alright, what will happen when 2 users uses same template? there will be 2 server with same port, right?

@Maskuh
Copy link

Maskuh commented May 18, 2023

make it a variable option in the template and just make them have to read a already taken list before choosing

@Maskuh
Copy link

Maskuh commented May 18, 2023

as you said it was friends correct?

@smaartscz
Copy link
Author

make it a variable option in the template and just make them have to read a already taken list before choosing

Oh, I get it now. It's the almost same solution as creating list I mentioned in main post, right?

@Maskuh
Copy link

Maskuh commented May 18, 2023

right but pufferpanel wouldn't do any of it unless you had some detailed stuff on what you wanted it todo
but it can app be configured in the template

@smaartscz
Copy link
Author

right but pufferpanel wouldn't do any of it unless you had some detailed stuff on what you wanted it todo
but it can app be configured in the template

That's why I wrote this feature request. Just an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants