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] MOTD Override based on papi expression #208

Open
lerokko opened this issue Jul 11, 2024 · 0 comments
Open

[Feature Request] MOTD Override based on papi expression #208

lerokko opened this issue Jul 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lerokko
Copy link

lerokko commented Jul 11, 2024

Is your feature request related to a problem? Please describe.
I have a development environment that Iike to run in offline mode to make "unit testing" with bots easier. I thouht "hey wouldn't it be cool if the motd reflects that?". SO when running in insecrue mode I could set a different motd to remind me that this server is runnig in offline mode.

Describe the solution you'd like
I would like to have a list of overrides motds. A list where i can define an expression that supports papi placeholders and if it evaluates to true a custom motd (or random list of motds) is displayed (switch case from to to bottom). Depending on the implementation and versatility of this feature it could even cover something like this other feature request #126 (time sensitive motds). You are only limited by what papi addons you can get your hands on.

Describe alternatives you've considered
No, idea to be honest. But I am open for them.

Additional context
I know that for my specific example there is no placeholder (on that show the server online/offline mode) but I still think the idea is neat and has a lot of potential (server full, event, time/date, etc)

@lerokko lerokko added the enhancement New feature or request label Jul 11, 2024
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