RealMotd-Messages

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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

Installation

  1. Install latest version of RealMotd
  2. Download latest version of RealMotd-Messages
  3. Copy the RealMotd-Messages.jar into your plugins folder
  4. 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)

If you need more complex formatting example even with formatting and colors, go here

If you have issues or suggestions, please use tickets section

If you have feedback, please use comments section


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files