Skip to content

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

@lerokko

Description

@lerokko

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions