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

Implement Additional Allocations #116

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markd69
Copy link
Contributor

@markd69 markd69 commented Mar 20, 2022

This allows for creating multiple allocations per server.
Fixes #8
Useful for source games that require multiple ports

PR is not complete, still need to solve two issues. Any help is appreciated.

  • Take port range, and find a way to check the range (multiple values ie. 25565-25569,25570-25575)
  • Update documentation
  • Complete more testing
    .?

I should have time later this week to finish this up. Thanks.

@ldev-coder
Copy link

Olá o modulo já têm essa função implementada?

@markd69
Copy link
Contributor Author

markd69 commented Feb 14, 2023 via email

@NomadUK3
Copy link

I have tested and it seems to create the ports perfectly, i just need to find a way to automatically assign the allocations to the rcon and app ports in the egg, im new to this so learning as i go.

@Planetaryauto60
Copy link

Is this now in the module and if so could someone point me in the direction of some sort of documentation? Looking to implement unturned servers which require 2 ports to run and could really use this feature

@NomadUK3
Copy link

NomadUK3 commented Mar 8, 2023

Is this now in the module and if so could someone point me in the direction of some sort of documentation? Looking to implement unturned servers which require 2 ports to run and could really use this feature

this is just added to this version (fork), not yet added to the master. i can get this to auto allocate ports in pterodactyl but not assign them to a server. as yet.

@Planetaryauto60
Copy link

What do you mean by allocate but not assign to server apologies? May be me being silly but aren't they the same thing? as in when someone buys a server it allocates 2 ports? Could however be me being stupid haha

Is this now in the module and if so could someone point me in the direction of some sort of documentation? Looking to implement unturned servers which require 2 ports to run and could really use this feature

this is just added to this version (fork), not yet added to the master. i can get this to auto allocate ports in pterodactyl but not assign them to a server. as yet.

@NomadUK3
Copy link

NomadUK3 commented Mar 8, 2023

What do you mean by allocate but not assign to server apologies? May be me being silly but aren't they the same thing? as in when someone buys a server it allocates 2 ports? Could however be me being stupid haha

Is this now in the module and if so could someone point me in the direction of some sort of documentation? Looking to implement unturned servers which require 2 ports to run and could really use this feature

this is just added to this version (fork), not yet added to the master. i can get this to auto allocate ports in pterodactyl but not assign them to a server. as yet.

when you add the deployment settings to whmcs you say you want 4 ports to be allocated to this server.

it will create 4 ports in the pterodactyl panel and assign them to the server.

it wont however allocate what port does what. so you will have to assign the 3 ports you need manually. for example rcon, data etc.

@markd69
Copy link
Contributor Author

markd69 commented Mar 8, 2023 via email

@NomadUK3
Copy link

NomadUK3 commented Mar 8, 2023

Let me know when updated and I will test is as soon as it becomes availiable, thanks :)

@Planetaryauto60
Copy link

What do you mean by allocate but not assign to server apologies? May be me being silly but aren't they the same thing? as in when someone buys a server it allocates 2 ports? Could however be me being stupid haha

Is this now in the module and if so could someone point me in the direction of some sort of documentation? Looking to implement unturned servers which require 2 ports to run and could really use this feature

this is just added to this version (fork), not yet added to the master. i can get this to auto allocate ports in pterodactyl but not assign them to a server. as yet.

when you add the deployment settings to whmcs you say you want 4 ports to be allocated to this server.

it will create 4 ports in the pterodactyl panel and assign them to the server.

it wont however allocate what port does what. so you will have to assign the 3 ports you need manually. for example rcon, data etc.

That sounds like what im trying to do, tbh the ports dont need to be assigned to different things for the setup im using. How do I add this fork to the WHCMS integration as a pose to the main one?

@NomadUK3
Copy link

NomadUK3 commented Mar 8, 2023

Just download the files from this fork and replace the ones on your webserver.

You will need a new api that includes allocations.

@serverkur
Copy link

status?

@AleXburnA
Copy link

I would also be highly interested in this. Are you still developing this? Thanks in advance!

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

Successfully merging this pull request may close these issues.

Deploy multiple allocations
6 participants