RolePay Parking Meter Expansion

From Nexus
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 Parking Meter Expansion

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

  • Rez out Item "RolePay Parking Meter".
  • Enter the API key into the dialog box.
  • Specify if you would like funds sent to a user by entering a user UUID. Otherwise submit blank to have funds directed to network funds.
  • Choose to charge hourly (60 minutes) or quarter-hour (15 minute) intervals.
  • Finally, enter the amount you wish to charge. Ex. By entering "2", would charge the user $2.
  • Done. Your parking meter is now set up.

If the API key you have does not exist or it has been deleted, you will get an error saying "The API key does not exist".
You will need to obtain a different API key after that.


Using The Parking Meter

To make a payment, simply touch the machine and select "PAY NOW".
If payment is successful, the time will be updated and the user will be informed of their time remaining in main chat.
If max time is exceeded, the payment will be aborted and the user will be notified.


Configuring the Parking Meter

The configuration menu can only be accessed by the owner.

The things you can access through the configuration are as follows:

  • Funds Go To allows you to have funds directed to a personal user, rather than the network funds.
    Simply input a valid user key. (To go back to default settings, simply leave the dialog box empty and submit.)
  • Max Time allows you to place a cap on the amount of time the unit can be paid for. (Examples of valid entries: "20 min" or "1 hour")
  • Use Meter allows you to use the meter as a standard user.
  • RESET resets the Parking Meter completely.