An OpenJK build for the JKA speedrunning community that adds support for in-game Twitch chat.
This build will allow users in your Twitch chat to execute commands against the JKA client console. This is potentially dangerous and you should first understand the risks before using.
Connection information for the IRC server is stored and read as cvars. The cvars for connecting are as follows:
cl_ircHost
cl_ircPort
cl_ircUsername
cl_ircPassword
If custom cvars are not provided, the client will connect to "irc.chat.twitch.tv" as an anonymous user.
If the connection fails, the client must be restarted.
Once connected to a channel, users in Twitch chat can can invoke console
commands with the !
prefix:
!r_showtris 1
!saber sith_sword
All commands are in the exact format as they are accepted in the game console.
The following commands are always blocked:
say
join
kill
devmap
cl_irc*
Any variables that are changed will be restored to the original value after 20 seconds.
Sends a message to the current channel:
say Hey, what's going on?
Joins a channel on the IRC server:
join #your_solution
Blocks/unblocks a command from being executed by chat:
block spawn
unblock spawn
Draws Twitch chat within the game client:
cl_ircShowChat 1
cl_ircShowChat 0
- OpenJK for keeping the OSS release of this game alive
- YS for the teaser video, testing, and live-streaming the debut
- Sphere for Speed-Academy
- The JKA Speedrunning community for being awesome