
You are viewing a potentially older version of this package. View Latest Version

Connect your twitch chat to your game!
IMPORTANT: THIS REQUIRES YOU TO EDIT THE CONFIG!! USE MODCONFIG IF YOU DON'T KNOW HOW. THIS DOES NOT SUPPORT YOUTUBE, MAKE A PR IF YOU FIGURE OUT HOW!!
This is early testing and features could change or new features could be added
Making an addon is pretty simple to register.
ChatActionExample Chat Action:
var givestrokes = new ChatAction
{
name = "Give 5 Strokes",
onChoose = () =>
{
for (int i = 0; i < 5; i++)
{
CourseManager.AddPenaltyStroke(GameManager.LocalPlayerAsGolfer, false);
}
}
};
ChatAPI.instance.RegisterNewAction(givestrokes);If you want more examples, go to the GitHub and find the Actions folder in the src tab. DefaultActions.cs has examples.
I am very welcome to new features and bugs. You can do any of the following:
Chat Integration