KajWithAJ
Make players pay toll to press a button using their RP points

Supported Games
GameServerKingsGameServerKings
works with

Features

  • Allow players to set a toll on pressing a button

This plugin can be used on roleplay servers to let players pay an entry fee (for example) to certain buildings.

Charged toll example

Chat commands

  • /toll - Shows the toll that is set at a button (can be used by anyone)
  • /toll <amount> - Configures a toll on a button (tollbuttons.use permission is required)

Permissions

  • tollbuttons.use - This permission grants users to configure a toll on their buttons
  • tollbuttons.admin - This permissions grants users to configure a toll on anyone's buttons
  • tollbuttons.exclude - This permission excludes a user from paying a toll (can press buttons for free)

Configuration

{
  "MaximumPrice": 0,
  "TransferTollToOwner": false
  "Valuta": "serverrewards"
}
  • MaximumPrice - The maximum price that players can set on a button - set to 0 to disable
  • TransferTollToOwner - When set to true, any paid toll will be transferred to the owner of the button
  • Valuta - Set to either serverrewards or economics
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.