YouTube Points System (Core)

Description

This is a points system for YouTube. Viewers will be able to accumulate points by chatting regularly and then redeem their points to trigger actions you create in Streamer.Bot. Updated for version 0.2.0

Be aware that there is not a way to give points to lurkers as we don’t have access to that through YouTube. Also, viewers will not get extra points for spamming chat.

Import Code

YouTubePointsSystem.sb (15.2 KB)

Installation

In Streamerbot select the Import button from the top left menu.

Drag and drop the file or copy the text from the file and paste all the text into the Import String field.

There should be 17 actions and 6 Commands.

Configuration

Present Viewers

image

This will give viewers points every MINUTE. The slider is meant to select how many minutes of inactivity to no longer consider a chatter as “active”. For example, 5 minutes means that if the Present Viewers event runs and the chatter hasn’t been active for 5 mins 12 secs, then the chatter will no longer be receiving points every minute.

To adjust the points given every minute change the %pointsPerMinute% argument in the “Action - Present Viewers Trigger” action to the number value you want.

image

First Words

In the action “Action - First Words”:

  • Update/Add any users that you don’t want triggering the “First Words” event.
    image
  • Update/Add any user IDs that you don’t want triggering the “First Words” event.
    image
  • Update the points every chatter receives for chatting the first time each stream.

image

Commands

Points Name and Command

The !setpointsname command sets the name of your loyalty points to whatever you want to call it. This is the format:

!setpointsname[space]["name"]

!setpointsname Coins

In the !setpointsname command:

  • Check the “enabled” box

  • This command is only be for you because you will need to update the command for users to check their points balance if you ever change the name.

  • Use the command during a stream to update the name to whatever you choose.
    image

In the !points command:

  • Check the “enabled” box
  • Update the command to whatever points name you are using (if desired)
  • You can also add a cooldown if you want to avoid people spamming the command

    image

Add and Set Points Commands

The !addpoints command adds points to the viewer listed. This is the format:

[command][space][username]+[# of points to add]

!addpoints Haunter+100

You can also use the @ symbol if you are on desktop

!addpoints @Haunter+100

In the !addpoints command:

  • Check the “enabled” box
  • Update the command to whatever points name you are using (if desired)
  • Update the Group Permissions to “Moderators”


image

The !setpoints command adds points to the viewer listed. This is the format:

[command][space][username]=[# of points to set]

!setpoints Haunter=100

You can also use the @ symbol if you are on desktop

!setpoints @Haunter=100

In the !setpoints command:

  • Check the “enabled” box
  • Update the command to whatever points name you are using (if desired)
  • Update the Group Permissions to “Moderators”


image

PLEASE NOTE! - Due to the fact that YouTube does not require unique usernames, there is a small chance that two viewers with the same username are in your viewer records. If this happens the bot should send a message that there are duplicate usernames. They will have to change their username or get their points added another way.

image

Shout-Out

The !so command puts a link in chat for the user who was shouted-out. This is the format:

!so [username]

!so Haunter

In the !so command:

  • Check the “enabled” box
  • Update the Group Permissions to “Moderators”


image

Points Redeem

For each points redemption command you create do the following:

  • Duplicate the action “Command - Sample Redeem Something YT (duplicate this)”

  • Rename the action to whatever you like

  • Update [this is your redeem name] in the “Set argument %redeemName%…” sub-action

  • Add sub-action/s to the action

image

  • Create a command for the new action and link the new action to the new command
  • You can add the command trigger first by righ-click > Core > Commands > Command Triggered.

image

  • You can create the command in the dialog box if needed:

image

  • It will take you to the command window for configuration

Contributors

Put together by Haunter :ghost:

Inspired by the original points system for Twitch by VRFlad

4 Likes