TokControl REPO Tiktoklive
TokControl TikTok Live bridge for R.E.P.O. — binds 127.0.0.1 (avoids port clash). Port 8080+fallback.
模組介紹 作者原文
TokControl_REPO_Tiktoklive
Connect TokControl (stream gift app) to R.E.P.O. in real time.
Features
- Local WebSocket / HTTP bridge on 127.0.0.1:8080 (IPv4 only — avoids clashing with other stream mods on localhost/IPv6)
- Auto-fallback ports if 8080 is busy: 8082, 8090, 18080, 28080
- Spawn items, enemies, and valuables via REPOLib
- Mid-screen MissionUI announce for random rolls (announce / hud / roll)
- Debug logging to BepInEx + Unity console
- Works Mod Manager
Multiplayer (client relay)
- You do not need to be host to trigger spawns from TokControl on your PC.
- If you join someone else's lobby, the lobby host must also have this mod installed.
- Commands are relayed to the host over Photon automatically.
Quick start
- Install REPOLib + this mod (host and/or your client)
- Launch the game via Mod Manager (not Steam alone)
- Confirm log: WebSocket listening on ws://127.0.0.1:8080/
- In TokControl Game Center → R.E.P.O. → Connection → ping / เช็คใหม่
- Add gift triggers and press START
Port conflict
If another TikTok/stream mod already uses port 8080, this build still binds IPv4 127.0.0.1. If that fails too, it moves to a fallback port — check the log and set TokControl Connection URL to match.
Health check: GET → {"ok":true,"mod":"TokControl_REPO_Tiktoklive",...}
Example triggers
| TikTok Gift | Command |
|-------------|---------|
| Rose | spawn_item\|gun\|1 |
| Lion | spawn_ghost\|Hunter |
| Galaxy | spawn_enemy\|Reaper\|1 |
Support
Check BepInEx/LogOutput.log for [TokControl] messages.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: