Message

Action to display text on the player's screen. This can be either a regular chat message to the player or an action bar & title with subtitle

Structure

ParamDescriptionDefault valueValue type
messagesList of messages displaying in the chat. That's how it looks inString
titleTitle messageString
subTitleSubtitle messageString
actionbarActionbar messageString
fadeInTitle fade in period in ticks (1 second = 20 ticks)10 (in ticks)Integer
fadeOutTitle fade out period in ticks10 (in ticks)Integer
stayDelay period before fade out starts in ticks30 (in ticks)Integer

fadeIn, fadeOut, stay parameters only affect the following actionBar, title or subTitle parameters

Examples

Example json format:
{messages:["Message 1", "Message 2"]}

For example, if u want to display something in actionbar, you should type:
/ee action add <egg_id> message {actionbar:"Hello, world!"}
or
/ee action add <egg_id> message {messages=["&eFirst", "&cSecond"]}

Example config

title = "Eggs Category"
hidePlayerData = false
category = "category2"

"0" {
  location = "world, 0.0, 1.0, 0.0"
  type = "BLOCK"
  id = 0
  actions {
    message {
      messages: [
        "Hello world!",
        "..."
      ]
      title = "Title text"
      subTitle = "subtitle text"
      actionBar = "Actionbar text"
      fadeIn = 10
      stay = 40
      fadeOut = 10
    }
  }
}