ToggleBlock
Introduction
A simple plugin that allows players to register blocks and then toggle on and off (all blocks to air). Useful for dams, bridges, traps, secret areas, controlling redstone via commands and much more.
Features
- Multi-world support
- Block data support (wool colours, wood types, container positions etc)
- All regions are saved and accessible after a reload
- Regions are easily backed up
- Supports tbon and tboff commands from the console and players
- Can be used to activate redstone via a command (redstone torch in a region)
- Useful for draw-bridges, moats, traps, secret areas and more
- All regions are global and can be accessed by anyone
- Redstone activation (region on only when powered)
- Redstone can be inverted (region off when powered)
- Use /tb to list all regions
- Can be used to wirelessly activate redstone
Upcoming Features
- Fix dupe issue by protecting blocks in a ToggleBlock region
- Take user requests (comment below)
- Will be available in Polish for the 1.4 update
Current Bugs/Issues
- See above concerning duplication issue
Commands
Possible commands:
- /tb [name] - Starts/stops edit mode for a specific region of blocks
- /tbon [name] - Resets all blocks in the specific region to their original state
- /tboff [name] - Turns all blocks in the region to air.
- /tbr [name] - Links a sign (look at it) with a region to support redstone
- /tbrd - Remove linked sign that you're looking at
Source Code
This may be helpful for those wishing to learn Java or for the approval process. See http://dev.bukkit.org/server-mods/toggle-blocks/pages/code/
It doesnt show up in my console because it says "files exist, but not a plugin file"
@willkiller1234
Can you post the server log file?
When i try to load this plugin it says the file isn't a plugin file. Do you know whats wrong?
@Zankla
http://dev.bukkit.org/server-mods/toggle-blocks/files/4-toggle-block-0-4/
permissions?
is there a permission for this so others other than ops can use?
AWESOME plugin :)
@sjoerdtim
Aware of it, thanks.
When i restart/reload my server and have assigned an area to it with /tbr the area isn't assiged to the sign anymore (using v0.5)
@lol768
Fixed in v0.5
@lol768
Thanks!
@welknair
This is a bug. I'll look into it
@lol768
It keeps the text when using the /tbon command but when I power a tbr sign the text won't appear.
@welknair
@welknair Signs already should keep their text.
@mima19 If I did, it would mean changing the ToggleBlock storage system, which would make old data unusable. Perhaps in another release though
Would it be possible to set it up so signs keep their text?
Could you make it so items in a chest appear?
Lol. I was planning on doing this last summer. :P Good job:)
@mima19
Pretty sure you can already do that. Take a look at the video. It's the /tbr [region] command (look at a sign to bind it). Then you'll be able to have regions that re on when powered and off when not.
Can you make it so it doesn't require commands? (activated by redstone)
@Spitfire25565
You can always out-source it to somewhere underground by doing it wirelessly
@lol768
that is probably the most elegant and "vanilla" way to handle it however it may be somewhat cumbersome in tight spaces.
@LeChuuck
Couldn't you use a repeater?