PeakShock
PeakShock is a mod for PEAK that connects supported shock devices (like PiShock and OpenShock) to in-game events.
CHANGELOG
Changelog
[0.3.0] - 2026-04-09
Breaking Changes
- PiShock support has been migrated from the legacy
https://do.pishock.comflow tohttps://api.pishock.com - PiShock users must update their config from the old
ShareCodesetup to the newAPIKeyandShockerIdsetup - PiShock V3 firmware is now required for the supported API shock path
Note
- Sorry this update took so long. PiShock's API docs were not updated when the old endpoint was removed, so I had to track the migration details down through their Discord before I could ship a proper fix.
Changed
- PiShock shock requests now target
POST /Shockers/{ShockerId}onapi.pishock.com - PiShock requests now send only the required
X-PiShock-Api-Keyheader - PiShock requests now use a fixed
AgentNameofPeakShock Mod - PiShock duration values are now sent in milliseconds to match the current API
- PiShock request logging now includes clearer request context without relying on the legacy share code flow
Added
- Added the
PiShock.ShockerIdconfig option - Added PiShock error messages for important API failure cases such as non-V3 hardware, paused shares, invalid intensity, invalid duration, and missing shocker access
- Added a temporary shocker-id lookup URL to the log when PiShock configuration is incomplete or the configured
ShockerIdis invalid - Added PiShock V3 documentation guidance in the project docs so users know where to go for reflashing and Discord support
[0.2.1] - 2026-03-04
Fixed
- Fixed false shock triggers caused by Hunger/Stamina ticks accumulating and eventually crossing the damage threshold
[0.1.6] - 2025-02-07
Fixed
- Fixed compatibility with latest PEAK game update ( as of 7th February )
- Updated
CharacterAfflictions.AddStatuspatch to handle new bool return type - Fixed issue where shocks weren't triggering due to method signature changes
Added
- Added support for 2 new affliction types:
- Thorns damage (EnableThornsShock)
- Web/Spider web (EnableWebShock)
- Added "Name" field to PiShock API requests for better logging
Note
Apologies for the delay in getting this update out - life got in the way. Thank you for your patience!
[0.1.5] - 2025-07-04
Added
- Fixed ghost shocks when lobby is using a mod that ups player limit and other players can share the players name.
[0.1.4] - 2025-07-04
Added
- Added mod source and github repo link to package
[0.1.3] - 2025-07-02
Added
- Initial release of PeakShock for PEAK.
- Connects PiShock and OpenShock devices to in-game events.
- Shocks on player death, injury, and other configurable triggers.
- Config file generation and support for manual or mod manager editing.
- Option to enable/disable specific damage types.