MachinaRedstoneBridge

MachinaRedstoneBridge

This small plugin allows a redstone signal to activate a machina's lever. It is mainly intended for use with MachinaFactory's item relays, but can be used with any machina's lever.

Materials:

  • 1 Redstone Repeater
  • 1 Brick Block

Put the redstone repeater on top of a brick block, pointing at the lever of a machina:

An Item Relay that can be activated by a repeater

Always-on Item Relay

It is possible to make an item relay stay on forever using this redstone setup:

Item Relay always-on

Note on WorldGuard

Some machina that have an inventory or that break/place blocks will not be able to work unless the fake player can bypass area protection. For WorldGuard, the appropriate permission is:

worldguard.region.bypass.<world> (gives users with this permission the ability to bypass region protection)

Since this is a full bypass, any player who builds an allowed machina can activate one with redstone. Therefore it is recommended that only the "world-safe" machina plugins such as the factory or planter be allowed with MachinaRedstoneBridge.

Caveats

Because it's not possible to determine the player who activated the machina, this plugin creates a fake player to be its owner.

This fake player is named: Redstone-Bridge

The fake player will only have the permissions that are defined in the plugin's config.yml. This may need to include permissions to access inventories, break blocks and place blocks if world or inventory protection plugins are used.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes