AntiInfiniteStamina
【Client MOD】Detects players using infinite stamina cheats.スタミナ无码チートを用しているプレイヤーを検出する MOD
About this mod Author’s original text
AntiInfiniteStamina
English
This mod is a client-only mod that detects suspicious infinite stamina usage, shows a warning popup, lets you teleport to the detected player with J while the popup is visible, and temporarily applies a yellow outline to the detected target.
Overview
AntiInfiniteStamina watches remote players' sprint behavior on your client.
When a player keeps sprinting longer than the expected limit, or keeps moving at an unusually suspicious speed for too long, the mod raises a warning.
When a warning popup is visible, pressing J teleports you to a position behind the detected target.
The detected target is also highlighted with a yellow outline for a configurable number of seconds.
Important behavior
This mod works correctly whether it is installed by the host or by a non-host participant.
It is designed as a client-side observation tool, so each player can choose to use it independently.
The teleport function is also available to non-host participants.
That behavior is intentional.
Strictly speaking, TP is a powerful function, but for the purpose of quickly locating a suspected cheater and verifying the situation, this mod treats participant-side TP as an acceptable tradeoff.
Main features
Detects suspicious infinite stamina behavior
Shows an on-screen warning popup
Plays a warning sound when detection occurs
Lets you teleport to the detected target with J while the popup is visible
Highlights the detected target with a yellow outline for a configurable duration
Keeps re-detecting the same player repeatedly if they continue running suspiciously without stopping
Uses a yellow gradient progress bar in the popup
Technical notes
Detection is based mainly on continuous sprint duration compared against expected stamina consumption.
A secondary helper check can also use suspicious movement speed.
After each detection, the internal measurement is reset and starts counting again, so continuous suspicious running can trigger repeated warnings.
Teleport uses local-side relocation to move you behind the currently displayed detected player.
This is intended for visual confirmation and rapid follow-up.
Installation
Put the DLL into your BepInEx plugins folder.
Optional warning sound file
BepInEx/config/AntiInfiniteStamina/warning_detect.ogg
If the OGG file does not exist, the mod uses its built-in fallback warning sound.
Setting items
EnableMod
Description: Enables or disables the whole mod
Default: true
Minimum: false
Maximum: true
EnableDebugLog
Description: Enables detailed debug logs in the console
Default: false
Minimum: false
Maximum: true
AllowedExtraSprintSeconds
Description: Additional safe seconds added on top of the theoretical maximum sprint duration
Default: 2.5
Minimum: 0
Maximum: No hard limit
SprintBreakGraceSeconds
Description: Grace time used to keep a short interruption inside the same sprint chain
Default: 0.35
Minimum: 0
Maximum: No hard limit
MinimumHorizontalSpeedToCountSprint
Description: Minimum horizontal movement speed required before sprint time starts counting
Default: 0.15
Minimum: 0
Maximum: No hard limit
WarnInConsole
Description: Writes warning messages to the BepInEx console and log
Default: true
Minimum: false
Maximum: true
ShowWarningOverlay
Description: Shows the animated warning popup on screen
Default: true
Minimum: false
Maximum: true
WarningFontSize
Description: Font size of the warning popup text
Default: 26
Minimum: 1
Maximum: No hard limit
WarningDisplaySeconds
Description: Visible duration of the warning popup before fade-out starts
Default: 5
Minimum: 0.5 in practical use
Maximum: No hard limit
DetectedPlayerOutlineSeconds
Description: Duration of the yellow outline on the detected target after each detection. Set 0 to disable the outline
Default: 5
Minimum: 0
Maximum: No hard limit
TeleportToWarningPlayerKey
Description: Teleport key while a warning popup is visible. This release always normalizes it to J at startup
Default: J
Minimum: J
Maximum: J
EnableS
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: