SignDoctor

banner

SignDoctor is a sign editor similar to other plugins like SignEdit and SignEditor. It includes many useful sign manipulation commands and supports plugins that require the use of signs like Lockette or Essentials buy/sell signs. SignDoctor also supports colors.

Current version is 1.2

To get the latest releases as soon as possible download them on GitHub.

Source Code

usage Usage

In order to edit a sign with default configuration settings you must first have a feather in hand. Now right click a sign you want to edit and use one of the commands below. Colors can be achieved by using a color code.

commands Commands

Some examples can be seen here.

CommandDescription
/editSign [LineText1] [LineText2] [LineText3] [LineText4]Edit the currently selected sign. Use _ for space and \n to skip lines. These can be changed in the config.
/editSignln [Line1-4] [Optional Text...]Edit the currently selected sign's line. You can use normal spaces. Lines range from 1 to 4. If the text parameter is left blank then the line will be cleared.
/appendToSign [Line1-4] [Text...]Append text to the currently selected sign's line. You can use normal spaces. Lines range from 1 to 4.
/prependToSign [Line1-4] [Text...]Prepend text to the currently selected sign's line. You can use normal spaces. Lines range from 1 to 4.
/replaceSign [Regex] [Optional Text...]Replaces the first text occurrence which matches the regular expression on all lines.
/replaceSignAll [Regex] [Optional Text...]Replaces all text occurrences which matches the regular expression on all lines.
/replaceln [Line1-4] [Regex] [Optional Text]Replaces the first text occurrence which matches the regular expression. If the text parameter is blank then the occurrence will be replaced with a blank line.
replacelnAll [Line1-4] [Regex] [Optional Text]Replaces all text occurrences which matches the regular expression.
/switchln [Line1-4] [Line1-4]Switches two lines around.
/toggleSignEditToggle the ability to edit signs.
/toggleMultiSignEditToggle the ability to edit multiple signs.
/deactivateSignsDeactivates all signs activated by the multiple sign selector.
/clearSignClears the active sign's text.
/copySignCopies the active sign's text.
/cutSignCuts the active sign's text.
/pasteSignPastes the stored sign text to the active sign.
/clearln [Line1-4]Clears the active sign's line.
/copyln [Line1-4]Copies the active sign's line.
/cutln [Line1-4]Cuts the active sign's line.
/pasteln [Line1-4]Pastes the stored sign line to the active sign line.
/tpToSignTeleports you to the active sign.
/tpBackFromSignTeleports you back from the active sign. Must have used 'tpToSign' first.

configuration Configuration

NameDescriptionDefault
enableEditingByDefaultIf this is true then you will be able to start editing signs without using the toggle command.true
spacingStrThis is the string that simulates a space. Since you can't space in the command line it's very useful."_"
blankStrThis is the string the simulates a blank line. It's only used in the edit sign command at the moment."\n"
selectorItemThis is the item you must use in order to select a sign to edit. Look here for items. Leaving this blank or setting it to "NULL" will allow you to just right click signs with any block. You cannot yet use item ids."FEATHER"

permissions Permissions

PermissionDescription
signdoctor.signeditingEnables the player to use sign editing commands.
signdoctor.teleportingEnables the player to use the teleport commands tpToSign and tpBackFromSign.

compatibility Compatibility

SignDoctor works with Lockette so you can change names without having to place multiple signs. I have also tested SignDoctor with essentials buy/sell signs and it works allowing you to adjust prices or items without placing a new sign.

SignDoctor also works on previous versions of Bukkit. I haven't tested many other versions but if you know that SignDoctor works on a prior version then let me know so I can add it here.

developers Developers

If you are a plugin developer then SignDoctor can help you out with any of your sign editing needs. SignDoctor comes with static functions of every command and more. If you feel SignDoctor could be improved then help me out on GitHub!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    68147
  • Created
    Oct 28, 2013
  • Last Released File
    Aug 5, 2014
  • Total Downloads
    1,145
  • License

Categories

Members

Recent Files