Skip to main content

Module: command_interactive

Overview

Module

This module allows writing commands on sign blocks, which can then be executed by clicking the sign.

Color Boxes

Tip

◉ How it works?

If a player right click a sign block.

We will check if the facing texts contains the / character.

If contains, we will treat as the player issue the command.

Tip

A sign block that contains the character / is called an interactive sign block.

You can use right click to execute the commands written on the interactive sign block.

You can use shift + right click to edit an interactive sign block.

Tip

You can write some comment text before the first character /.

All 4 lines will be joined and treated as one single big line.

So be careful with the space character, and ignore the linefeed character.