p455w0rd's MOTD Customizer
p455w0rd's MOTD Customizer
A Forge Server Side-Only mod to customize your server MOTD!
This mod requires p455w0rdsLib which can be found here for 1.9.4-1.10.2 and here for 1.7.10.
Features
- Vanilla Compatible
- 1.7.10, 1.9.4, 1.10, and 1.10.2 compatible
- Customizable Random MOTDs
- Customizable PlayerList tooltip
On first run, the mod will generate the two required files for MOTD customization in <server root dir>/CustomMOTD
There are 2 files used for configuration.
customotdlist.txt
This mod supports multiline MOTDs (2 lines as per vanilla). To set a new line, use the pipe | character in the entry in custommotdlist.txt
Each entry in custommotdlist.txt is a separate MOTD entry. This is why the pipe character is used for 2nd line
customplayerlist.txt
Contains the replacement template for the player list tooltip
Variables
{playercount} - number of players currently on the server
{maxplayers} - maximum number of players the server supports
{difficulty} - server difficulty level
{mcversion} - server Minecraft version
{radio} - obfscated radio bars
{playerlist} - list up to 10 players currently online
Color Codes and Formatting
Full support for default Minecraft color codes and formatting
to use an ampersand (&), use two ampersands in succession (&&).
bb but Plugins already do this :C
Yes they do, and I feel the less dependent modded servers are on systems like Bukkit/Sponge, the better. I have been told that Forge can't possibly do what bukkit plugins can..I beg to differ..
This mod is not serverside only as it only works with the libraries whitch require clients to install as i just found out. I installed this mod on my server with the libraries and not on my client and not able to join since i am missing the libraries mod in my client.
In reply to TASC_Fuzz:
In reply to TheRealp455w0rd:
Anyway to use this only for the motd, but still display the normal list of players online?
Currently admin on a low-pop server. And I love using this mod for all the random and funny motd's I and the owner have added.
But it's a bit annoying when people check the status of the server in Discord, and it doesn't tell us who is on the server.
Perhaps a variable {players} could be added, which just prints out a list of players, like normal. Then you can also put your own text and other variables before and after the list?
Or just leave the customplayerlist.txt empty for it to display the vanilla list?
In reply to Norway174:
1.12.2 planned?
In reply to Sclane:
In reply to Sclane:
In reply to TheRealp455w0rd:
Been using this mod for as long as I've had my server :)
Lately my server has been acting a bit odd and just posting "Test 20101799740" whenever I enable CustomMOTD though, have you seen that before, do you know what I can do to fix it?
Very useful mod! Thanks a lot!
One question: is this mod open source? I would be interested in the code.
Not atm. I will be uploading the sources to most of my mods when I get time. You're welcome to doebf/decompile in the mean time tho :)
Thank you for ur quick reply. I will try do to that (deobfuscating/decompiling), and I am looking forward to you uploading the source code, but it is not that important ;)