PeakShock
PeakShock is a mod for PEAK that connects supported shock devices (like PiShock and OpenShock) to in-game events.
模組介紹 作者原文
PeakShock
PeakShock is a mod for PEAK that connects supported shock devices (like PiShock and OpenShock) to in-game events. When you take damage or die in the game, your device will deliver a shock, adding a fun and challenging twist to your gameplay.
Features
- Triggers real shocks based on in-game events (player death, injury, and more)
- Supports PiShock and OpenShock platforms
- You can enable or disable specific damage types
- Highly configurable to match your preferences
PiShock Migration Notice
[!IMPORTANT]
PiShock support now uses and this is a breaking configuration change.
If you use PiShock, you must update your config before the mod will work again.
[!WARNING]
Old PiShock setup: ShareCode
New PiShock setup: APIKey and ShockerId
PiShock hardware must be flashed to V3 for the new API path to work.
[!NOTE]
PiShock V3 documentation:
PiShock's V3 documentation also points users to their Discord support if they need help with flashing or setup.
Getting Started
- Install the mod using a mod manager or manually.
- Run the game once with the mod installed. This will generate the config file: addzeey.PeakShock.cfg.
- Configure your device and preferences:
- You can edit the config file manually (look for addzeey.PeakShock.cfg in your config folder), or use your mod manager's config editor.
- Make sure to set the correct shock platform (PiShock or OpenShock).
- Enable or disable specific damage types as you like.
- Play PEAK and enjoy the extra challenge!
Configuration File Explained
When you first run the game with PeakShock installed, a config file named addzeey.PeakShock.cfg will be generated in your config folder. This file controls how the mod interacts with your shock device and lets you customize your experience.
All available config options:
- Shock Platform
- Provider: Choose which device to use (PiShock or OpenShock).
- PiShock Settings
- ApiUrl: PiShock API URL (default:
- APIKey: Your PiShock API Key.
- ShockerId: Your PiShock shocker id.
- PiShock Setup Notes
- ShareCode is no longer used by PeakShock.
- ShockerId is now required because the PiShock API no longer accepts the old do.pishock.com share-code flow.
- PeakShock now sends a fixed PiShock AgentName of PeakShock Mod.
- If ShockerId is missing or wrong, PeakShock logs the lookup URL to help users find it.
- If PiShock returns a V3-related error, this means you need to flash / update pishock to v3 ( check pishock discord or their docuyemantion for instructions)
- OpenShock Settings
- ApiUrl: OpenShock API URL (default:
- DeviceId: Your OpenShock Device ID.
- ApiKey: Your OpenShock API Key.
- Shock Intensity and Timing
- MinShock: Minimum shock intensity (1-100).
- MaxShock: Maximum shock intensity (1-100).
- DeathShock: Shock intensity on death (1-100).
- DeathDuration: Shock duration on death (seconds).
- ShockCooldownSeconds: Minimum seconds between shocks (prevents shock spam).
- ShockWhilePassedOut: Allow enabled status types to shock while passed out (default: disabled).
- Shock Triggers
- EnableInjuryShock: Enable shock for Injury damage.
- EnablePoisonShock: Enable shock for Poison damage.
- EnableColdShock: Enable shock for Cold damage.
- EnableHotShock: Enable shock for Hot/Fire damage.
- EnableSporesShock: Enable shock when spore infection increases.
- EnableThornsShock: Enable shock when a thorn becomes lodged in the player.
- EnableWebShock: Enable shock for Web/Spider web.
- EnableArrowShock: Enable shock when an arrow becomes lodged in the player.
- EnablePetrifyShock: Enable shock when petrification increases.
- EnableFlyTrapShock: Enable shock when caught by a Venus fly trap.
You can edit this file manually with a text editor, or use your mod manager's config editor if available. Always save your changes before restarting th
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: