Skip to content

"randomgame" command#61

Open
LunaBroeke wants to merge 2 commits intoSanae6:masterfrom
LunaBroeke:randomgame
Open

"randomgame" command#61
LunaBroeke wants to merge 2 commits intoSanae6:masterfrom
LunaBroeke:randomgame

Conversation

@LunaBroeke
Copy link
Copy Markdown

This contains functionality for a command "randomgame " which purpose is to:

  • Warp all players to a random kingdom (based on a list in settings.json)
  • Select a seeker or seekers with the numbers based on the argument and display them in the console.
    • It will check if there is at least one hider available or if the value is higher than the number of connected clients.
    • It does not automatically switch players gamemodes and purely cosmetically displays their in game names in the server console.
    • It also remembers which players have been seekers before and resets that list when the number of unlisted players is 0.

With this code I hope to bring easy access towards deciding how to start a game.

LunaBroeke added 2 commits February 11, 2025 22:45
This has the changes from the /random-hns branch isolated for the purpose of being pushed upstream
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