Credit goes to the help of GusGold, Eats_Rainbows, and drtshock of the Bukkit forums.
THIS MAY HAVE NOT BEEN AN ORIGINAL IDEA, BUT WE WERE THE FIRST TO INTEGRATE BOTH FACES AND MULTILINE SUPPORT!
Update to Java 7!
Have you ever wanted to add a cool aesthetic to your server?
Me? Yes You!
Tired of pinging your server, and seeing your boring "My Boring Server" MOTD?
Lets change that...
This is how it works:
Average Joe pings your server for the first time ever. The server MOTD tells him, "Welcome Guest!", as a friendly greeting.
Your new player enters your game for the first time, and goes about his business. The next day, "Average Joe" pings your server again, and your boring MOTD has been changed to say, "Welcome Average Joe!". (or below, for example purposes)
Average Joe now feels special, and will tell all his friends to come play on your server...
THE END :P
Look for a folder named PPMOTD!
This plugin is ultra-lite, uses low ram, and is very flexible. To Make it Work:
Step 1: Download. Step 2: Put it in your plugins folder. Step 3: Start your server. Step 4: Have fun :D
NOTE: Incompatible now, and will for ever be, with any other MOTD plugin.
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- You can disable the stat collection via /plugins/PluginMetrics/config.yml if you wish. (But that is not very nice :( )
How It Works:
When the players pings the server for the first time, his/her IP address gets logged into a HashMap. When the player joins the server, it grabs their IP address, and matches the two IP addresses.
Just look at this picture from the Minecraft Wiki! This shows the available colors and formats for your MOTD (Don't recommend "k", or any other formats except color, unless you know what you are doing! Just put the letter or number behind the "&", and save.
motd: guest: '&bWelcome &r&a&lGuest!' member: '&bWelcome &r&6&l%p!' linetwo: '&ato the &r&5&nExample&r &6&nNetwork&r&a!' banned: '&4You (%p) are banned!' dofaces: true autoupdater: true
I will explain what each thing means carefully. Do faces means to enable or disabled face generation, use true or false. The autosaveinterval is how often the plugin saves its data, in seconds. NOTE: This will take some trial and error, if you are not familiar with MOTD plugins.
This line here, '&bWelcome &r&a&lGuest!'. Let's take apart what it means.
&b = blue color &r = reset color format &a = green color &l = bold
The &b defines that the color at the beginning is blue. When you want to switch colors and formatting, you use &r (otherwise know as reset). When you want to use another formatting symbol, like the bold underline. The formatter comes before the color, or it wont work. When you want to for example make something bold and orange, you would do "&r&6&lWhatever" Then it would turn out as.
If you want to place the players username somewhere, you use %p.
It does exactly what the name implies. It should work, but it might not. There is a new line in my config file, for enabling or disabling. Check the config file section for information about plugin defaults.
Tell your friends, spread the word if you like this! (or even +1 my reputation)
NOTE: If you want to change the guest ping picture from steve. Feel free too. I currently do not support the addition. Just open my plugin's jar in 7zip, and extract char.png. Edit the picture to your liking. Make sure it is 64 x 64. Then place the new picture (still named char.png) in the jar. You're done! Have fun.
I just updated my craft bukkit renamed the jar and started the server. Nothing happens! Im not sure what's wrong I am upset that it's not working and need help!
You could always rename the jar from "v21" to "PPMOTD v21" thats all I can think of.
I also just tested my jar again, and it works fine.
The analytics don't lie. It shows servers starting up my plugin, and it working. It has to be your CB version. My plugin works with any minecraft version, although with development builds, I am not in control of rogue variables.
The current jar that is referenced in the code is 1.7.2 R2. I recommend using recommended builds and not development builds.
I checked my plugins folder and it did not create the folder do I need to maybe update my craftbukkit? I'll try it any way now
Yes, it create a folder called PPMOTD, which contains a config file. FYI, the plugin will work automatically without any config. The config is just if you want to change colors etc.
Ok well I dragged the V21.jar plugin into my plugins folder. But when I started the server nothing happens. What is supposed to happen? Like is there a folder that is created or a command I can use?
Thanks guys for 200+ downloads! Got any questions or concerns, post in the comments below.
I cannot help you, unless you give me more information. Goto server directory/logs/latestlog.log Copy the contents of the log into a comment or pastebin. I will try to help you asap.
Hey I just downloaded your plugin and it doesn't seem to be working..... Im not sure why but if you could respond that would be great! I am running a 1.7.4 minecraft bukkit server
Thank You for downloading! The next build is going to include multi-line support. I have been working on that today.
Great plugin!, but \n that makes 2 lines in MOTD doesn't work.
Thank You for the 150+ downloads.
I never thought my plugin would be this popular.
This plugin is designed to be light weight, and can be used on MCPC+ servers, like feed the beast or tekkit.
In the future I will be adding your face to the player ping (A little creepy, but if you look at the pics you know what I mean).
This plugin will also include a database, auto updater, and a chunk of code that tells the server not to generate that favicon, unless it is a 1.7+ server.
I am also sorry for the latest build being delayed, but it will be approved soon!
There is no need for a Bungeecord version. This plugin works per server, not cross server. In the future, I will add a database. I will not add data retention until the database, basically so everyone who gets their IPs recorded, will be put in a database. Then even if your haven't been on that server before, it will still know you.
Latest build has been deleted. Please wait for the new patched build to be available.
The latest release v18, is bugged. DO NOT download, until v20, which I am now uploading!
Anyone want to make a YouTube video on my plugin, or have a better logo?
A Mod is currently approving my latest build.* Also, I messaged the creator of ProtocolLib, and he gave me one heck of a Christmas present. He compacted, rewrote, and added to my source code. Soon, we will have a 1.7 update (That includes server-icon packet modification and possibly and auto updater!) Merry Christmas guys! - Blue