BlockReplacer
BlockReplacer - Change blocks with redstone
- 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:
Line0: [brs] # 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
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
Permissions
permissions: blockreplacer.*: default: op description: Gives access to all functions children: blockreplacer.create: true blockreplacer.use: true blockreplacer.create: default: op description: Can create a replacer sign. blockreplacer.use: default: op description: Can use a replacer sign by right-click
Parts of code based code from SimpleCommandSigns (http://gitorious.org/simplecommandsigns/), tutorials, community forums etc.
All code is under the GPLv3 license.
Disclaimer: USE AT OWN RISK
Comments