Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Get Points Definition
description: Fetch the current points definition for a specific point
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to fetch
- name: Destination Variable
type: string
description: The variable to store the fetched points definition
csharpMethods:
- GetPointDefinition
- GetPointDefinitions
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Reset Points Definition
description: Reset the points definition for a specific point
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to reset
csharpMethods:
- ResetPointDefinition
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Award Points to All
description: Award points to all users
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to award points for
- name: Amount
type: number
required: true
default: 0
description: The amount of points to award to all users (supports variables)
- name: Platform
type: string
description: The platform to award points for (leave blank for all platforms)
- name: Only Award to Active Users
type: checkbox
description: If checked, it will only award points to active users
- name: Apply User/Group Multipliers
type: checkbox
description: If checked, it will apply any user/group multipliers to the awarded points
csharpMethods:
- AwardPointsToAll
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Award Points to Group
description: Award points to all users in the specified group
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to award points for
- name: Group
type: Select
required: true
default: None
description: Choose the group you want to award points to (supports variables)
- name: Amount
type: number
required: true
default: 0
description: The amount of points to award to all users (supports variables)
- name: Apply User/Group Multipliers
type: checkbox
description: If checked, it will apply any user/group multipliers to the awarded points
csharpMethods:
- AwardPointsToGroup
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Get Group Multiplier
description: Fetch the multiplier for a specific group
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to fetch the group multiplier for
- name: Group
type: Select
required: true
default: None
description: Choose the group you want to fetch the multiplier for (supports variables)
- name: Destination Variable
type: string
description: The variable to store the fetched group multiplier
csharpMethods:
- GetGroupMultiplier
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Remove Group Multiplier
description: Remove the multiplier for a specific group
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to remove the group multiplier for
- name: Group
type: Select
required: true
default: None
description: Choose the group you want to remove the multiplier for
csharpMethods:
- RemoveGroupMultiplier
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Set Group Multiplier
description: Set the multiplier for a specific group
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to set the group multiplier for
- name: Group
type: Select
required: true
default: None
description: Choose the group you want to set the multiplier for (supports variables)
- name: Multiplier
type: number
required: true
default: 1.0
description: The multiplier for the selected group (supports variables)
csharpMethods:
- SetGroupMultiplier
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Get Points Leaderboard
description: Fetch the points leaderboard for a specific point definition
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to fetch the leaderboard for
- name: Count
type: number
required: true
default: None
description: The number of top users to fetch
- name: Offset
type: number
required: true
default: 0
description: The starting point for fetching the leaderboard (0-indexed, supports variables)
csharpMethods:
- GetLeaderboard
---
36 changes: 36 additions & 0 deletions streamerbot/3.api/1.sub-actions/core/points/users/award-points.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Award Points
description: Award points to a specific user
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to award points for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to award points to (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to award points to (supports variables)
- name: Amount
type: number
required: true
default: 0
description: The amount of points to award to all users (supports variables)
- name: Apply User/Group Multipliers
type: checkbox
description: If checked, it will apply any user/group multipliers to the awarded points
- name: Destination Variable
type: String
required: false
default: userPoints
description: The argument variable name to store the users points after awarding (supports variables)
csharpMethods:
- AddPoints
---
37 changes: 37 additions & 0 deletions streamerbot/3.api/1.sub-actions/core/points/users/check-points.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Check Points
description: Check the points of a specific user
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to check points for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to check points for (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to check points for (supports variables)
- name: Required Amount
type: number
required: true
default: 0
description: The minimum amount of points to check for (supports variables)
- name: Break Action of Failure
type: checkbox
default: true
description: If checked, it will break the action chain if the point check fails
- name: Destination Variable
type: String
required: false
default: userPoints
description: The argument variable name to store the users points after awarding (supports variables)
csharpMethods:
- GetPoints
---
23 changes: 23 additions & 0 deletions streamerbot/3.api/1.sub-actions/core/points/users/delete-points.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Delete Points
description: Deletes all points from a specific user
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to delete points for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to delete points from (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to delete points from (supports variables)
csharpMethods:
- RemovePoints
---
28 changes: 28 additions & 0 deletions streamerbot/3.api/1.sub-actions/core/points/users/get-points.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Get Points
description: Retrieve the points of a specific user
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to retrieve points for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to retrieve points for (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to retrieve points for (supports variables)
- name: Destination Variable
type: String
required: false
default: userPoints
description: The argument variable name to store the users points (supports variables)
csharpMethods:
- GetPoints
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Get User Multiplier
description: Retrieve the multiplier for a specific user
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to retrieve the multiplier for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to retrieve the multiplier for (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to retrieve the multiplier for (supports variables)
- name: Destination Variable
type: String
required: false
default: userMultiplier
description: The argument variable name to store the effective multiplier value (supports variables)
csharpMethods:
- GetUserMultiplier
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Reset User Points
description: Reset the points of a specific user to 0
version: 1.1.0
parameters:
- name: Point Definition
type: Select
required: true
default: None
description: Choose the point definition you want to award points for
- name: User
type: Select
required: true
default: None
description: The username of the user you want to award points to (supports variables)
- name: platform
type: String
required: true
default: '%userType%'
description: The platform of the user you want to award points to (supports variables)
- name: Destination Variable
type: String
required: false
default: userPoints
description: The argument variable name to store the users points after resetting to 0 (supports variables)
csharpMethods:
- ResetUserPoints
---
Loading
Loading