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

Appended the aliases.json.default with the gamemodes, added "get_gamemodes" and "aliases gamemodes" #149

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

frostyboskitzo
Copy link
Contributor

Just a little helper to remind an on-again-off-again server owner and his various mods/captains what the game modes are for the switchmap command.

This code is currently running on our community server (Bowels).

Running aliases returns the normal list, including this:
image

This block outputs as a result of ".aliases" or ".aliases gamemodes" by itself.

It shows up in the help section:

image

The example file "aliases.json.example" now includes the full list.

There is merit for this to be added as either:

A) It's own json - gamemodes.json.example, for example which would be a little more work, but perhaps nicer - then gamemodes could be it's own command

B) Append the information to the info command, which is how I used to have it in my 2021 branch of the code; but this didn't display as nicely.

C) Append the information somewhere else, like the lists section, and have a separate command to invoke the prompt for gamemodes.

As a UX improvement, it would be good once this is implemented, to have detection on switchmap/map commands where the game_mode is malformed, it spits out the valid gamemodes to the user.

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