RolePay Toll System Expansion

From Nexus
Revision as of 15:29, 24 May 2022 by Johnny (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

← Rolepay Money System Expansion Packs

Using Expansion Packs

In order to use any expansion pack, you must have an API key only obtained from the Web Interface from the RolePay Server.
You can also obtain an API key from the network owner or someone who has access to the Web Interface.


Making Expansion Packs

Want to learn how to make expansion packs? All expansion packs are made using the RolePay Money System API.
All you will need is basic knowledge of HTTP and LSL.


Setting Up The Toll System Expansion

These steps assume that you already have an API key.
Follow these steps to configure your device:

Note: If you close any of the textboxes during the setup, simply click the Payment Machine to make it re-appear!

  • Rez the "Toll Payment Machine" & "Toll Barrier" objects.
  • Click the Payment Machine and input your RolePay API key into the textbox when prompted.
  • Enter the toll fee you would like to charge.
  • Click the Barrier to form a connection to the Payment Machine.
  • Your Toll System should now be operational!


Using The Toll Payment Machine

To make a toll payment, simply touch the Payment Machine.
By default, all collected fees will be deposited into the Network Funds; this can be changed (view configuration below).

Configuring the Toll Payment Machine

The configuration menu can only be accessed by the owner.
To access the configuration menu, click and HOLD the Toll Payment Machine for 2+ seconds; the configuration menu will then appear and provide the following options:

  • Toggle Light Shows/Hides the stop/go light on the Toll Barrier.
  • RESET will completely reset the Toll System, requiring you to repeat the setup steps.
  • Touch Dist allows you to specify the maximum distance a user can be to interact with this system.
  • Set Price allows you to change the toll fee amount.
  • Whitelist is used to waive toll fees for users that are apart of specific groups (Max: 10 groups). A user that is apart of a whitelisted group will simply need to activate their group tag before proceeding through the Toll.
  • Fund Dest. allows you to specify where the received toll payments should be deposited to. By default, all funds are deposited into the Network Fund. If you would rather have the funds sent to a specific user instead, simply input their username into the textbox and submit. (Note: If you wish to revert back and have funds deposited to the Network Fund, simply leave the textbox blank and submit.).


Using The Toll Barrier

The Toll Barrier is used in conjunction with the Toll Payment Machine.
The barrier only works when a payment has been successfully processed.

Barrier Arm Collision Warning

Once a payment has been processed and the arm barrier opens, the user will have 10 seconds to pass.
If a user is in the path of the arm barrier while its attempting to close, an alarm will sound; if the obstacle has not been cleared after three (3) consecutive warnings, the arm barrier will automatically close.


Changelog

version: 1.1 (05/24/2022)

  • Bug Fix — Payment machine becoming stuck during payment process.
  • Bug Fix — Failing to show/hide the Barrier stop/go light.
  • Improvement — Made it easier to connect the Toll Barrier during the initial setup process.
  • Improvement — Replaced "Group Mode" with a "Whitelist" option; allows you to waive the toll fee for up to 10 groups.
  • Improvement — You can now specify the touch distance (the max distance a user can be to still use the system).

version: 1.0

  • Initial Product Release