Block Messages 2.1

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

  1. Michel_0
    Tested Minecraft Versions:
    • 1.8
    BlockMessages

    This plugin gives you the opportunity, to send any player any message, when they click pre-defined blocks.

    Features:
    • Define any block you want
    • Define any message for this block
    • Messages even on different worlds
    • Optional enable the permission 'blockmessages.receive' for players who click the block to recieve the message
    • Use ingame commands to add new messages or remove old ones (secured by permissions, of course)
    • This plugin implements many, powerful chat options:
      • Normal chat messages, regular and JSON
      • Hotbar chat messages, regular and JSON
      • Title chat messages, regular and JSON
      • Subtitle chat messages, regular and JSON
      • Title + Subtitle chat messages, regular and JSON
      • All messages support '&' as color code character
      • See the Chat Reference

    Commands:
    <>: Necessary Parameter
    Code (commands (Unknown Language)):
    /blockmessage -> Shows subcommands syntax
    /blockmessage add <X> <Y> <Z> <Message> -> Adds a new message
    /blockmessage remove <X> <Y> <Z> -> Removes existing message
    Permissions:
    Code (permissions (Unknown Language)):
    blockmessage.use -> use any blockmessage commands
    blockmessage.add -> /blockmessage add subcommand
    blockmessage.remove -> /blockmessage remove subcommand

    if permission-check: true in config
    blockmessage.receive -> Recieve messages from defined blocks
    Configuration (config.yml):
    Code (YAML):
    # Define, if 'blockmessages.receive' is needed to receive messages:
    #
    # --------------------------------
    permission-check
    : false
    Messages (messages.yml):
    Code (YAML):
    # Define the ingame messages
    #
    # --------------------------------
    # As regular message or JSON
    # As Chat, Hotbar, Title, Subtitle texts
    # See here: https://www.spigotmc.org/threads/block-messages.93488/#post-1449838
    #
    # --------------------------------
    messages
    :
      'add-succeed'
    : '[&7&oBlock&8&oMessage&r]&o Added new blockmessage!'
      'add-syntax'
    : '[&7&oBlock&8&oMessage&r]&o Syntax: /blockmessage add <X> <Y> <Z> <Message>'
      'remove-succeed'
    : '[&7&oBlock&8&oMessage&r]&o Removed blockmessage.'
      'remove-syntax'
    : '[&7&oBlock&8&oMessage&r]&o Syntax: /blockmessage remove <X> <Y> <Z>'
      'no-msg'
    : '[&7&oBlock&8&oMessage&r]&o Could not find specified message.'
      'no-perm'
    : '[&7&oBlock&8&oMessage&r]&o You are not permitted to do this!'
      'syntax'
    : '[&7&oBlock&8&oMessage&r]&o Syntax: /blockmessage <add|remove> <...>'
      'no-player'
    : '[&7&oBlock&8&oMessage&r]&o Only players can use this command.'
      'file-error'
    : '[&7&oBlock&8&oMessage&r]&o File can not be saved.'
    Blockmessages (blocks.yml):
    Code (YAML):
    # Define the blockmessages:
    #
    # --------------------------------
    # Syntax: Location: String
    # Syntax: 'world_X_Y_Z': 'Message'
    #
    # --------------------------------
    # As regular message or JSON
    # As Chat, Hotbar, Title, Subtitle texts
    # See here: https://www.spigotmc.org/threads/block-messages.93488/#post-1449838
    #
    # --------------------------------
    # I defined 4 example messages for you. Delete them, if you defined your own.
    #
    # --------------------------------
    blocks
    :
      'world_2_64_0'
    : 'HOTBAR:JSON:{text:"&9hotbar &atext &9needed?"}'
      'world_1_64_0'
    : '&e&oA simple message'
      'world_0_64_0'
    : 'JSON:{text:"",extra:[{text:"["},{text:"Block",color:"gray",italic:"true",hoverEvent:{action:"show_text",value:"&e&oby &6&l&nMichel_0"}},{text:"Message",color:"dark_gray",italic:"true",hoverEvent:{action:"show_text",value:"&e&oby &6&l&nMichel_0"}},{text:"]"},{text:" -> ",italic:"true"},{text:"Website",color:"blue",clickEvent:{action:"open_url",value:"https://www.spigotmc.org/resources/block-messages.12511/"},hoverEvent:{action:"show_text",value:"&a&oPage will be opened in external Webbrowser!"}}]}'
      'world_-1_64_0'
    : 'TITLE:&aAnother &6messageSUBTITLE:JSON:{text:"some text",color:"red"}'
    • No external APIs used (only Spigot and my own)!
    • No other plugins necessary
    • Detailed tested on Spigot 1.8.8 without any problems
    • Should be compatible to all 1.8.X
    • Compiled by Java 8 SDK, your Server should be running on Java 8 JRE to use this plugin
    • This plugin uses metrics by MC Stats (http://mcstats.org/plugin/Block_Messages)
    Need additional Features or got some interesting ideas?
    Leave a reply and i'll add this or other functions if requested.

    Special thanks to @UltraNet, who gave me the idea of this plugin (Here).

    Replys and ratings and suggestions welcome.
    [​IMG]

Recent Updates

  1. The rich chat update
  2. JSON Supported Messages
  3. Ingame Commands

Recent Reviews

  1. UltraNet
    UltraNet
    5/5,
    Version: 1.6
    After the first update the author listened to my comment and has now made this amazing plugin! Thank you for taking my idea and turning it into a plugin <3 Amazing guy and amazing plugin!
    1. Michel_0
      Author's Response
      You're welcome.
  2. UltraNet
    UltraNet
    3/5,
    Version: 1.3
    Good plugin and does what I want, But the only bad thing I can say about it. Is that colors dont work in the messages
    1. Michel_0
      Author's Response
      Color works with ยง and matching character sets of your config.yml and Java Machine.
      Anyway added & as color sign by v. 1.4.
      So now use the '&' character to be safe using colors.