get_server_info() addition
LadyCailinBot opened this issue ยท 5 comments
CMDHELPER-2715 - Reported by Lildirt
Fetch the servers MOTD in the server.properties with get_server_info()
Attempt to port over the coloring of MOTDs if possible, otherwise strip the colors.
Comment by Lildirt
I am using this in a variety of commands. My MOTD has a version number in it that depicts.. well .. the server version. Not the Mi ecraft version, however.
Comment by Lildirt
Did not mean to post that yet.
Anyways, I am more or less asking so that I wouldn't have to run around and update every file in the world.
I suppose I could use servername for this, but color from the motd is relatively crucial.
Comment by PseudoKnight
Why don't you use CH's server_ping event to handle the MOTD, that way you don't have to bother using server.properties for the motd.