Stream Detect
Lets other mods know when OBS or Streamlabs is open - so they can better tailer the experience for streaming
介绍
Built for Dungeon Train — usable by any mod.
Stream Detect has no dependency on Dungeon Train.
Made for streamers
When you’re streaming, a mod can do better than treat you like every other player. Stream Detect tells other mods one thing: OBS Studio or Streamlabs is open. What they do with that is up to them. For example, they can:
- point you to a place to share your stream or clip
- surface streamer-friendly options, such as hiding info you might not want on screen
- adjust prompts and pop-ups so they read well on camera
Dungeon Train uses it to show a Share stream! tab on its Videos button, so streamers can add their channel to the in-game community videos page.
What it looks at, and what it doesn’t
- It only checks for these exact program names:
obs64.exe,obs32.exe,obs(macOS / Linux),Streamlabs OBS.exe,Streamlabs Desktop.exe. - It knows only that the program is open, not whether you are recording or live.
- No command lines, window titles, files, registry, network access or admin rights.
- The answer never leaves your PC. The only trace is one line in the game log.
- It checks once per game session, only when another mod asks.
Setup
Nothing to configure. Install it alongside a mod that uses it. Client-side only; servers don’t need it.
For mod developers
Tailor your mod for streamers with one call:
games.brennan.streamdetect.api.StreamDetect.detectNow()returns the matched program name, ornull. Call it off the render thread; the result is cached after the first call.hasResult()andisRunningNow()are cheap reads for render code.
Declare Stream Detect as an optional dependency and guard calls with your loader’s "is mod loaded" check. Launch with -Dstreamdetect.test=obs64.exe to test your streamer UI without OBS running.
Compatibility
Fabric, Forge and NeoForge for Minecraft 1.21.1. No mixins, items, blocks, commands or config.
常见问题
Stream Detect 支持哪些 Minecraft 版本?
Stream Detect 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Stream Detect 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
BrennanHatton 的其他作品
查看全部 →Dungeon Train Pack: A Lore-Rich Roguelite RPG Adventure
灵感来自《探险活宝》的列车地牢探索。在无限延伸的 Sable 物理列车上,程序化生成车厢。丰富的剧情叙事,搭配专属自制模组,带来完全独特的体验。
Dungeon Train: A Lore-Rich Roguelite RPG Adventure
一款灵感源自《探险活宝》的列车地牢探索游戏。列车采用物理模拟,可无限延伸,车厢程序生成。游戏叙事丰富,并搭载定制模组,带来独一无二的体验。
Social Player Mobs
具有行为、物品与箱子交互及行动动机的玩家类生物。
Ender Chest Persistence
在世界重置后保留你的末影箱物品栏,并按游戏模式隔离物品,再也不用担心物品丢失。
评论
登录后评论和评分