[MECH] BlockReplacer - Change blocks with redstone [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by estyx, Dec 31, 2011.

  1. Offline

    estyx

    http://dev.bukkit.org/server-mods/blockreplacer/

    Features
    • Switch between two block id's by using a sign
    • Signs can be toggled either with redstone power or by right-clicking (optional)
    • Define vertical distance and number of blocks
    • Supports Permissions/OP (a bit untested yet, but should work)

    If you have used OneBlock earlier and dont want to set it all up again? Don't despair.Set the signIdentifier in config.yml to '[OneBlock]' and you're good to go.

    Sign usage
    Code:
    Line0: [br]  # identifier (customizable)
    Line1: 2;4   # vertical distance;length (optional)
    Line2: 35:3  # block id when sign is activated:block damage (optional)
    Line3: 35:8  # block id when sign is deactivated:block damage (optional)
    

    Config
    Code:
    
    config:
      # Identifier used by plugin in first line of a sign
      signIdentifier: '[br]'
    
      # Same as signIdentifier, but used for preset functions (TODO/NOT IN USE)
      presetIdentifier: '[brpreset]'
    
      #Whether to enable preset functions or not (TODO/NOT IN USE)
      enablePresets: false
    
      # Whether a sign activates when a player right-clicks
      # on a BlockReplacer sign or not
      enablePlayerClick: true
    

    Download

    You can find the latest files at the Bukkit dev page:
    http://dev.bukkit.org/server-mods/blockreplacer/

    Or you can download the latest build from GitHub:
    https://github.com/estyx/BlockReplacer/blob/master/bin/BlockReplacer.jar
     
  2. I didn't really understand the features of this plugin until I actually tested it, so I think you should fix up your documentation.

    You should mention this:
    The sign only changes blocks above it.
    In your sign usage, the description of Line 1 doesn't make sense.

    Line 2;4 #vertical distance;length (optional)?
    From testing, the vertical distance is which block the change starts to occur. If I set this to 2, the change will start on the second block above the sign. Vertical length is how long in terms of blocks you want your block change to happen. The (optional) part... does that mean I can leave it out from the sign? When I did, it caught a NumberFormatException.
     

Share This Page