PersonalMOTD

Main image

PersonalMOTD - A plugin that will let you show player name's in the MOTD and/or randomize public motds of your server!

Version: v2.0

This plugin will show a players name to themselves in the MOTD of your server (that's the message shown in the server list!)

It uses mySQL or yml (your choice) to save a players IP. Once the player has logged in at least once to save the IP, it will begin showing them a custom MOTD you define in the conifg, where %name% is replaced with the player's name! You can also set special MOTDs for just one player so that only they see it.

_____________________ _______________________

personalmotdimage2

Colorz

Features:

  • Easy config
  • YML or mySQL support
  • Custom MOTDs where %name% is replaced with a players name
  • Can set a special MOTD on a player-by-player basis
  • This plugin was tested on my server play.modnations.net and CookieSlap.net for over a month with an average of 50 players online, thought sometimes as many as 125 players. No issues were caused via this plugin.
  • Colored MOTDs via using "&" - see colors here.

Config:

  • mySQL settings ask the basics
  • Set Main.SQL.Enabled to true if you want to use MySQL. (Database.)
  • If mySQL connection fails, it will use YML
  • Motds.MOTD? - Use %name% where you want the player's name to be
  • Motds.Count - Change this to as many motds you want it randomize through.
  • Custom MOTDs: - If a player is entered here, only they will see this motd.
  • Want colors? Use the color tags in the message.

Color Codes:

Use these codes to add colors into the MOTD. Simply use the & symbol followed by the number or letter.

Example: '&9Welcome to the server, &c%name%&9!' would show: Welcome to the server, %name%!

&0 &1 &2 &3 &4 &5 &6 &7 &8 &9 &a &b &c &d &e &f < This is the white color :P (&f)

Commands:

  • '/personalmotd Reload' - Reload the plugin's config file

Permissions:

  • personalmotd.reload - access to '/personalmots reload'

_______________________

See the full change-log here!

Roadmap:

  • Suggest things!
  • See Tickets~
  • Fix issue where only one name can be shown per IP (maybe I can track hostnames?)
  • Create a method to transfer data from yml to mySQL and vice-versa.
  • A command or API to set the custom MOTD for a player. This might enable "You are banned from this server!" messages or something.
  • Pruning of the IP lists after X days or after X days that a player hasn't logged in
Like the plugin? Help me keep my programming hobby alive! Please consider donating!

Below, to itsatacoshop247, if you would like to donate to addemod too, use the second button.

Paypal Button

Addemod's button below. Paypal Button

Don't comment if you have an issue or suggestion, make a ticket instead! Otherwise I probably will not see it, or ignore it.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of barnabas02 barnabas02 Apr 26, 2013 at 15:19 UTC - 0 likes

    @baksovic: Go

    That happens to me as well sometimes, after a succesful ping, I usually get that error

    Last edited Apr 26, 2013 by barnabas02: Making more sense

    http://signaturecraft.us/signatures/eJxFjDEKg0AQRfs5xXRWCRhcSR-bQGy8wbD-ZAeys7COnj8oBJvH48H_AyLM-cLDIainLmce6dlklsyewDJntaXhBJm5GMcKcS124IqV_ptHKd8NrlFoVEOs8t4vX_pJPq1GtxCo7QN1d2p_MmksOw~~.png

  • Avatar of razorrazor razorrazor Apr 20, 2013 at 16:46 UTC - 0 likes

    Please add text styles >> bold,magic,underline,strikethrough etc :)

    Last edited Apr 20, 2013 by razorrazor

    BFAK:90773120,4960dc8cdfa90792d3a814f0265bccb176ad3884cf3695871c26cf3cda69ecfa

  • Avatar of addemod addemod Apr 11, 2013 at 12:27 UTC - 0 likes

    @baksovic: Go

    Make a ticket, and explain.

    BFAK:adde,37121,24b0ca691d95eba04b001290b5fe624dd85a0d2581fa4b713643f045899866f8

  • Avatar of ritipinheiro ritipinheiro Apr 09, 2013 at 20:43 UTC - 1 like

    @baksovic: Go

    me too

  • Avatar of baksovic baksovic Apr 09, 2013 at 19:27 UTC - 0 likes

    [SEVERE] Could not pass event ServerListPingEvent to PersonalMOTD v2.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callServerListPingEvent(CraftEventFactory.java:357) at net.minecraft.server.v1_5_R2.PendingConnection.a(PendingConnection.java:152) at net.minecraft.server.v1_5_R2.Packet254GetInfo.handle(SourceFile:23) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:176) at net.minecraft.server.v1_5_R2.PendingConnection.c(PendingConnection.java:55) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:71) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at com.addemod.itsatacoshop.motd.PersonalMOTDListener.onServerPing(PersonalMOTDListener.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more

  • Avatar of addemod addemod Apr 09, 2013 at 05:52 UTC - 0 likes

    @Jawz_cod: Go

    I will upload it in any minute, I have been very busy but now I am back! :D

  • Avatar of Jawz_cod Jawz_cod Mar 25, 2013 at 04:07 UTC - 0 likes

    @addemod: Go

    I like addemod's version! Where can I download it.

  • Avatar of addemod addemod Mar 22, 2013 at 13:44 UTC - 0 likes

    @itsatacoshop247: Go

    Thank you, I already made my version of it and just added more features like choose how many motds (not per player) you want to use that will randomize each time someone looks. You just change the number from 1 to something, like 2 and add MOTD2: 'Bla bla'

  • Avatar of itsatacoshop247 itsatacoshop247 Mar 22, 2013 at 05:47 UTC - 0 likes

    @addemod: Go

    I PM'd chaseoes, we'll see if he replies soon and I will let you know. I can always just add you to this project and give you full perms + rewards from it, helps to keep it alive.

    See my other plugins here.

    Check out my custom CookieSlap PvP Server - CookieSlap.net

  • Avatar of addemod addemod Mar 22, 2013 at 05:41 UTC - 0 likes

    @itsatacoshop247: Go

    But.. but.. :(

Facts

Date created
Nov 06, 2012
Category
Last update
Apr 09, 2013
Development stage
Release
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
PersonalMOTD
Downloads
1,586
Recent files

Authors