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

Pterodactyl egg support #2

Closed
wants to merge 9 commits into from
Closed

Conversation

mattman107
Copy link
Contributor

I have updated the mod.ts file to support input for what port the server should be run on at startup If nothing is input it will default to 43384.

I also added the Pterodactyl egg file for running an Anchor server in the Pterodactyl game server manager.

Check parameters for a port. If null defaults to 43384
Fixed spelling mistake
Ensure that the first parameter passed when running this script (should be the port) is a number.
changed or to ||
Number.IsInteger to Number.isInteger
Removed port comparison to null
Removing ! because I am stupid
Simplify Logic
@mattman107 mattman107 closed this Oct 19, 2023
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.

1 participant