Twitchunt - Manhunt with twitch viewers

ABOUT
 
Thanks this plugin you can make interactive polls where your viewers can choose what happend with you every poll. For example Every one minute viewers can select 3 options - clear your's inventory, spawn creepers around you or give you some bread. When poll ends this will happen you in minecraft!
 
TESTED ONLY ON 1.17, 1.18 and 1.19
 
What you can found in this relase:
  • support for Twitch Subscriptions with tiers check (casting effects)​
  • support for Twitch cheer with thresholds (casting effects)​
  • redemption of custom rewards (casting effects)​
  • stream alert on minecraft​
  • 35 effects for twitch polls, full list can you find in effect.yml in plugin folder
  • Possibility to add custom effect (with delay) in customEffects.yml - creating guide is in file​
  • simple commands to configure plugin in game like: reload, start, stop, sethunted, setdurationpoll etc. (check /twitchunt)
  • Possibilty to enable/disable effects
  • Possibilty to translat/rename effects
  • Enable/disable stream messagen on miencraft server
  • Excludin messages from seleceted users on stream (config)
  • Possibilty to edit poll time and interval betweeen polls
  • Full Guide in config
  • Enable/disable and edit (in config) where result polls have to show​
TODO in next relases:
  • MORE EFFECTS! (you can help me with ideas for that!)
  • support for StreamElements donations with thresholds (casting effects)
DEPENDENCES
- Java 17
- Twitch account with possibility to create polls
 
PERMISSIONS
twitchunt.commands - use commands (default op) 
 
INSTALATION/CONFIG
Read config and you will do everything good :D
 
#--------------------TwitchBot settings----------------------
#Comments in this config is visible only on first load, for help look Config-help.txt
#Screenshots: https://docs.google.com/document/d/1H8tQfZ2BU-bqaPurFX_GU6u8AWAgT3g9HqkScjfgbfM/edit?usp=sharing
#YOU MUST CAN USE POLLS ON YOUR TWITCH CHANNEL< WITHOUT IT PLUGIN DOESN'T WORK!
#Permissions:
#twitchunt.commands - use commands (default op)
#---------------CHANGE ONLY ON RESTART SERVER----------------
#Name of channel what you want to send messages on twitch
channelName: "Nameofchannel"
startMessage: "Twitchunt bot by Galajus ready to play!"
#Chat token to access, connect your created account for bot or your's channel, then messages will be sended by you
#Redem token: https://twitchtokengenerator.com/
#On this side select: Custom Scope Token (popup on enter)
#In "Available Token Scopes" - "Helix" set on YES: chat:read, chat:edit, channel:manage:polls, channel:read:polls
#and below click "Generate Token"
#Then copy ACCESS TOKEN and paste there
chatToken: "TOKEN"

#Plugin need bot account, create Application and paste data
#URL: https://dev.twitch.tv/console
#On this page register and in console click "register your application"
#Name can by anything, Redirect URL set to: "http://localhost"
#Category: "Chat Bot"
#After create inside "Manage Application: [name] copy: ClientID and Client secret, you can generate new if you don't see
clientID: "ID"
clientSecret: "SECRET"

forceSpigotUsage: false #helpfull with older versions of paper or whole server (lower than 1.17)

#-------CHANGE WHENEVER YOU WANT /TWITCHUNT RELOAD-----------

#Exclude chat messages from users
excludeSenders:
  - "bot1"
  - "bot2"
#Size of letters are important!
huntedPlayers:
  - "Someone"
  - "SomeoneTwo"
optionsPerPoll: 3 #Must be between 2 and 5
pollInstaStart: true #Start poll after run /twitchunt start or wait pollInterval and then start poll
pollDuration: 25
pollTitle: "Effect poll!" #Do not change without restart server! If poll not showing probably u used not allowed word/s
pollInterval: 90
#configure stream messages in minecraft and Twitch:
twitchMessagesEnabled: true
broadcastResultOnMinecraftChat: true
sendResultOnTwitchChat: true
showResultTitleToHuntedPlayers: true
showInfoOnTwitchAboutStartedPoll: true
broadcastStartStreamOnMinecraft: true

#ALL BELLOW IS IN BETA

#Add to your twitch account some channel points rewards and assign name of reward to effect id
#Finalize reward on your twitch channel dashboard must be made handy (refund points if reward is purchased but twitchunt not enabled etc.)
twitchRedemptions:
  ExampleRewardName1: 12
  ExampleRewardName2: 34
  ExampleRewardName3: 54
  ExampleRewardName4: 9997

#BITS, SUBS AND FOLLOWS EFFECTS IS CASTING RANDOMLY FROM THE GIVEN ID'S

#BITS CONFIG:
BitsEnabled: true
#First starting from 0, pattern : (a, b>
BitsThresholds:
  FirstLevel: 10
  SecondLevel: 50
  ThirdLevel: 150

#type id's of effects, custom have prefix "999", for example 9997
BitsEffects:
  LevelOne:
    - 1
    - 2
    - 3
  LevelTwo:
    - 11
    - 12
    - 13
  LevelThree:
    - 22
    - 23
    - 24

#SUBS CONFIG:
SubsEnabled: true
#type id's of effects, custom have prefix "999", for example 9998
SubsEffects:
  TierOne:
    - 1
    - 2
    - 3
    - 12
    - 5
  TierTwo:
    - 4
    - 12
    - 14
    - 16
  TierThree:
    - 22
    - 23
    - 24

#TIPS LOOK StreamElements.yml

 

VIDEOS
Polish presentiation
 
If you want make a tutorial in other language PM to me :)

 

Please use github to report of bugs!

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files