Skip to content
Goodlyay edited this page Sep 12, 2023 · 2 revisions

Message blocks are blocks that send a message to a player or make them run one or more commands. I will be referring to them as "MB" throughout this page.

By default, only a limited set of blocks can be used as MBs. These are listed in /help mb and I will be referring to them as "MB-capable" blocks.

MBs are triggered when you click (break) the block or if you walk through it (assuming it is non-solid).

If you walk through more than one MB that has the same text, it will not trigger again until you trigger an MB that has different text.

Creating MBs

As usual, we'll start with /help MB.

image

If you want to stop creating an MB, you can use /abort.

To make the MB run a command

Start the message with a slash like normal. For example, /mb water /goto freebuild

To make the MB run multiple commands

Use a space and the pipe character | to separate them.

For example, /mb water /goto freebuild |/delay 2000 |/view fbrules

The default font has a split in the pipe character that makes it look similar to colon :, so be careful not to confuse them.

Deleting MBs

There are a few ways to delete MBs.

If the MB is air or liquid:

  • Place a regular block inside of it, then remove that block.

If the MB is solid

  • Activate delete mode by using /delete. This will allow you to delete blocks such as portals, MBs, and doors instead of triggering them.

Any building command such as /z air can also be used to erase MBs, assuming the block you are using to erase them is not also a MB-capable block.

Showing and hiding MBs

Using /MB show, we can see all the MBs in the level. This is useful because MBs can be made of air which normally renders them invisible.

To hide the MBs, use /MB show again.

Why is my MB is still appearing in /MB show after I've deleted it?

Although removing an MB will make it lose its ability to be triggered, the MB's data is not actually erased right away. This is useful because if you accidentally erase an MB, you can use /undo or place another MB-capable block where it was to restore its functionality. The MB data will only be truly erased if the level unloads and there is no longer an MB-capable block at its position.

Changing what blocks can be used as MBs

As mentioned previously, not all blocks can be used as MBs.

To change this, we will need to use /blockprops (or /os blockprops).

Making a block MB-capable in the level you're in

  • /blockprops level [block] messageblock

Making a block MB-capable across all levels

  • /blockprops global [block] messageblock

For /os blockprops, only the level you're in can be changed and the level/global argument is not included.

For example, /os blockprops mysign messageblock

These commands act as toggles. You can make the block stop working as an MB if you use the command again.

Be aware that this may cause you to permanently lose MB data if you remove the MB property from a block that is currently being used for MBs in levels.

Clone this wiki locally