PlayerUniqueMOTDPings
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!
Description:
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
Config:
Look for a folder named PPMOTD!
See examples.
Details:
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.
Metrics:
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.
Colors:
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.
_______________________________________________________________________________________
Examples:
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.
Whatever
If you want to place the players username somewhere, you use %p.
_______________________________________________________________________________________
Auto-updater:
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.
Bugs:
- none.
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.
@luke13456
I have not yet added the picture feature, the above is "photoshopped". I will release that in an update after this update.
Also, I have a 2GB server, and I still run bukkit, I cannot guarantee my plugin will work with a port of bukkit, such as Spigot. Also, if you download this plugin, and a future plugin I might make. If it spits an error at you, the plugin is still working, that perfectly normal. My plugins don't like to play nice, but they still work.
Announcement:
I am at the moment testing / releasing a new update! Everyone be patient for the mods to approve it. :) - Blue
@kingstarwest
Hey kingstarwest if you read the plugin information above you would know the plugin does not support pictured faces yet. The future update will have it Blue is just finishing up a couple of things!
Note I use spigot, here's what someone said.
If you have spigot for 1.7.2 get an image(IT HAS TO BE 64x64 PIXELS IN SIZE) name it server-icon.png and put it in the root folder of your server(where the jar is)
then restart the server and its done
I'm using 1.7.2 and this plugin is not working for me.
Everything works except the face of my skin doesn't appear.
Plugins: coreprotect,entityguard,forcedgrammar,lwc,skript,twitchirc,worldborder,ppmotd. None of them modify motd?
Benchmark Get!
Thank you for 400 downloads guys! I would have never thought my plugin would be this popular.
@igwb
New update coming out this week hopefully, and it should fix the problem with pngs. This is my first (official) plugin.
Hi,
Cool plugin!
But it would be great if you could store the ip.png files in the plugin folder and not in the server root folder. It kinda makes things messy.
Announcement:
School got event.setCancelled for me, because it snowed. So I can work on my plugins early. Yay. - Blue
Announcement:
Sorry for the lack of updates. I might release a new update for multiline MOTDs this weekend. I have been busy with 2-3 new plugins I'm rolling out! :D Keep checking back! - Blue
Benchmark get!
Thank you guys for 300+ downloads! I hope to bring out better updates in the future. I know this is a unique project, so thank you for not picking my competition. I now have a new friend, who will be joining us soon, and will hopefully help me bring out more updates quicker! ALLONS-Y Thanks Guys! - Blue
Coming Up!
Some tests seem to yield promising results.
@CrissIIL
The config file is generated. The config file is called PPMOTD. The picture is just a little test. Those pictures will be removed in the next next update. Those pictures are being used for the faces you see in the photos.
I can't find the config file, and does the pictures stay there forever in my root folder?
@luke13456
Cool, I might join later. I have to go do some yardwork. Ill be back around 5.
That sounds sweet! If you want to check out my server the ip is cocminecraft.zapto.org Its not up 24/7 but itll be up later today. Also im getting mcprohost.com so maybe your plugin will work for me!
I almost forgot. Could you guys please leave Metrics enabled. I can't make this plugin better, if it isn't on. There are almost 275 downloads, and I am pretty sure there are more than 4 servers running this.
I will work on all my projects after Monday. For now I am on vacation, playing Minecraft and FTB with my friend who has been grounded for 6 Months! Thank you guys for understanding.
- Blue
I have always liked a good challenge. Ill take it! Also, I would be very appreciative if you did a plugin review. I could let you on my server to do a plugin review of PPMOTD. I will also make you your plugin. You could also do a review on that. Also, I will be rolling out a new plugin, just in time for april fools day. >:) Thank You for your patience, and sorry I couldn't help. Maybe a later version of this plugin will work for you!
- Blue
LOL don'd worry I don't need this plugin anymore. Bu could you make me a Very simple plugin?
Name: Fireball Info: When you left click with a fire charge you shoot a fireball. When you left click with a Blaze rod you shoot a big fire charge. If you could make this I will give you a reward! Also thx for all the help! Also I could make A plugin spotlight on my youtube channel http://www.youtube.com/13456gaming