PistonMOTD - Best MOTD plugin multi platform support!

This is a discussion topic for the Ore project, PistonMOTD. View the full project on Ore for downloads and more information.


[ATTACH=full]557437[/ATTACH]

Features

Customize playercounter tooltip
Customize online player and max player counter
Random MOTD
Custom client out of date message. You can force that to always happen too.
Random favicon
Placeholders (extendable via api)
Hide your playercount (only on bukkit)
Very easy to understand config
Modular (You can enable/disable every feature)

Compatible with external MOTD plugins. (Cant promise it will work with every MOTD plugin.)

Configuration
Bungeecord:
[SPOILER=“config.yml”]

# You can find color codes here: https://minecraft.tools/en/color-code.php
# Formatting comes after the color! &d&l will work, but not &l&d.
# Placeholders: %online% (Players online)
# %max% (Server max slots)
# %aftericon% adds a bunch of spaces so the text is after the icon. (Only for protocol)
# %newline% adds a newline to your motd.

playercounter:
  activated: true
  text:
  - '&3Hello world!'
  - '&eNewline!'
  - '&6    spaces!'
  - '&d&lCombined'
  - '&1Players: %online%'
  - '&2Max: %max%'
overrideonline:
  activated: false
  value: 0
overridemax:
  activated: false
  value: 10
protocol:
  activated: false
  text: '&1My custom protocol message!'
icons:
  activated: false
motd:
  activated: true
  text:
  - Hello! %newline%World!
  - Use &4color codes!
  - '&ka &rFormatting &rworks &rtoo! &ka'
  - '&1Players: %online%'
  - '&2Max: %max%'

[/SPOILER]

Bukkit:
[SPOILER=“config.yml”]

# You can find color codes here: https://minecraft.tools/en/color-code.php
# Formatting comes after the color! &d&l will work, but not &l&d.
# Placeholders: %online% (Players online)
# %max% (Server max slots)
# %newline% adds a newline to your motd.
motd:
  activated: true
  text:
    - "Hello! %newline%World!"
    - "Use &4color codes!"
    - "&ka &rFormatting &rworks &rtoo! &ka"
    - "&1Players: %online%"
    - "&2Max: %max%"

overridemax:
  activated: false
  value: 10

# Extended config only works on paper https://papermc.io/
extended:
  # A protocol message is shown if the version of the client doesn't match the version of the server.
  # %aftericon% adds a bunch of spaces so the text is after the icon. (Only for protocol)
  protocol:
    activated: false
    text: "&1My custom protocol message!"
  overrideonline:
    activated: false
    value: 0
  # Instead of showing the playerstats the client will just display "???"
  hideplayers: false
  # This is shown when you hover over the playercount
  playercounter:
    activated: true
    text:
      - "&3Hello world!"
      - "&eNewline!"
      - "&6    spaces!"
      - "&d&lCombined"
      - "&1Players: %online%"
      - "&2Max: %max%"

[/SPOILER]

Commands
[SPOILER=“bungeecord”]

/pistonmotd help (pistonmotd.help)
/pistonmotd reload (pistonmotd.reload)

[/SPOILER]
[SPOILER=“bukkit”]

/pistonmotdbukkit help (pistonmotd.help)
/pistonmotdbukkit reload (pistonmotd.reload)

[/SPOILER]

API
It IS possible to create and execute your own parsers with a external plugin. To register you need a class implementing the PlaceholderParser and to register it at the PlaceholderUtil with #registerParser().

Here is a example of that:
ServerPlaceholder
Registering

And this stuff might get handy:
JavaDoc

TODO

nothing

(If you have any ideas please let me know in the discord server)

Downloads

10 Good
25 Cool
50 Awesome
75 Amazing
100 Unbelivable! o_O wow
125 Are we popular now? ;)
150 OMG :eek:
175 Road to a million
200 omg 200??? :love:
250Will the Growing ever end? :unsure:
300 wow! :D how did we get here that fast?

Stats

[SPOILER=“legacy stats”]
[/SPOILER]

If you like my plugin leave a rating. Support on discord. (y)
Have fun! :wink:

1 Like

A new version has been released for PistonMOTD, it is available for download here.


First sponge release!

This was previously a spigotmc plugin, but i decided to expand it onto another platform (Sponge ofc)

This adds all feature that were previously bukkit only.

All things look good now!

A new version has been released for PistonMOTD, it is available for download here.


Big update!

Changes:

  • Added velocity support!
  • Changed sponge config type from yaml to hocon
  • Reworked update checking
  • Improved commands
  • Lots of minor changes in the code

A new version has been released for PistonMOTD, it is available for download here.


Finally hex support!

Changes:

If you experience any issues with the plugin please let me know on the discord server: https://discord.gg/CDrcxzH