AntiInfiniteStamina
【Client MOD】Detects players using infinite stamina cheats.スタミナ無限チートを使用しているプレイヤーを検出するMOD
模組介紹 作者原文
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
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: