Skip to main content

Module: sign_editor

Overview

Module

This module provides a sign editor to edit the texts on a sign block.

Color Boxes

Example

◉ Modify the states.

  • Flip the value: /sign-edit glowing

  • Set the value: /sign-edit glowing --value true

◉ Set the text of the specified line.

  • /sign-edit set-line 1 <blue>Hello World

◉ Set the texts of all lines.

  • /sign-edit set-all First Line\nSecond Line

◉ Mirror the text from one side to another side.

  • /sign-edit mirror

◉ Set the text with a click event to execute commands.

  • /sign-edit set-line 1 <click run_command 'say Hello'>Click Me</click>

Commands

Command
  • Command Syntax: /sign-edit glowing [Boolean value] [Boolean frontSide] [Boolean bothSides]

  • Document: Modify the glowing state of the sign block.

  • Can be executed by console: false

  • Required Level Permission: 4

Command
  • Command Syntax: /sign-edit locking [Boolean value]

  • Document: Modify the locking state of the sign block.

  • Can be executed by console: false

  • Required Level Permission: 4

Command
  • Command Syntax: /sign-edit mirror

  • Document: Mirror the looking side to another side.

  • Can be executed by console: false

  • Required Level Permission: 4

Command
  • Command Syntax: /sign-edit set-all [Boolean frontSide] [Boolean bothSides] <GreedyString text>

  • Document: Set the texts of all lines of the sign block.

  • Can be executed by console: false

  • Required Level Permission: 4

Command
  • Command Syntax: /sign-edit set-color <DyeColor color> [Boolean frontSide] [Boolean bothSides]

  • Document: Set the color of the sign block.

  • Can be executed by console: false

  • Required Level Permission: 4

Command
  • Command Syntax: /sign-edit set-line <SignLine line> [Boolean frontSide] [Boolean bothSides] <GreedyString text>

  • Document: Set the text of the specified line of the sign block.

  • Can be executed by console: false

  • Required Level Permission: 4

Argument Types

Argument Type
  • Argument Type Name: [sign-line]
  • Argument Type Class: [SignLine]