Spigot Block Messages 2.1

Sends custom messages (chat, hotbar, title, subtitle, JSON) to players, when they click blocks.

  1. Michel_0 submitted a new resource:

    Block Messages - Send custom messages to players, by clicking Blocks.

    Read more about this resource...
     
  2. I know how to use colors but when I use '§'

    [​IMG]
     
  3. Depending on what character set your Java Machine is running on and depending on what coding you save the config.yml, you could get such a result because of mismatching character sets.
    I'm using Character set 1252 everywhere then it works.
    But now you can use '&', so you should be on the safe side.
     
    #5 Michel_0, Sep 22, 2015
    Last edited: Sep 22, 2015
  4. Michel_0 updated Block Messages with a new update entry:

    Prefix and Permission

    Read the rest of this update entry...
     
  5. Michel_0 updated Block Messages with a new update entry:

    Ingame Commands

    Read the rest of this update entry...
     
  6. Michel_0 updated Block Messages with a new update entry:

    JSON Supported Messages

    Read the rest of this update entry...
     
  7. The new Blockmessages v2.0 implements my own and very powerful chat API.

    All plugin chat messages defined in the messages.yml and all block messages from blocks.yml can be defined as:
    • Normal, regular chat message
      No keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      '&eAny &6text &ehere.'
    • Normal, JSON chat message
      "JSON:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'JSON:{text:"Any ",color:"yellow",extra:[{text:"text ",color:"gold"},{text:"here.",color:"yellow"}]}'
    • Hotbar, regular chat message
      "HOTBAR:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'HOTBAR:&eAny &6text &ehere.'
    • Hotbar, JSON chat message
      "HOTBAR:JSON:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'HOTBAR:JSON:{text:"Any ",color:"yellow",extra:[{text:"text ",color:"gold"},{text:"here.",color:"yellow"}]}'
    • Title, regular chat message
      "TITLE:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:&eAny &6text &ehere.'
    • Title, JSON chat message
      "TITLE:JSON:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:JSON:{text:"Any ",color:"yellow",extra:[{text:"text ",color:"gold"},{text:"here.",color:"yellow"}]}'
    • Subtitle, regular chat message
      "SUBTITLE:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'SUBTITLE:&eAny &6text &ehere.'
    • Subtitle, JSON chat message
      "SUBTITLE:JSON:" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'SUBTITLE:JSON:{text:"Any ",color:"yellow",extra:[{text:"text ",color:"gold"},{text:"here.",color:"yellow"}]}'
    • Title, regular chat message + Subtitle, regular chat message
      "TITLE:<message>SUBTITLE:<message>" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:&eAnySUBTITLE:&6text &ehere.'
    • Title, JSON message + Subtitle, regular message
      "TITLE:JSON:<message>SUBTITLE:<message>" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:JSON:{text:"Any",color:"yellow"}SUBTITLE:&6text &ehere.'
    • Title, regular chat message + Subtitle, JSON chat message:
      "TITLE:<message>SUBTITLE:JSON:<message>" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:&eAnySUBTITLE:JSON:{text:"text ",color:"gold",extra:[{text:"here.",color:"yellow"}]}'
    • Title + Subtitle, JSON chat message
      "TITLE:JSON:<message>SUBTITLE:JSON:<message>" keyword, '&' color code supported.
      Example:
      Code (message (Unknown Language)):
      'TITLE:JSON:{text:"Any",color:"yellow"}SUBTITLE:JSON:{text:"text ",color:"gold",extra:[{text:"here.",color:"yellow"}]}'
    All chat messages do support '&' character as color code character (don't use '§').

    It makes no difference, if you define the messages in the YAML file directly or if you define it from ingame.
     
    #10 Michel_0, Apr 2, 2016
    Last edited: Apr 2, 2016
  8. Michel_0 updated Block Messages with a new update entry:

    The rich chat update

    Read the rest of this update entry...