Tolls For Buttons and Levers

Features

This plugin allows a "cost" (in the form of a certain type and number of item) to be charged in order to make use of a button or lever.

Usage

When activating a button or lever, the player is checked for a configured type of item and certain number, and is charged that amount. If he doesn't have enough, then the lever or button does not activate.

Configuration

Here are the values in config.yml, and how to use them:

cost

This determines the type and amount of the item needed to activate a button or lever.

messages.(button/lever).(success/failure).enabled

These control whether or not a message is shown when the particular type of switch is thrown.

messages.(button/lever).(success/failure).text

These control the message given to the player when the message is triggered.

Permissions

There is only one permission:

tfbal.avoid

If you have this permission, then you do not have to pay the toll.

Button and Lever Protection

This plugin only deals with the activation of the button or lever. It does not protect the lever/button from breaking.

Origins

This plugin is a direct result of a plugin request at http://forums.bukkit.org/threads/request-rotten-flesh-pay.103732/


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit