Follow Bot Protection

Description

Checks if a follow is any of the hoss or other follow bots and wont continue sub action if it is.

There are two different versions of this extension. The first one is a simple C# code that checks for follow bots and the other reads from a file that contains a list of bot name.

C# Version

Import Code

TlM0RR+LCAAAAAAABACdVtuOm0gQfV9p/8Ga53gExoxNpDwYxmA8Y498A8M6D91NGwjNZbl5cJR/32qwd26JtFlLyNCnqvqcqmqK73/+0evd1DQvwjS5+dwTP7ULCYopPN2oaakFlEQ33TIiJZgVgPzFn3u9790fQKHH7YfKHRqg4agvoSPpDxWM+wqV5b4wHsnSUabKSLjrYrVOf1e04vskFWMvqzRBmFEer8wr+rL+npSeMpaeXoXz87TKLhY9LY0xKl+hiJ1QU6yr5EPgHCVeGk9acQAeESteoSRNSJXnNCk/Yh8S8iYp/4l1a+TRguRhdiFwQ7hh0QuPPT+sadJDeY6aHhApUZgUvaqg+bsAEaXZhIHxB46dQnqkoIDQd1RbUPt8ONghpOBUHA6LkORpkR7L2+V0ezjoOdA/pXl0ONTDW+FWEiRRORzigqQ5C/Gtx9hbJv8v3qYpShq30V4H+/pWBW5KqqVem05vv8xwTPydxM6eYZVPJ+Hh/dpjtKyx8cwcaZ3hgXx+jDyGY6tB9mJ0v0qXWqKKTvycOY36DRv6mTTq/W4azDGs4XgHeLHUfHby7HkBPr4TKzXWVJ0a1jdvv2YPWsRxHmuubca1qU0Dc6MKyGBnc+Zl2DiBj16ZU32x1dTMNETm2EN/tXtemDPr7O7nYLdOnf3KR7C/aegV3ai1G/IYgG/UszebAxePY2CrBiRZ+Xjg+J4RMNOQA2zvfHMzDVoO+6VAYla5YumZxrz29Mse94JPm3m6uLcEMzz5ZuyfiLQKH7VJiAzl7GlmYWrzFEvL8wu++Bdfbjp8MVuIgIPmaK6t2itE9xORNBf/s3XxD+rldtf5A37xLzxbDkh4vR8Kl/vSsWWoEwvMRBiZGuTR0CNXUyvHFhnURMDNJaeG3pBYl1utK+FBW7GBszd9qDsj4UThuCstsZm0up+4v8mEyjKUbZdHkj5sC/+xGfvuwBJIG3d38e/2a/sC9HEbklhVazODXNpeymsFNYEazAO6UQoE+TYNJW5zfeHb1Wh9bjnabk1iK3AGfurFemPOfB9B/aGPBIvvmSwyeuI6+H5KBnXPIE6MbDmCfQPol8AzlmmnlwEeiGRgNW1fJ+sA7M4PMz972BeXmjDoX7/aGkqyseUYN35kRvMAh+qi5Tp98XsK1VGrOxFCnpNuj2i+ElXzkXkB2kMitpPsqZnUj8DFNdYManLGtl7AGYhc+xlyMFlq4cQ3tQ9X/SgsVxtN3rqgZWtbZzLQE3cDfEIl5GeASm2NFFNfikRS+Rnl8TXc9qUaO/Yz9H906QfQkCyudZLQfg21mDNnD3pCfl4m4Q7iEX4uDSsyp7wepg99FV3PIfeFOA0e6JEz0Pn7oYF++eYMFBEnq1/oUBt3vxZJPPTdWC/IYNfycRLY2y7P5qSr3bHrReXaO20Oo+faFeAsxmNI7FzlHNYDpXa1aXjtQQx9YBrTth9Mg1U/66/uXM+ZN7Ma0CpAT7KnU8Rr8g3eaQLUUnT3C59IVvho66Cf1dgHPnsB3l9w+V++vJsVWU5JGmch+8Ww8ChDzaZE+ceB1+LdqJeJPJTGMOplbyj1hwPvrj8W8biP75QhRiMPSXf43cYnGvoBDyrcCm+Rssk4GYX/3iLXmf7mE6GjkXj0mQd7Wf3x6VdTuEas/dK4yaqy16RV3ju2c7jXTfAepu1TGYQFzNk45tP+Z6pFRRyPCTr2BYK5amXcH3t3qK8oo6PsHYfiUJJ+V7UoCL8tWnwl+nr79f13icHDtBP/6+vPGcZQVlDvFdqBbaDOsvsyu4I//gGSyYJNJgoAAA==

Installation

In Streamer.bot in select Import from the top left.
Copy the Import Code and paste it into the Import String.

Configuration

Tie the Action BotCheckFollow to the Follows Event.

Insert the Follows Action after the Comment in BotCheckFollow.

File Version

Import Code

TlM0RR+LCAAAAAAABADtWtuS4kYSfd+I/Qd2nk2HLtAgR/gBqUGI2wzQSKBtP6ikQlLrhpGAFg7/+2ZVSTQX9cy0PfbuOHYiiGakq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wW626JAIC4jlLsJvonsMO9/fDedLaaTewBcAO3wPOk5w6WuNWvdFsCYLUuredJv5mOE+24sfEdc9/YPedoL0KzYvIusB8bExaQ1b8P4Tz/gAoA0D12jgXXjxbHFPSB0mtSNyb08F9BVeQwISDO1t6ANJ0jhDJcgy7qQ5pcWKNY1I0e7kpTpAWU/Bx25S+TFoMkKnFLwcIOKLJxgmdrpMiYeChHhTn5xc67pPv+sUt+Q2Z/JpfGkDC5i5uha8TVUVDubyV/8pffj1e/Tri7FcRhzLJVxHxs6KrkzFf16SGgnfhpzP/QFGlyfbaT4RcF8Du9/nc/bpie3MDXzZ0bpqD01I+3R/WVLz6JUhV0+C6GfhnFhPcarTbVtupCy0O8mrLduqWINp1YCwCx3Nti7Ot77eYkD9sJKsI5cvf/gM696kn6i4AAA==

Installation

In Streamer.bot in select Import from the top left.
Copy the Import Code and paste it into the Import String.

They will now be in the Actions tab.

follow-bot-protection-actions

Check References

BotCheck Refs

follow-bot-protection-references1

BotCheckAdd Refs

follow-bot-protection-references1

BotCheckRem Refs

follow-bot-protection-references3

BotCheckBanToggle Refs (should be there by default)

follow-bot-protection-references4

Open Execute Code (******) by double clicking or right click and choose edit action.

Press Find Refs if Streamer.bot won’t automatically find the references then they need to be added manually. Right click and press Add reference from file...

follow-bot-protection-find-refs

Reference files can be located at:
C:\Windows\Microsoft.NET\Framework\v4.0.30319 or C:\Windows\Microsoft.NET\assembly\GAC_MSIL\
It is recommended to search both folders and use the one that works for compiling.

After adding it should show in the References! Hit Compile to see if all is fine in the Compiling Log tab.

follow-bot-protection-compile-log

After successful compile hit Save and Compile!

Copy the sub-action and paste it to your Follows sub-actions.

Skip this part if there is no follower action or use another bot to show them!

follow-bot-protection-copy-action

follow-bot-protection-subaction

or add with Add ActionAction and choose the Action BotCheck.

follow-bot-protection-add-action

follow-bot-protection-subaction2

Make sure the bot check is at the top!

Events

Set Action BotCheck to trigger on Follows Event.

follow-bot-protection-events1

or if there is no Follows Action just put BotCheck Action in the Follows Event.

follow-bot-protection-events2

Press test and a file will be created with a few bot names (all �hoss� variants).

Adding bot names with command

Add a Command called !addbot tied to the Action BotCheckAdd set to Start and set Group Permissions to Moderators.

Whenever a Moderator does !addbot <Username> it will get added to the botlist.txt file as a new line.

Removing bot names with command

Add a Command called !rembot tied to the Action BotCheckRem set to Start and set Group Permissions to Moderators.

Whenever a Moderator does !rembot <Username> it will get removed from the botlist.txt file…

Add Ban Toggle (Off by Default)

Add a Command called !toggleban tied to the Action BotCheckBanToggle set to Start and set Group Permissions to Moderators.

Whenever a Moderator does !toggleban it will toggle auto ban on or off.

By default it is off as the variable does not exist yet. Variable will be created on first use of !toggleban it will send chat message of @user Ban: False or @user Ban: True
False = Off and True = On

Botlist File Info and example of false ban

Names can be part of the whole username in case of hoss these cover them all that are known so far.
It is recommended to add as much of the name as possible, so there won’t be many false bans for legit users who follow and have the string as part of their name.

Hoss uses all variants of hoss00312 / h0ss00312 and that is why it has only 4 first letters added.

follow-bot-protection-toggle-text-file

Here is a case of false ban: If a user named �hasselhoss� for example comes to the stream and follows, they will get banned (if ban is set to true) as part of the name is in the list of bots!

botlist.txt file will be located in the data folder!

follow-bot-protection-toggle-folder2

The file can manually be created but the file name must be botlist.txt and names are one (1) on each line!

Bots known atm:

hoss
h0ss
ho5s
h05s
hos5
h0s5
ho55
h055
h0st
host
h05t
ho5t
lunar_
lun4r_
manolia
blueberrydogs

Contributors

1 Like