Table of Contents

Venue Kit: Tipjar

The Venue Kit Tipjar script can be placed in nearly any object from a simple prim to a large linkset and make it a clickable/payable tipjar. Only 1 script is needed even to have two tipjars on either side of a stage, for example. In this case, the two tipjars must be a single linkset but may otherwise look like separate objects.

The script is configured with a CONFIG notecard that controls the default tip buttons amounts, who may login to the tipjar, and who other than the owner has administrative access. It also allows some customization of the visible messages, both the hover text and the messages sent to users.

README

Tipjar Usage

Logging In

Anyone who is a) the owner, or b) listed in an allow line in the CONFIG notecard, or c) has the same active group as the tipjar may click on it to log in. the hover text will change to display the logged in user. The group requirements may be changed with the group_login setting in the CONFIG notecard, see below.

The logged-in user can click on the tipjar to get a menu to display the received tips, display the total amount received, or log out and display the received tips.

Logging Out

The logged-in user can click on the tipjar to get a menu to display the tippers, display the total amount received, or log out. The list of tippers is also displayed on logout so that does not need to be clicked separately.

The list of tippers is displayed in the Nearby Chat window but only for the logged-in user. The names of the tippers may be clicked on in Nearby Chat to open an IM with them for a thank you if desired.

The tipjar owner or anyone listed in an admin line in the CONFIG notecard are able to long-click (hold a click on the tipjar for 2 or more seconds) and see the same performer menu. This allows an admin to log out the tipjar in case a performer crashes or is unable to complete the logout. The user doing the logout will get the list of tippers in their Nearby Chat window in addition to the logged-in performer if they are online at that time.

Tips are paid to the logged-in user as they are received so in the event the user crashes or is unable to log out no funds transfers are left outstanding. The owner or other admin should use the long-click described above to log out the tipjar.

Tipjar Setup

[Note: Once the tipjar script is placed into the object every change will cause it to reset and prompt the owner to Accept the Debit permission before continuing to initialize. Either putting the script in the object near the end or setting the script to not running will stop these popups while setting up the tipjar.]

Physical Setup

The tipjar may be as simple as a single prim, or it may be a linkset that appears to be a single or multiple objects. The hover text position may be somewhat controlled in that you get to select which link (or links) is used to display it.

Example: For a snowman tipjar consisting of 3 snowball prim stacked on top of each other, to make the hover text show above its head (the top snowball) the Description field of the top prim should contain hover. It does not matter for the hovertext which prim is the root link.

Example: To put a snowman tipjar on both sides of the stage the snowman prims should be in a single linkset and the top prim of both would contain hover in their Description field. Again it does not matter which prim is the root link. Either snowman can be clicked on to login, logout or to give a tip.

Script Configuration

CONFIG example

The default configuration is likely to need only a few minor changes for most uses, typically the group setting, administrators and communications channel should be confirmed are set as required.

The allow and admin lines use user logins or key/UUID. Do not use Display Names here.

The messages allow certain formatting to be used:

Remote Commands

The tipjar responds to the following commands sent over the configured chat channel (channel in the CONFIG notecard).

Splitting Tips

The tipjar can be configured to split tips among multiple users at specific or equal percentages. Add as many split lines in the CONFIG notecard to set the users and percentages. If the percentage is left off, the remainder of the tip amount after subtracting the specified percentages will be split evenly among those without percentages.

For example, with the following settings Rebozuelo with get 10%, Pivius will get 5% and the logged-in user will get the remaining 85%.

  split=rebozuelo,10
  split=privius,5

Source

The tipjar script has evolved from an original script found in the Second Life wiki by Kira Komarov.

The Venue Kit version of the tipjar script may be found online at https://gitlab.com/tomjs/venue-kit. It is licensed as GPLv3 or later, like the original wiki script, which requires anyone who redistributes it to make any changes they may have made available to the recipient under the same terms they received the original source.