KickBecomeBonesFix
Only the player who actually gets kicked punishes the kicker: the kicker turns into bones, the victim stays put with 20s fortified milk, and a notice names both. Kicking other players or zombies is never punished. Fix for PEAK 3.0.1.
By xeuphoriczy
| Date uploaded | 2 weeks ago |
| Version | 1.1.1 |
| Download link | xeuphoriczy-KickBecomeBonesFix-1.1.1.zip |
| Downloads | 195 |
| Dependency string | xeuphoriczy-KickBecomeBonesFix-1.1.1 |
This mod requires the following mods to function
BepInEx-BepInExPack_PEAK
BepInEx pack for PEAK. Preconfigured and ready to use.
Preferred version: 5.4.2403lammas123-PEAKERRpcInfo
A dependency for mods that need the info parameter on Rpcs.
Preferred version: 1.1.0README
KickBecomeBonesFix
Community fix of KinTheInfinite's KickBecomeBones, rewritten for PEAK 3.0.1.
Kick someone else and nothing happens. Kick me and you turn into bones — while I walk away untouched with 20 seconds of fortified milk.
中文说明
只有真正踢到我的人会变成骷髅。踢别的玩家、踢僵尸、空踢都不会被惩罚。
被踢的瞬间,屏幕中央会出现三行提示:
XXX 踢了你!
被踢的是:你的名字
已施加强化牛奶(20 秒无敌),XXX 已变成骷髅
同时你获得 20 秒强化牛奶,并且不会被这一脚踢飞(原地站住)。
What it does
- Only the actual victim reacts. The mod knows exactly who kicked whom: it records who pressed kick, then confirms the hit when the ragdoll RPC for your own character arrives from that same player. Kicking another player, a zombie, or swinging at empty air is never punished.
- The kicker becomes bones (direct death RPC, so checkpoint flags cannot turn it into a checkpoint respawn).
- You get 20 s fortified milk (invincibility, gold milk VFX).
- You stay in place: the kick's ragdoll and launch force are cancelled on your client, and the opposite force plus a stand-up RPC are broadcast so clients without the mod also see you stay on your feet.
- On-screen notice naming the kicker, the victim, and the result.
Requirements
- PEAK 3.0.1
- BepInEx 5.4.x (BepInExPack_PEAK)
- PEAKERRpcInfo — hard dependency, install it or the mod will not work
Install
Install with r2modman / Thunderstore Mod Manager, or drop
BepInEx/plugins/KickBecomeBonesFix/ into your profile's BepInEx/plugins/.
Notes and limitations
- Only the kicked player needs this mod. The host does not need it, and the kicker does not need it.
- Only players who have this mod installed are protected from being launched. Friends without the mod still fly when they get kicked.
- Kicking zombies and other creatures works normally and is never punished.
- The kick itself is not blocked: on the kicker's screen you may still see a brief stumble before you stand back up.
- The notice text is Chinese. To change the wording, edit the strings in
Plugin.OnIWasKickedand rebuild.
Log
Every detection step is written to BepInEx/LogOutput.log:
[踢击检测] 收到踢击广播,actor=2 (XXX)
[踢击检测] 命中:被 XXX 踢中。
[踢击提示] XXX 踢了你!
See CHANGELOG.md for the full version history.
CHANGELOG
Changelog
1.1.1 — PEAK 3.0.1 support, final
The big change: the punishment now only fires for the player who actually got kicked. Before this, any kick — at another player, at a zombie, at thin air — killed the kicker.
Fixed
- Punishment no longer triggers on every kick. Detection is exact: the mod records who pressed kick, then confirms the hit when the ragdoll RPC for your own character arrives from that same player. Kicking another player, a zombie, or swinging at empty air is never punished.
- The kick now actually lands before the kicker dies. PEAK 3.0.1 runs the kick in a delayed coroutine on the kicker's client; the old build killed the kicker the moment the kick was announced, which cancelled the kick and made the on-screen notice and the fortified milk never appear.
- Detection patch no longer fails to load. The previous trigger hook
(
RPCA_KickImpactwith an explicit(Vector3, PhotonMessageInfo)signature) was rejected by Harmony at runtime withIL Compile Error. The trigger is now taken fromCharacterGrabbing.RPCA_Kick, which loads reliably. - No more startup banner. The "mod loaded" line that popped up on every game launch has been removed.
Changed
- The on-screen notice is now three lines and names both sides:
XXX 踢了你!/被踢的是:<victim>/已施加强化牛奶(20 秒无敌),XXX 已变成骷髅. - Kicker punishment uses a direct death RPC, so checkpoint flags can no longer turn the death into a checkpoint respawn.
- The victim keeps their position: the kick's ragdoll and launch force are cancelled locally, and the opposite force plus a stand-up RPC are broadcast so clients without the mod also see the victim stay on their feet.
- Every detection step is logged to
BepInEx/LogOutput.logunder[踢击检测]and[踢击提示].
1.1.0 — PEAK 3.0.1 compatibility
- Rewritten for the PEAK 3.0.1 kick flow (local coroutine on the kicker's
client,
RPCA_KickImpactreduced to an SFX broadcast). - Added 20 s fortified milk for the victim and the on-screen kick notice.
1.0.0 — first public release
- Community fix of KickBecomeBones 0.1.1 for PEAK 2.6.a.
- Kicker dies through the death RPC directly, bypassing checkpoint interception.
- Punishment also works from the kicked player's client, so the host does not need the mod.