EtG Modding Guide
  • ETG Modding Guide
  • Getting started
    • Modding EtG: Installing Mods
    • Modding EtG: Creating a Mod
    • Uploading a Mod
    • Useful Tools
      • Using IlSpy
  • Making An Item
    • Creating A Passive
    • Creating An Active
    • Creating An Ammolet
    • Creating A Guon
    • Synergies
  • Making a Gun
    • Creating A Gun
      • Setting Up Gun Sprite Folders
      • Creating Gun Jsons/Jtk2ds
        • Pixel Measurement Conversions
    • Setting Up Projectiles
      • Adding Components To A Projectile
      • Projectile HitEffects (Visual Effects)
      • Adding status effects to a projectile
    • Continuous Fire Animations
    • Gun Ammo Types
  • Custom Characters
    • Creating A Standalone Custom Character
  • Making a Floor
    • Introduction
    • Setup
    • Making The Dungeon
    • Tileset
    • Rooms
    • Making the flow
    • Making the Entrance
    • All Files
  • Text, Text Boxes, Etc
    • Textboxes
    • Text Formatting
  • Sounds
    • Using Custom Sounds
    • Customising Gun Sounds
    • Basegame Sound List
    • wwise Sound Dump
  • Misc
    • Making Asset bundles
    • Assetbundles: How-To
    • How to create a hook
    • Creating A Command
    • Subscribing Methods to Actions
    • Reversing Player Controls
    • Undodgeable Projectiles
    • Creating An Enemy
  • Shaders
    • Creating Shaders
  • All things Spriting
    • Important Sprite Creation Information.
    • Importing a Sprite To Visual Studios
  • Monobehaviour Documentation
    • BounceProjModifier
    • PierceProjModifier
    • KeyProjModifier
    • CompanionFollowPlayerBehaviour
  • Various Lists of IDs, Sounds, Etc.
    • List of Item and Gun IDs
    • Enemy Guids
    • List of Base Game Synergies
    • dfSpriteList
    • All Custom Ammo Types
    • Gun .Json Dump
  • TwitchAPI and poll system guide
    • introduction and general functionality
  • The GlobalChatDelegate and GlobalToggleStatusNotification events
  • The poll system
  • Example of simple mod that uses polls
  • OFF TOPIC MEMES
    • Modders Anthem
Powered by GitBook
On this page

Was this helpful?

  1. TwitchAPI and poll system guide

introduction and general functionality

twitch api, or tapi for short, is an API that helps centralize some twitch interaction.

this generally doesnt make it a complex api, however. The main goal is to prevent clashing between multiple mods trying to do twitch things, as well as save the user the hassle of inputting their settings into multiple mods.

user functionality:

tapi has 3 main commands

"tapi:setchannel <channelname> ". This sets the name of the channel the API will try to connect to. Make sure your spelling is correct. this only needs to be done once.

"tapi:start" this command starts the api and connects it to your channel's chat. It will then start "listening" to messages. if twitch mod seem to not work, double check you set the name correctly, restart the game, and run this command again

tapi:toggle toggles api functionality on and off. Does not disconnect the API, but should disable API behavior, as well as send a message to all mods that functionality has been disabled/enabled

PreviousGun .Json DumpNextThe GlobalChatDelegate and GlobalToggleStatusNotification events

Last updated 5 days ago

Was this helpful?