MiniMOTD

MiniMOTD

5k Downloads

[Feature Request] More placeholders

solonovamax opened this issue ยท 2 comments

commented

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
Support more placeholders, such as:

  • {randomPlayer}, which selects a random online player and inserts their username.
  • {tps}. which inserts the current tps, formatted to 2 decimal places.
  • {mspt}, which inserts the current mspt, formatted to 2 decimal places.
  • {mcVersion}, which inserts the version the minecraft server is running.
  • {uptime}, which inserts the current server uptime in the dd'd'hh'h'mm'm' format. (eg. 1d4h12m, which is 1 day, 4 hours, and 12 minutes)
  • {memUsed}, which inserts the amount of memory used by the server in gigabytes, formatted to 1 decimal place.
  • {memAvail}, which inserts the amount of memory available to the server in gigabytes, formatted to 1 decimal place.

These are the ones I can think of, feel free to add others.

Describe alternatives you've considered
N/A

Additional context
N/A

commented

Is there any placeholders we can use right now?

commented

Is there any placeholders we can use right now?

PlaceholderAPI support would be cool, it would let us use some global / dynamic stuff so we don't have to edit the.conf with each update