Skip to content

Conversation

@Boy132
Copy link
Contributor

@Boy132 Boy132 commented Nov 15, 2021

This PR adds a GSL Token Modal Feature that will be shown if the console contains messages like gsl token expired or account not found. When entering a new token (or leaving the field blank) the server will be restarted automatically to apply the changes.
I added this feature to the default Garry's Mod and CS:GO Egg because I know the GSL Token is used for these games but there might be other source games where this could be added.

image

I know this is a game specific feature but I think it would be helpful. The current problem is that servers with invalid gsl tokens are stuck at "Starting" and especially with Garry's Mod the message in the console can be easily overlooked.

@DaneEveritt DaneEveritt self-assigned this Nov 15, 2021
@trenutoo
Copy link
Member

This doesn't pass ESLint. I'd recommend installing and running this through ESLint to see what's wrong (tabs vs. spaces and inconsistent spacing)

@Boy132
Copy link
Contributor Author

Boy132 commented Nov 20, 2021

This doesn't pass ESLint. I'd recommend installing and running this through ESLint to see what's wrong (tabs vs. spaces and inconsistent spacing)

All ESLint errors should now be resolved.

@DaneEveritt DaneEveritt merged commit 4cc8658 into pterodactyl:develop Dec 4, 2021
@Boy132 Boy132 deleted the feature/gsl-token-modal branch December 4, 2021 20:26
@fabm3n
Copy link
Contributor

fabm3n commented Dec 9, 2021

There is a warning in your feature:
image

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.

4 participants