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

Self-service option for launching casual game servers #5

Open
3 tasks
NicholasBottone opened this issue Apr 6, 2023 · 0 comments
Open
3 tasks

Self-service option for launching casual game servers #5

NicholasBottone opened this issue Apr 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@NicholasBottone
Copy link
Member

NicholasBottone commented Apr 6, 2023

Context

Often, players will want to play on a publicly hosted xRC Sim server for a casual/unranked game with their friends. The demand for such servers may ramp up or down at any time, and they may switch between game modes at any time, so it is difficult to host a set number of servers that can dynamically meet the shifting demand.

Right now, admins can use /launchserver to spin up a casual server on demand based on user interest.

Proposal

  • A similar self-serve command should be created for general/non-privileged users to create a server for a game of their choice.
  • Automatically shut down inactive servers #14 The bot should periodically check the activity of the server, and should automatically shut down the server when it has 0 active players (for example, use a cron job that checks player count every 30 minutes).
  • The self-serve command should have a cooldown to prevent abuse.

Things to consider

Should the self-service command have the ability to create public (no password) servers, private password protected servers, or both? How should the list of currently active servers be displayed (perhaps in an embed similar to the existing #queue channel)?

The game does not have a built-in kick on AFK feature right now, so someone could hog the server resources all day by idling. We could add AFK kicking to the game. Restarting the bot and all servers nightly reduces the impact of this issue.

@NicholasBottone NicholasBottone added the enhancement New feature or request label Apr 6, 2023
@NicholasBottone NicholasBottone self-assigned this Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant