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.
Did you give the auto saver time to save? That is a current bug, In the new update, I will make saving more practical.
Whenever I /reload or /restart the Server it says "Welcome Guest" again instead of using my name. Can anyone help me?
Announcement:
I have not forgot about that update. I have been working on stuff to add to it. Also, in light of the 1.8 update there is a delay. It would not make sense for me to release my new plugin before the 1.8 update. Then when 1.8 comes out, it would break everyone's "pingdata" file. So, sadly I will have to delay the launch till 1.8 Sorry guys. :(
@EN7
Thanks for the support. Ill take that as a complement, I think? ;)
@monkeyboystein
I think it is quite babyish to be honest that you would accuse a dev of "stealing an idea" that's actually a pretty common tactic by servers these days.
PlayerUnique FTW!
@TiippexxModz
Glad to hear I have a fan! ;)
@monkeyboystein
I have been constantly maintaining this plugin. I may have fewer downloads than you, but this was my first plugin ever. Give me a break. Plus, maybe you should work on coping with the fact that @_jeb has announced that Minecraft will now use UUIDs instead of usernames, so everyone in the world can change their name to Notch for no apparent reason, instead of arguing with me. :/
@monkeyboystein What does he steal. I think you are a big noob
== #Stealing my ideas eh? ==
@Gamingfreak101
I don't always know why this happens. I always test my builds and make sure they work, before I send them out. Did it make an error? If so, send a copy of your latest.log file to me, so I can fix the problem in the next version. In the next version, I'll make error reporting easier. Are you running the right version of Java? Are you running bukkit or spigot?
I made dofaces: false...doesn't work..Any clues as to why?
@TiippexxModz
soon. It's not a simple as you think. I'm going to have to emulate a sort of server-icon.png style, but make it guest-ping.png. Then I need to make it fool proof, so if it's not 64 x 64, it won't throw huge errors.
@Blue_Mustache
whats about the replaceable steve had? when can i use this? :D
Announcement:
I wrote this plugin entirely by myself. Just thought I'd clear that up, for those who wanted to know. I asked oliver to help me with other plugins, not with this plugin. This was my first plugin I ever made. I did not know till after I hired him (no pay of course :P), that he made a plugin similar to mine. Oh well. Keep up the support guys! An update is coming. Also, anyone else hate the look of mcstats' signature images, very big and blah in my opinion.
The excitement is building huh? Kind of like Half Life 3. I'll tell ya'll when I'm done. (Man, a lot of apostrophes.)
@TiippexxModz
Gotcha. Also, the submit command will make error reporting easier. When an error/bug occurs with the plugin. The plugin will now copy your latest.log file, and upload it to pastebin. The plugin will tell you the link, and you submit a comment on this page with the description of the bug, and the link to the pastebin. Also, you can make the console run the submit command (actually only the console can), if you want to file a report.
@Blue_Mustache
For example /ppmotd view To view the motd
@TiippexxModz
I will add that in the next update.
So far for next update: - Steve head replaceable - Better saving - A variable for apostrophes (don't ask me why). - Adding a /ppmotd reload & /ppmotd submit. - Adding an update channel. (Not an auto updater, that's different)
Any other ideas I missed?
@Blue_Mustache
Yes
@TiippexxModz
Do you mean an override for the steve head?