-
Notifications
You must be signed in to change notification settings - Fork 83
Message blocks
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.
As usual, we'll start with /help MB
.
If you want to stop creating an MB, you can use /abort
.
Start the message with a slash like normal. For example, /mb water /goto freebuild
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.
There are a few ways to delete MBs.
- Place a regular block inside of it, then remove that block.
- 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.
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.
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.
As mentioned previously, not all blocks can be used as MBs.
To change this, we will need to use /blockprops
(or /os blockprops
).
/blockprops level [block] messageblock
/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.