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

[Feature Request] Public Seasons #175

Open
bonkersGER opened this issue Sep 1, 2023 · 1 comment
Open

[Feature Request] Public Seasons #175

bonkersGER opened this issue Sep 1, 2023 · 1 comment

Comments

@bonkersGER
Copy link

bonkersGER commented Sep 1, 2023

Is it possible to add a flag public to a Season so every user can use a public server to create a match.

So you can create a Season for a LAN Weekend and Users can create his own matches and all stats will be saved in that public season :)

@PhlexPlexico
Copy link
Owner

Hey there! This would be more of a full stack change, so it would require changes to the API side, as well as the front-end. However, with the release of CS2 being so close, I probably will not make this change. Pull requests are always welcome for each repository, and the steps are actually pretty easy:

  • Create a new DB migrate script
  • Alter the seasons table to include a public boolean
  • Update the PUT/POST commands in seasons to include a new public or is_public boolean (update the docs, as well).
  • Update front-end to include boolean and value to send into POST call.

Then some logic would just need to be changed on the authorization side to check if it's public or not in the API.

But as I said, I don't really have enough time to take care of this, and want to see what CS2 has in future for game plugins :)

Thanks!

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