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?

The GlobalChatDelegate and GlobalToggleStatusNotification events

in twitch API there are to useful global events

GlobalToggleStatusNotification is an event that passes a bool value. It lets you know whenever tapi has been toggled on and off. It can, therefore be used to toggle twitch functionality on and off within your mod.

GlobalChatDelegate is an event that passes the following (string user, string message, string channel). This strings corrospond to every message sent in chat. With user being the sending user, message being the contents of the message, and channel being the channel. can be used for whatever interaction you can think of, really. Make the enemies have the names of viewers of chatted. Make messages from chat appear in silly places. Make fireworks appear whenever someone types "\fireworks", etc.

Previousintroduction and general functionalityNextThe poll system

Last updated 5 days ago

Was this helpful?