RealMotd-Messages
This is a plugin that brings the power of RealMotd into join, first join & quit message. All of these messages are displayed to all players on the server. It has huge amount of variables and other stuff.
Features
- Tons of variables
- Multi-line join & quit messages
- Full Minecraft formatting support (colors, bold, itallics, underline, secret)
Variables
This plugin uses variables from RealMotd, which is on the right panel in Required dependency. This list will not be updated anymore. Updated list is on RealMotd's page.
- %player% - Name of player who has joined
- %world% - Name of world player has joined to
- %time% - Time in player's world.(0-24000)
- %weather% - Weather in world (rain or clear)
- %ip% - Player's IP
- %playerlist% - Online players
- %d% - Day of month in real life
- %mo% - Month
- %yr% - Year
- %h% - Hour
- %mi% - Minute
- %s% - Second
- %exp% - Experience
- %lev% - Level
- %totalexp% - Total experience
- %food% - Player's food level
- %x% - Player's X coordinate
- %y% - Player's Y coordinate
- %z% - Player's Z coordinate
- %op% - Whether the player is an OP
- %mode% - Game mode of the player
- ^example.example - Checks whether the player has permission example.example . The character ^ can be changed to something else.
- /n - New line in MOTD.
- %whitelist% - Whitelisted players
- %banlist% - Banned players
- %timestat% - Status of time (day | night)
- %allowednether% - Whether there is a nether enabled on this server (true | false)
- %allowflight% - Whether there is flight allowed (true | false)
- %serverip% - IP address of the server
- %serverport% - Port the server is listening on
- %serverid% - ID of the server (random number used for authentification)
- %env% - Environment type of the world where player is
- %nplayersonline% - Online players count
- %nmaxplayers% - Maximal count of players on the server
- %ptime% - Player's time (may be different from world's time)
- %ptimestat% - Same as timestat, but with player's time
- %worlds% - Worlds which this server is currently running
- %plugins% - Plugins running on this server
- %day% - Minecraft day
Dependencies
- RealMotd 0.7 or higher -> http:dev.bukkit.org/server-mods/realmotd/
Installation
- Install latest version of RealMotd
- Download latest version of RealMotd-Messages
- Copy the RealMotd-Messages.jar into your plugins folder
- Done!
Configuration
Configuration is generated on first plugin's run at plugins/RealMotd-Messages/config.yml It's really simple and only contains 3 nodes:
- join - Whether to handle join message
- quit - Whether to handle quit/leave message
- first-join - Whether to handle first join message
Setting the messages
Files with messages are TXTs and they're located in same folder as configuration.
- join.txt - Contains join message
- quit.txt - Leave/quit message
- firstjoin.txt - First join message
Colors
To use colors in your messages, you just enter '&' with a name of color you'd like to use for following text. You can change color again by doing new line, or entering next color's name.
Available colors
- black
- dark_blue
- dark_green
- dark_aqua
- dark_red
- dark_purple
- gold
- gray
- dark_gray
- blue
- green
- aqua
- red
- light_purple
- yellow
- white
Adding colors
Adding colors is very simple. You just write down the name of color you want to use before the text you want to be colored, like in the example: &aquaSome text! &blackThis message is poorly visible! &whiteHello there!
Formatting
You can use itallics, underline, bold,strike and random/secret text.
Adding Formatting
It's as simple as adding colors, but if you want both formatted and colorized text, remember to put formatting mark after the color mark. Here are available names: &bo, &no,&it, &un, &ran, &str. &bo = bold &ran = write a random string (used in one of the splashes) &str = strike &it = itallics &un = underline &no = remove formatting(except colors)
I would actually like a command for that too. So if you could add it that would be really great :)
@vastrix
I'm Sorry for extremely delayed answer :)
I could add this command, but I'm preparing daily/random/single modes for each of these messages, so it'd be really difficult to get it right. And also, I think it's really annoying to type the whole MOTD on one line in chat and also the chat limitations... I don't think having command for that is a good idea :/
It would be awesome if you could set it in-game like /motdjoin <motd> :)
I'd like to ask all of you: Do you want day-specific join/leave messages or any other features in this addon? What should I add into this plugin? :)
@TheCobra54
I'm going to add another variable that holds playername, so stay tuned :D
I love the %player% variable ;)
Hello to everyone! I'm sorry I didn't read your comments since now, but I completely forgot to subscribe to Comments on this project :D Anyways, here I am reading your comments and thank you for great feedback. I'm seeing an awesome fanbase over here ;) Download link is already available to everyone by now.
I need it :D
I need it :D
Where is the download??? Can't find it >.<
Oh, stupid me, downloading when it is downloadable! :P
Looks completely great! Downloading now!