PersonalMOTD
PersonalMOTD
A plugin that will let you show player's name in the MOTD and/or randomize public motds of your server. You can also use motd to only one player.
Version: v2.4
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.
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.
- Is the UpdateChecks annyoing? Turn them off in the config.
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, TheNameofThePlayer!
&0
&1
&2
&3
&4
&5
&6
&7
&8
&9
&a
&b
&c
&d
&e <<- Yellow (&e)
&f <<- White (&f)
&l <<- Bold
&m <<- Strike through line through the text.
&n <<- Underline
&o <<- Italic
&k <<- "Magic" text. (Random text.)
Commands:
- '/personalmotd reload' - Reload the plugin's config file
Permissions:
Permission Nodes | Description | Default |
---|---|---|
personalmotd.* | Access all permissions below. | false |
personalmotd.reload | Access to '/personalmotd reload' | false |
personalmotd.updatecheck | Display updatecheck message in chat when join if available, if it's enabled | false |
ToDo
- Suggest things!
Like the plugin? Help me keep my programming hobby alive! Please consider donating!
Below, to addemod(as he is keeping the plugin up) or itsatacoshop(that created it from the beginning).
why autor not answer back when have errors ?
pls help for my probleme under this text
pls help. I have waring messages in server console . I use spigot 1.10.2 and last PersonalMOTD 2.4.
[09:32:19] [Server thread/INFO]: [PersonalMOTD] Enabling PersonalMOTD v2.4 [09:32:19] [Server thread/INFO]: [PersonalMOTD] MySQL disabled, defaulting to .yml files. [09:32:19] [Server thread/INFO]: [PersonalMOTD] PersonalMOTD is now enabled. :) [09:32:20] [Server thread/WARN]: [Fatal Error] :1:1: Vorzeitiges Dateiende.
[09:32:20] [Server thread/WARN]: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Vorzeitiges Dateiende. [09:32:20] [Server thread/WARN]: at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) [09:32:20] [Server thread/WARN]: at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) [09:32:20] [Server thread/WARN]: at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) [09:32:20] [Server thread/WARN]: at com.addemod.itsatacoshop.motd.UpdateCheck.updateNeeded(UpdateCheck.java:37) [09:32:20] [Server thread/WARN]: at com.addemod.itsatacoshop.motd.PersonalMOTD.onEnable(PersonalMOTD.java:115) [09:32:20] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [09:32:20] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [09:32:20] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [09:32:20] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362) [09:32:20] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322) [09:32:20] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:412) [09:32:20] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:377) [09:32:20] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:332) [09:32:20] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:271) [09:32:20] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:535) [09:32:20] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source) [09:32:20] [Server thread/INFO]: [PersonalMOTD] You have the latest version of PersonalMOTD.
@HeroCC Type /n. That works. (This plugin is not required for /n to work)
I have a death messages plugin that sets MOTDs and im not sure if it will interfere.
they dont need to make that you also can enter some spaces (from your spacebar :P ;) :)) and then you also get multiple line
It seems like everyone (including me) would like either /n or %newline%, for a new line.
Is there a way to make a newline? Like %newline% or something? Thanks!
@soaringeg127
If I think you mean what you mean, then... just put the players name in the motd...? Example:
What you want?: This is (your username)'s server! What it is now: Welcome %name%!
Pls update to bukkit 1.7.8. It dont works. See errors with Spigot 1.7.8
[10:56:17] [Server thread/INFO]: [PersonalMOTD] PersonalMOTD is now enabled. :) [10:56:17] [Thread-60/WARN]: Exception in thread "Thread-60" [10:56:17] [Thread-60/WARN]: java.lang.NullPointerException: The source does not contain an image [10:56:17] [Thread-60/WARN]: at com.darkblade12.pixelator.renderer.types.MapImageRenderer$2.run(MapImageRenderer.java:52) [10:56:17] [Thread-42/WARN]: Exception in thread "Thread-42" [10:56:17] [Thread-42/WARN]: java.lang.NullPointerException: The source does not contain an image [10:56:17] [Thread-42/WARN]: at com.darkblade12.pixelator.renderer.types.MapImageRenderer$2.run(MapImageRenderer.java:52) [10:56:17] [Thread-26/WARN]: Exception in thread "Thread-26" [10:56:17] [Thread-26/WARN]: java.lang.NullPointerException: The source does not contain an image [10:56:17] [Thread-26/WARN]: at com.darkblade12.pixelator.renderer.types.MapImageRenderer$1.run(MapImageRenderer.java:24) [10:56:17] [Thread-46/WARN]: Exception in thread "Thread-46" [10:56:17] [Thread-46/WARN]: java.lang.NullPointerException: The source does not contain an image [10:56:17] [Thread-46/WARN]: at com.darkblade12.pixelator.renderer.types.MapImageRenderer$1.run(MapImageRenderer.java:24)
Can you make a one of MOTD thing? Basicly the player only see's it once and then they dont see it again good for big annoucements maybe make it so first time people dont see it also just a suggestion :P im using it sort of like this right now delete all the data and changing the first join message
How do I make a motd for 1 specific player? I do not see it in the description above.
I agree with
@John_Clarkson
I would find it extremely helpful if you could add \n to create a new line in the server list MOTD
I vote for \n!
Aside from that, this is a convenient little plugin y'all have here - exactly what I needed.
Can you add playerhead picture?
@addemod
Deleted.
Maybe you could add the ability for two lines?
@Blue_Mustache
Could you please remove the link from my page?
@addemod
Bungee is what connects multiple servers, like the Shotbow Network.
Oh, and my plugin works on any version.