Redstone Pay

Redstone Pay

With this plugin you can make a sign that players can interact with to pay for a redstone signal. The payment is taken directly from the players inventory and either transferred to a chest, or removed. It can be useful in several scenarios:
  • Buying items that pop out of a dispenser.
  • Making Minecart tracks cost items to use.
  • Making doors cost items to open
Steps: 1. Create awesome redstone machine. 2. Hook it up to a sign. 3. ??? 4. Profit! Everything you can do with redstone can make a profit from this.

Placement

The sign MUST be a wall sign.
You have to attach 1 or more levers to the same block as the sign is attached to if you want the plugin to activate redstone.
(If you don't attach a lever to the block the plugin will still charge the items!).


Syntax

The plugin is created around signs which are customizable. The syntax is as follows: Line 1: [rspay] Line 2: TypeID (optional) Line 3: Amount Line 4: chest_x chest_y chest_z (optional) Type defaults to diamonds. If amount is 0 the sign will say "FREE". Line 4 parameter are acquired by standing on the chest and using the coordinates at that point. It does not matter what part of a double chest you are standing on. A future update might improve this by using right clicking instead.

Example 1
This example creates a sign that takes 32 STONE as payment, and stores it in the chest at x: 145, y: 70, z: -123 Line 1: [rspay] Line 2: 1 Line 3: 32 Line 4: 145 70 -123

Example 2
This example creates a sign that takes 2 DIAMONDS as payment and throws away the payment (useful for server payments) Line 1: [rspay] Line 2: Line 3: 2 Line 4: When a user right clicks on the sign you've made, the plugin removes the required items from the inventory and a redstone signal is triggered.


Note: This is a partial Ballmer peak plugin, weird bugs may appear. I have yet to discover any, though.

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files