Twitch
StreamerBot
Table of contents
Description
Let your viewers become champion of the hill and earn a VIP badge by redeeming a channelpoint reward. But be aware! There can only be one champion at a time, so after another user redeems the reward, they’ll steal the title and VIP badge from the former champion.
The description of the reward will automatically update and have the current champion listed. You also have the option to automatically increase the cost upon each use.
Import Code
U0JBRR+LCAAAAAAABADdXemP4siS/77S/g9sr560q2n3+AR7pPehoIqruujiMuDXo6e8jN344GEDRT3N/76RtrkNBXTNTM+OxDQ47Tx+ERlHOiLq3//5H4XCB5/F6MMvhX/zH/AzQD6Dnx8qDvKnbhgUvtiFnsMKddfzPnzMbkLz2Aln/LYYLX3ENg0LNovgId4ifZI+yZsGyiIyc6dx1tgIong2J/xn9EvBieNp9MvPP6edfRq7sTPHn9zwZ5JN4p+h/c/YYf90YBKfnNjfm0nYmQd3JOs5mHveus13A9ef++ZmTryRt/2W3PGBor2Vo3Q6cOUf6ZXCuilpdimfuKGLSgnrmsB0KgmqwSQBaQYVJKorVFX0oizT9eSSx/41Z3O2P7HkOgsQ9hjvE4Bgey0vxJtTVp2Fft2N4nC2gpts5EV7d63p9I88Qv1aeEJuUMhQ2X1sPAvn07fom8LhLdEqAmzzRp+hgIb+BvWjdhIGZD6bsSDOa41n7ngMVNmF+gDudBS2RDPaSICXDI2xYlERVE02BFWVSoKuMSLoIrElrSgbVCK789+hGSMSk0XdEAgT4fmSJAsYi1igRVmzRd6G6NGj8WrK8ZUk+bDlJOW21IvWjPTrbutv2x+/7iF9zHh5aGwp/qVXTyl8NOuDbXbUPmM2A6oQdjRa0lz55evXgQukXUZfvz65ZBZGoR1/aj30vn6tzmD8ZTibFNWvXxfqJ/GTIiqS8fWrH5Fw5rn4EwUO2u/y18Px8SpmlZAm66DD1hT7ZNxXvFdaM+MvS/Hx8NrnCY2w3HRwzSuOhp0pltXSfXsqEdmbW6tyjw1bojUQ523ZiHDN/EZr3gIHT/OObM6tYXM6eo1albH4SOqmC318a9Ra0WjYem08tNrdB28O1+ZWW3xkMHajcjdu1MvSyH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Yzd+wGyDubkazdmHSoKDIuFg1JYLKuCaqmAeuBkBBATlCFEaQY7x+H/C6vcG/J1PqSIVnIhfLCaAJdZraIDVWQbL0kqArWBVzSDIHZiJaQzorFGzO4f/dogv3A7bMxTFdF04pEpUapJGADE4FHL4IcoyX4X0krIoSL6pXSa/2a+I1FXxavecXr6SzHWSO2YTBN0AiBHaHwOEqdAn01psiIcN1X+qODTqVLKPdW0OlFC9vpe/01G289Vho3mgbFrS+B/ePDQvYvLhmOQjJhcZfNFllk5XFjxXOTDIvdxtj11/fzK9mfHtv+nbRMQn/g2XqzmFEekMoRFj/JnzJWO/5DZmmrgFmMPhVhnb/9HwNZ7/bLbQAA
Installation
-
Copy the import code from above and import the content
-
Create a channel point reward inside StreamerBot and not within Twitch itself. This will make sure that the reward is editable by StreamerBot.
Go into
Platforms -> Twitch -> Channel Point Rewards
and add a new one. Give it any name you like. The description will automatically get updated after redemption, so you can just fill it with “There currently is no champion of the hill”. If the reward is not greyed out and the settings are editable, you are good to go.
Make sure Redemption Skips Queue
stays unchecked.
-
Assign the reward as the trigger in the
[Champion Of The Hill] Main
action -
Already done! Continue with Configuration below.
Settings
General Settings
In the “General Settings” group, you can adjust two different things:
-
First, you can decide whether you want the cost of the reward to automatically increase upon each use. Therefore, doubleclick the “Set Argument” subaction and set its value for
increaseCost
to “True”. Otherwise make it “False”. -
Second, you can also decide whether a permanent VIP (that is not champion of the hill) can become champion of the hill. You can again set it to “True” if a permanent VIP should be able to steal, “False” if not. You can then also set whether the VIP status should be returned to the permanent VIP once he gets pushed off the throne.
Cost Increase Settings
In the “Cost Increase Settings” group, you can decide how the cost should increase and by how much.
There are three different methods: costs can increase linearly, exponentially or have a combination of both. You can change the value to “Linear”, “Exponential” or “Both”.
-
If “Linear” is selected, the cost will increase by a fixed amount
increaseCostTotalPoints
. So if the cost is 1000 and the fixed amount set to 250, the next redemption will cost 1250 points.
* If "Exponential" is selected, the cost will increase exponentially by the set percent value `increaseCostPercent`. So if the cost is 1000 and the percent set to 10, the next redemption will cost 1100 points.
-
If “Both” is selected, the cost will first increase linearly until it reaches a certain threshold
increaseCostThreshold
.So in the example of the screenshots, the cost will increase linearly by 250 until it reaches 5000 points. From then on it will increase exponentionally by 10%. You can edit the treshold to your liking.
Reset Settings
In the [Champion Of The Hill] Reset
action, you can decide whether you want a reset to happen and if so, if it should happen on a test trigger or daily, weekly or monthly. A new week starts every monday, a new month every 1st day of the month (surprised pikachu).
For the reset to happen, change False
to True
.
The reset occurs whenever you start your stream, so if you stream past midnight and want the reset to happen, you’ll have to go into the action and rightclick the “Test” trigger and hit “Test Trigger”.
After a reset happened, the action will “continue” below the Code
group. You can use regular variables like %user%
to give the last champion a present, shout them out or whatever you want to do.
You don’t have to delete the cost increase values from the “Set Argument” subactions if you don’t want to utilize them. In that case, just leave them as it is.
If the current champion gets banned, they’ll get removed automatically.
Changelog
Date | Changes | Version |
---|---|---|
August 20, 2024 | Added the option to reset the current champion on a “Test” trigger and resets the reward to its original cost | 1.1.2 |
June 23, 2024 | Added a daily/weekly/monthly reset option. Added auto-removal of a champion when they get banned. | 1.1.0 |
May 16, 2024 | Changed the global var methods to userId and added a throne claim counter that shows in the reward description | 1.0.0 |