ToggleBlock

Revamp of plugin BlockDoor by Arcwolf - Original HeyO plugin by Ho0ber. Approved by Arcwolf to rebuild and post as new name and take over development.

 

The basic jest of the plugin is to allow players to define and toggle regions made out of the blocks a player places. This idea allows for all sorts of creative ideas and has nearly unlimited possibilities for a creative player. For instance, a player could build an automated and animated door to a small town. While another player could build a complex animated windmill or even just a simple trap door. Many of the ideas one can come up with using this plugin would be fantastic for Adventure servers. The creative possibilities really are truly endless.

 

Features:

  • Player created toggle-able regions made from blocks of your choosing in any shape or size
  • An admin editable item database
  • Many different ways to trigger regions: Clicking triggers, redstone, and different detection zones
  • Mapping of as many triggers and zones as you please to any number of regions you create
  • Multiworld safe

 

  • Permissions Support or Server OPs support if no permissions detected
  • MultiWorld safe
  • 7 Different types of zones now included, 3 mob only zones, 2 Player only zones and 2 entity zones
  • 3 Different types of doors. A flood fill door type, a omni-block door type and a hybrid anywhere block door.
  • Administrative Commands for console and in-game
  • Redstone triggers are available for use.
  • Two types on non-redstone triggers, Creator only trigger and any player trigger
  • External Item Database saved in binary format for speed.
  • Admin editable config file to limit zone and door sizes as well as zone, trigger, and door overlaps

 

 

Command List:

  • /ddoor [doorname] - This creates a door with the given name and starts door selection. Right click two blocks to select the door region.
  • /dtwostate <lock/unlock> [doorname] - This creates a two state door and also allows the player to lock or unlock the door for editing.

    /dhdoor [doorname] <done> - This will create a hybrid style door. Once you start creating this door any block you place is remembered and becomes a togglable block.
  • /dtrig [triggername] - This starts trigger selection. Right click to select a trigger block, which will toggle the door when right clicked.
  • /dmytrig [triggername] - This starts trigger selection. Right click to select a trigger block, which will toggle the door when right clicked.
  • /dfill [doorname] <blockid or blockname:offset> - Sets the specified door to be made of the given block.
  • /dempty [doorname] <blockid or blockname:offset> - Sets the specified door to be made of the given block.
  • /dzone [zonename] - This creates a trigger zone which toggles the door when a player enters or exits. Right click two blocks to select the zone region.
  • /dmyzone [zonename] - This creates a per-player trigger zone which only toggles for admins or the player who created it. Right click two blocks to select the zone region.
  • /dmzone [zonename] - This creates an any Mob type triggered zone which toggles the door when mobs enter or exit. Right click two blocks to select the zone region.
  • /dezone [zonename] - This creates a zone that toggles a door if any living entity (mobs or players) enter it. Right click two blocks to select the zone region.
  • /dazone [zonename] - This creates a zone that toggles a door if any aggressive mob enters it. Right click two blocks to select the zone region.
  • /dpzone [zonename] - This creates a zone that toggles a door if any passive mob enters it. Right click two blocks to select the zone region.
  • /duzone [zonename] [trigger] - This creates a zone that toggles a door if the specified trigger enters the zone. Right click two blocks to select the zone region.
  • /dtoggle [doorname] <creatorName>- Toggles the specified door. This state is also what is saved to file, and will be the state when the plugin reloads.
  • /dtoggle2 [twostatedoorname] <creatorName>- Toggles the specified two state door. Like single state doors, this will save the state the door was in to file for reloads.

    /dtoggle3 [hybriddoorname] <creatorName>- Toggles the specified hybrid door. Like the other 2 toggle commands this will save the state the door was in to file for reloads.
  • /dopen [doorname] <creatorName>- Opens the specified door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dclose [doorname] <creatorName>- Closes the specified door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dopen2 [twostatedoorname] <creatorName>- Opens the specified two state door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dclose2 [twostatedoorname] <creatorName>- Closes the specified two state door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dopen3 [hybriddoorname] <creatorName>- Opens the specified hybrid door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dclose2 [hybriddoorname] <creatorName>- Closes the specified hybrid door. This state is also what is saved to file, and will be the state when the plugin reloads.

    /dlist <all> <type> <player> <page> - Lists all doors, zones, and triggers created by you or if you are an administrator doors, zones and triggers created by you and other players.
  • /ddel [link/door/twostate/hdoor/trigger/mytrigger/zone/myzone/mzone/pzone/azone/ezone] [name] <player> <world> - Deletes specified door, trigger, or zone
    /ddel link <triggerOrZoneType:uzoneTrigger> <triggerName> <doorType> <doorName> - Deletes specified link to a door
    /ddel link <triggerOrZoneType:uzoneTrigger> <triggerName> <doorType> <doorName> <player> - Deletes specified link to a door
    /ddel link <triggerOrZoneType:uzoneTrigger> <triggerName> <doorType> <doorName> <player> <world> - Deletes specified link to a door
    (*admin permissions required to delete other players objects)
  • /dlink [redtrig/mytrigger/trigger/zone/myzone/mzone/azone/pzone/ezone/uzone] [triggername] [doorname] (trigger) [toggle/open/close] <1/2/3> - Used to connect triggers and zones to a give door (or doors)
  • /dredtrig [triggername] - Creates a Redstone trigger. The redstone power source must be right clicked on for it to be set.
    Any click other then a right click on the object during the use of the command will CANCEL the command. Once the redstone
    trigger is set it will be monitored for changes in state. From on to off and so forth.
  • /dinfo - Lists information about a clicked object or a zone the player walks into. dinfo will always display the an
    unlocked door. The unlocked door is always visible.
  • /dreload - Reloads the blockdoor database, config file and itemdatabase.

    /dcancel - Cancels any active player command - DEPRECATED but still usable. Any blockdoor command entered while another
    blockdoor command is in effect will cancel the active command

    /dsave - allows a player to force a save of a twostate door state. Click a twostate door and its currently visible state will be saved to the database.

 

 

Console commands: (must be enabled in config file)

/dlist <type> <player> <page>

/ddel [door/twostate/trigger/mytrigger/zone/myzone/mzone/pzone/azone/ezone] [name] <player> <world>

/dreload

 

 

Permissions Nodes:

###Bukkit permissions###
blockdoor.*
blockdoor.player
blockdoor.admin
blockdoor.player.*
blockdoor.admin.*
blockdoor.link
blockdoor.link.*
########################
blockdoor.door
blockdoor.player.twostate
blockdoor.admin.twostate
blockdoor.hdoor
blockdoor.trigger
blockdoor.mytrigger
blockdoor.admin.breaktriggers
blockdoor.player.breaktriggers
blockdoor.redstonetrigger
blockdoor.link.trigger
blockdoor.link.mytrigger
blockdoor.link.redtrig
blockdoor.link.zone
blockdoor.link.myzone
blockdoor.link.azone
blockdoor.link.pzone
blockdoor.link.ezone
blockdoor.link.mzone
blockdoor.link.uzone
blockdoor.admin.toggle
blockdoor.player.toggle
blockdoor.admin.toggle2
blockdoor.player.toggle2
blockdoor.player.toggle3
blockdoor.admin.toggle3
blockdoor.admin.open
blockdoor.player.open
blockdoor.admin.open2
blockdoor.player.open2
blockdoor.player.open3
blockdoor.admin.open3
blockdoor.admin.close
blockdoor.player.close
blockdoor.admin.close2
blockdoor.player.close2
blockdoor.player.close3
blockdoor.admin.close3
blockdoor.fill
blockdoor.empty
blockdoor.zone
blockdoor.myzone
blockdoor.azone
blockdoor.pzone
blockdoor.ezone
blockdoor.mzone
blockdoor.uzone
blockdoor.info
blockdoor.usetriggers
blockdoor.usezones
blockdoor.player.list
blockdoor.admin.list
blockdoor.admin.delete
blockdoor.player.delete
blockdoor.reload
blockdoor.cancel
blockdoor.admin.save
blockdoor.player.save
blockdoor.admin.myzone
blockdoor.admin.mytrigger

 

 

More detailed how-to and information coming soon!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files