
Truck Door Button
Open and Close the Truck door! Networked truck door button with synced open/close events for all clients, local FX, and anti-spam cooldown.
Last updated | 3 hours ago |
Total downloads | 50 |
Total rating | 1 |
Categories | Mods Server-side |
Dependency string | Omniscye-Truck_Door_Button-1.0.0 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function

BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
Truck Door Button
Version: 1.0.0
Author: Omniscye / Empress
Make the truck bay door obey. This adds a physical button that beeps, flashes, and opens/closes the door with smooth motion—fully multiplayer-synced via Photon events. Auto-binds on first event and survives level changes.
Features
- Networked OPEN/CLOSE events (reliable, all-clients).
- Auto-bind on first event so clients who never pressed the button still animate correctly.
- Cooldown to stop mashers from griefing (configurable).
- Audio + visual FX: short beep + color flash, optional door SFX (door.ogg).
- Scene-safe: host object persists across loads; handler re-hooks every scene.
Multiplayer Behavior
- Authoritative timing: Everyone receives the same OPEN/CLOSE at the same moment.
- Local animation: Door moves client-side to the configured positions/durations.
- Master auto-open: If enabled, only the MasterClient triggers timed auto-reopen after a close.
Config (BepInEx)
DoorFind
:RootHint
,ParentName
,DoorName
— find the door quickly without deep scene crawling.Motion
:UseLocal
,ClosedY
,OpenY
,OpenDuration
,CloseDuration
,AutoOpenDelay
.UI
:ShowPrompt
,ButtonCooldown
(seconds).
Compatibility & Safety
- Built on BepInEx + Harmony (non-invasive patches).
- Photon RaiseEvent opcodes
Changelog
1.0.0 — Initial release
Have fun, hit the button, don’t get crushed.
Made by Omniscye