ModsJava
twitch.sk
Java mod listed for Minecraft 1.13. Download on the author's site.
⬇ Download on Spigottwitch.sk adds functions to Skript that allows you to request the Twitch API, and streamer status.
Dependencies:
- skript-mirror v1.0.0
- SkQuery v 3.6.5
- Skript
Example use case:
Functions:
checkTwitchChannelStreaming("myfavoritestreamer"):
Creates a check for the given twitch streamer. Result can be retrieved with this function:
retrieveTwitchChannelStreaming("myfavoritestreamer"):
Returns the live status of the streamer, which is either true (streaming) or false (not streaming). You may want to use a while loop to wait until the request is done, since it happens in a thread:
requestTwitchAPI("twitch api url you want to request"):
Request data from the twitch api, this is not threaded, be sure to run this function in a thread to not halt your game. Returns the result as json string.
Setup:
To setup this script, you need a twitch api client id, which you can get here . Add this id to the options to allow this script to access the twitch api.
Questions:
If you have any questions, join our Discord .
Dependencies:
- skript-mirror v1.0.0
- SkQuery v 3.6.5
- Skript
Example use case:
Code (Text):
command /twitchstreamer <text>:
trigger:
checkTwitchChannelStreaming(arg-1)
while retrieveTwitchChannelStreaming(arg-1) is not set:
wait 1 tick
if retrieveTwitchChannelStreaming(arg-1) is true:
message "&7[&5&lTwitch&7]&r %arg-1% is live: https://www.twitch.tv/%arg-1%"
else:
message "&7[&5&lTwitch&7]&r %arg-1% is not live."
trigger:
checkTwitchChannelStreaming(arg-1)
while retrieveTwitchChannelStreaming(arg-1) is not set:
wait 1 tick
if retrieveTwitchChannelStreaming(arg-1) is true:
message "&7[&5&lTwitch&7]&r %arg-1% is live: https://www.twitch.tv/%arg-1%"
else:
message "&7[&5&lTwitch&7]&r %arg-1% is not live."
checkTwitchChannelStreaming("myfavoritestreamer"):
Creates a check for the given twitch streamer. Result can be retrieved with this function:
Code (Text):
retrieveTwitchChannelStreaming("myfavoritestreamer")
Returns the live status of the streamer, which is either true (streaming) or false (not streaming). You may want to use a while loop to wait until the request is done, since it happens in a thread:
Code (Text):
while retrieveTwitchChannelStreaming("myfavoritestreamer") is not set:
wait 1 tick
set {_result} to retrieveTwitchChannelStreaming("myfavoritestreamer")
wait 1 tick
set {_result} to retrieveTwitchChannelStreaming("myfavoritestreamer")
Request data from the twitch api, this is not threaded, be sure to run this function in a thread to not halt your game. Returns the result as json string.
Setup:
To setup this script, you need a twitch api client id, which you can get here . Add this id to the options to allow this script to access the twitch api.
Questions:
If you have any questions, join our Discord .
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.13
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
twitch.sk is a free Minecraft Java mod. Compatible with Minecraft 1.13. Downloaded 378 times (via Spigot). Download it and open it directly in the game.