Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
MineshaftElevatorMusic
Replaces the mineshaft elevator ride music with synced random tracks from a local folder. No repeats until the full list plays.
| Last updated | 5 months ago |
| Total downloads | 61 |
| Total rating | 0 |
| Categories | Audio AI Generated |
| Dependency string | braindeadbons-MineshaftElevatorMusic-1.0.6 |
| 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.2305README
Mineshaft Elevator Music (BepInEx)
Author: VULGARUS Credits: ChatGPT x Codex
Mod for Lethal Company v80 (BepInEx 5.4.2305).
What it does
- Replaces the vanilla mineshaft elevator ride music.
- Host picks a track from
BepInEx/config/MineshaftElevatorMusicusing a shuffle queue (no repeats until all tracks are played). - All clients play the same track at the same time (network-synced).
- If a client is missing the file, it will simply stay silent.
Included test track
This package includes a default test track placed in:
BepInEx/config/MineshaftElevatorMusic/
Important note (sync requirement)
All players must have the same audio files in:
BepInEx/config/MineshaftElevatorMusic
The host only syncs the file name and start time.
Supported formats
.ogg(recommended).wav.mp3(works if Unity MPEG support is available)
Config
Config file: BepInEx/config/pl.mineshaft.elevator.music.cfg
VanillaNameKeywords: comma-separated keywords used to find the vanilla elevator audio source.ClipNameWhitelist: optional comma-separated clip name fragments to match.ObjectNameWhitelist: optional comma-separated object name fragments to match.VanillaStartWindowSeconds: only triggers replacement when vanilla audio time is near the start.RequireElevatorAudioPlaying: when true, only replaces if the source is actively playing.ReplaceAnyPlayingInMineshaft: set true to replace the first playing audio source in the mineshaft (use for troubleshooting).EnableDebugLogs: set true to log candidate sources and triggers.
LethalConfig (optional)
If you have AinaVT-LethalConfig installed, these settings show up in the in-game config menu.
Build
- Edit
MineshaftElevatorMusic.csprojand setLethalCompanyDirto your game directory. - Build with
dotnet build -c Release. - Copy the output DLL to:
BepInEx/plugins/MineshaftElevatorMusic/MineshaftElevatorMusic.dll
Thunderstore
Thunderstore/manifest.jsonandThunderstore/icon.pngare ready.- Copy the built DLL into
Thunderstore/BepInEx/plugins/MineshaftElevatorMusic/. - Zip the contents of
Thunderstore/and upload. - Users must place music files in
BepInEx/config/MineshaftElevatorMusic.
Troubleshooting
- If no music plays, confirm the folder has at least one
.ogg/.wav/.mp3file. - Check BepInEx console for logs about loading or missing audio.