BlockMessages
This plugin gives you the opportunity, to send any player any message, when they click pre-defined blocks.
Features:
Commands:
<>: Necessary Parameter
Permissions:
Configuration (config.yml):
Messages (messages.yml):
Blockmessages (blocks.yml):
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.
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):
/blockmessage -> Shows subcommands syntax
/blockmessage add <X> <Y> <Z> <Message> -> Adds a new message
/blockmessage remove <X> <Y> <Z> -> Removes existing message
/blockmessage add <X> <Y> <Z> <Message> -> Adds a new message
/blockmessage remove <X> <Y> <Z> -> Removes existing message
Code (Permissions):
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
blockmessage.add -> /blockmessage add subcommand
blockmessage.remove -> /blockmessage remove subcommand
if permission-check: true in config
blockmessage.receive -> Recieve messages from defined blocks
Code (YAML):
# Define, if 'blockmessages.receive' is needed to receive messages:
#
# --------------------------------
permission-check : false
#
# --------------------------------
permission-check : false
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.'
#
# --------------------------------
# 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.'
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" }'
#
# --------------------------------
# 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)
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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.8
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Block Messages is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 732 times (via Spigot). Download it and open it directly in the game.