promotional bannermobile promotional banner

RedstoneCommand

Turn on redstone simply by typing in a command
<p>The logo of RedstoneCommand</p>

The logo of RedstoneCommand

Description


Hello at all!

This is my first plugin. It's very simple but useful. It creates after creating a special sign a redstone torch at the north site off the sign. You can toggle this redstone torch by typing in a command. You can give your users special Permissions to create and/or use such a command. It isn't required (you can enable it in config.yml), but recommend.

Uses Metrics for sending completly anonomous data to http://mcstats.org for usage tracking. See mcstats.org and GitHub for more info.

Installation:

  1. Copy RedstoneCommand.jar in /plugins/
  2. Restart/reload server

Configuration:

  1. Open config.yml
  2. Change permissionsEnabled to:
    • false if you want OP-only
    • true if you want to define permissions
  3. Change signPlaceDirectionModeEnabled to false if you do not want the torch to be placed in front of the sign (automatically direction selection). As default the torch will be placed north of the sign if this value is false.

Usage:

  1. Create a sign: (Permission: RSC.create)
    1. [RSC]
    2. <command>
    3. [<delay in sec (optional)>]
    4. [<direction where the torch should be placed (optional)>]
  2. Then you can use the following commands:
    • /rsc <command>
      • Toggle the RSC
      • Permission: RSC.use.<command>
    • /rsc on <command>
      • Turn on the RSC (explicit)
      • Permission: RSC.use.<command>
    • /rsc off <command>
      • Turn off the RSC (explicit)
      • Permission: RSC.use.<command>
    • /rsc delete <command>
      • Delete the RSC from library and remove the sign and the torch
      • Permission: RSC.delete.<command>
    • /rsc list
      • List all RSCs
      • Permission: RSC.list

What is a delay?

If you define 3 sec as delay, and type /rsc <name> it will turn on for 3 sec.

Direction of the torch

At first the fourth line of the sign will be checked if there is given a direction. If there is no direction defined, it will check if automatically direction selection is turned on in the config (See Configuration). If the automatically direction selection is turned on, it will place the torch in front of the sign (where the text of the sign is). Otherwise the torch is defaulted to the north of the sign position.

Todo:

  • Add verboose mode toggle

Please consider donating using the following link:
Support my work


Source:

GitHub


Help via PM, bug fix via ticket! Comments won't be answered.


The RedstoneCommand Team

profile avatar
  • 8
    Projects
  • 147.9K
    Downloads
Donate

More from _ForgeUser7184949View all

  • ExplosiveSticks project image

    ExplosiveSticks

    • 6.5K
    • Bukkit Plugins

    Fun with explosive sticks

    • 6.5K
    • December 27, 2014
    • Bukkit Plugins
  • CommandRewriter project image

    CommandRewriter

    • 13.7K
    • Bukkit Plugins

    Assign texts to commands

    • 13.7K
    • December 27, 2014
    • Bukkit Plugins
    • +1
  • InTime project image

    InTime

    • 6.1K
    • Bukkit Plugins

    Time-based plugin enabling and disabling and time-based command executation

    • 6.1K
    • December 27, 2014
    • Bukkit Plugins
  • MultiCommand project image

    MultiCommand

    • 22.1K
    • Bukkit Plugins

    Create command lists and command shortcuts

    • 22.1K
    • December 27, 2014
    • Bukkit Plugins
  • ExplosiveSticks project image

    ExplosiveSticks

    • 6.5K
    • Bukkit Plugins

    Fun with explosive sticks

    • 6.5K
    • December 27, 2014
    • Bukkit Plugins
  • CommandRewriter project image

    CommandRewriter

    • 13.7K
    • Bukkit Plugins

    Assign texts to commands

    • 13.7K
    • December 27, 2014
    • Bukkit Plugins
    • +1
  • InTime project image

    InTime

    • 6.1K
    • Bukkit Plugins

    Time-based plugin enabling and disabling and time-based command executation

    • 6.1K
    • December 27, 2014
    • Bukkit Plugins
  • MultiCommand project image

    MultiCommand

    • 22.1K
    • Bukkit Plugins

    Create command lists and command shortcuts

    • 22.1K
    • December 27, 2014
    • Bukkit Plugins