MOTDColor
MOTDColor, change and colorize your MOTD in client server list.
MOTDColor let you change your MOTD (Client Server List), in the same format that minecraft handle in chat.
Commands
- /motdc &4&lYour &3&lEpic &8&lMotd
- /motdcformat (Show the format codes, only ingame, dont support console.)
- /motdcreload (reload plugin without stoping the server)
- /motdcicon url (Load server icon form url)
Permissions
- motdc (Nedeed for command motdc)
- motdc.format (Nedeed for command motdcformat)
- motdc.reload (Nedeed for command motdcreload)
- motdc.icon (Needed for command motdcicon)
Installation / Updating
Install
- Just place the jar in your plugin folder
Updating
- You dont need remove your config folder, just replace the new jar in your plugin folder
Event Priority
- You can edit in the configuration file the event priority, this is useful if other plugin manage the MOTD so you can let MOTDColor take more priority
- MONITOR
- HIGHEST
- HIGH
- NORMAL
- LOW
- LOWEST
Format Codes
Format
- &k Random character(s)
- &l Bold
- &m
Strike - &n Underlined
- &o Italic
- &r Reset
Colors
- &0 Black
- &1 Dark Blue
- &2 Dark Green
- &3 Dark Aqua
- &4 Dark Red
- &5 Purple
- &6 Gold
- &7 Gray
- &8 Dark Gray
- &9 Indigo
- &a Bright Green
- &b Aqua
- &c Red
- &d Pink
- &e Yellow
- &f White
Base Server Icon Image
Note: 64x64.
Examples
- &4&lYour &3&lEpic &8&lMotd | Your Epic Motd
- &9&oYour &7&mEpic &3&nMotd | Your
EpicMotd
Changelog
v0.5
- Updated to 1.7.2-R0.1
- Auto tab completion motdc for command "motdc".
- Server Icon customization providing an url.
- Command "motdcicon" to change server icon.
v0.4
- Updated to 1.6.2-R0.1
- Set event priority from config
- Added reload command
v0.3
- Updated to 1.5.1-R0.1
- Added command to show the format codes
- Added permision for format codes command
v0.2
- Updated to 1.4.7-R1.0
- Fixed command when sender is console
v0.1
- First release
- You can use minecraft format to change your motd
Nice mod its cool. TO CHANGE ICON go to config and type in next to icon: server-icon (which should be name of your icon in server folder)
My server IP is: NetherCraftMC.now.im
Can you add support for multiline?
Is there are possible to add 2 lines in motd?
@Wombosvideo
The author has not logged in in the last 16 days, could you take up this project?
How to edit the server icon
Add THIS CLASS to your Project, Add also THIS CLASS to your Project In your Main Class add this anywhere:
In the onEnable() Part add this:
Add a "icon.png" to the "src" folder of the plugin
Done :D
Here is the thing.... you should get rid of your base icon completely its not perfected and it screws up the server icon you originally put on. After taking out your plugin to reset my server icon it still has your icon for some unknown reason. Please tell me how to delete that so I can reset back to my old icon. Thank you.
Hello .. Can you add random multimotd feature on next version ?
@stgram
Thanks you, ill fix 1 issue and optimize code.
@d33k40
There you go. Link Removed
@stgram
I want to add this feature, but i have to optimize all the system since i change a bit all.
@stgram
Can you provide me the report? so i can fix it fast and made an update.
Thanks
On rare occasions the ServerListPingEvent[NORMAL] from your plugin holds the main thread A LOT, I mean like 1.5 second spikes. EDIT: Issue confirmed, version 0.5 causes lots of main thread lag spikes, 15000ms total for a 2-minute period, while version 0.4 stays at the mere 0.337ms total. Measured via NoLagg examinations.
@d33k40
Woah, I just had a vision. How about, turning that MOTD into a newsletter? The user logs into minecraft, sees the server with a motd "MineWorldBG [Survival]. Hits refresh and the motd is now "MineWorldBG [HungerGames TODAY!] and so on, like an announcer, a dynamic motd instead of a static one.
I suppose you cant control what is sent each time to the client, so instead you could just change the MOTD every 40 ticks, I doubt it it would a CPU issue. And the motds could be added, listed and removed ingame, as well as from the config. How does it sound?
@stgram
Ill add that function in the next update :)
It would be nice to get the default icon in the folder by default or with an empty parameter. :)
@vojakCZ123
The plugin get the icon from url, if conection problem, throw an error and log the message.
MOTDColor: icon not loaded. what????
@MrSamCraft
Ill add that feature in the next update.
@zancas
/motdcicon url
@WithGuns
You will see in the client if the server didnt change it, its clientside.
You cant even change the logo being on the server it doesnt go even if you delete the plugin
It justs shows whats in the server.properties?