Thứ Sáu, 12 tháng 9, 2014

PlayerUniqueMOTDPings Plugin 1.7.2

http://www.img3.9minecraft.net/minecraft/img/PlayerUniqueMOTDPings.png


Credit goes to the help of GusGold & Eats_Rainbows of the Bukkit forums.


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. http://www.img3.9minecraft.net/minecraft/img/PlayerUniqueMOTDPings 1.png 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) http://www.img3.9minecraft.net/minecraft/img/PlayerUniqueMOTDPings 2.png 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!


guest: Whatever you want it to say to Guests.


member: What it says to members.


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 :( )


http://www.img3.9minecraft.net/minecraft/img/PlayerUniqueMOTDPings 3.png


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&r&b to my server!'  linetwo: '&ato the &r&5&nExample&r &6&nNetwork&r&a!'



I will explain what each thing means carefully. 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.


_______________________________________________________________________________________


http://www.img3.9minecraft.net/minecraft/img/PlayerUniqueMOTDPings 4.gif


Bugs:



  • may or may not forget unsaved ips on reload.


Tell your friends, spread the word if you like this! (or even +1 my reputation)


PlayerUniqueMOTDPings Plugin 1.7.2 Download Link


http://www.dl2.9minecraft.net/index.php?act=dl&id=1392342081


http://www.dl5.9minecraft.net/index.php?act=dl&id=1392368374

Không có nhận xét nào:

Đăng nhận xét