You are viewing a potentially older version of this package. View all versions.
jaramp-BetterBetterTeleporter-1.1.1 icon

BetterBetterTeleporter

A fully configurable Teleporter and Inverse Teleporter mod with advanced item filtering.

Date uploaded 2 weeks ago
Version 1.1.1
Download link jaramp-BetterBetterTeleporter-1.1.1.zip
Downloads 604
Dependency string jaramp-BetterBetterTeleporter-1.1.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

BetterBetterTeleporter

BetterBetterTeleporter is a mod for Lethal Company that adds configurable features for both the regular Teleporter as well as the Inverse Teleporter. The default configuration matches the unmodded version of the game, so this mod will not do anything unless you configure it.

Features

  • Configurable Cooldowns: Adjust the cooldown times for each teleporter.
  • Item Teleport Behavior: Choose whether items are kept or dropped when using the teleporters.
  • Item Whitelists/Blacklists: Specify comma-separated lists of items that are always kept or dropped, overriding the general item teleport behavior.
  • Reset Cooldown on Orbit: Automatically reset teleporter cooldowns when returning to orbit.
  • Inverse Teleporter Battery Drain: An optional penalty to decrease battery charge for held items when using the Inverse Teleporter.

Configuration

The mod is configured using BepInEx's configuration system. You can modify the settings in the BepInEx/config/BetterBetterTeleporter.cfg file.

If LethalConfig is installed, you can also configure the mod in-game through the LethalConfig menu.

Configuration Options

General

Option Value Default Description
ResetCooldownOnOrbit Boolean false Resets the cooldown time on teleporters between days.

Teleporter

Option Value Default Description
TeleporterCooldown Numeric 10 Cooldown time (in seconds) for using the Teleporter.
TeleporterBehavior Drop or Keep Drop Sets whether items are kept or dropped when using the Teleporter.
TeleporterAlwaysKeep ItemList Treat these items as Keep regardless of Teleporter behavior.
TeleporterAlwaysDrop ItemList Treat these items as Drop regardless of Teleporter behavior.

As an example, if you wanted a Teleporter that keeps all items except for the shovel, stop sign, and yield sign:

TeleporterCooldown = 10
TeleporterBehavior = Keep
TeleporterAlwaysKeep =
TeleporterAlwaysDrop = Shovel,StopSign,YieldSign

Inverse Teleporter

Option Value Default Description
InverseTeleporterCooldown Numeric 210 Cooldown time (in seconds) for using the Inverse Teleporter.
InverseTeleporterBehavior Drop or Keep Drop Sets whether items are kept or dropped when using the Inverse Teleporter.
InverseTeleporterAlwaysKeep ItemList Treat these items as Keep regardless of Inverse Teleporter behavior.
InverseTeleporterAlwaysDrop ItemList Treat these items as Drop regardless of Inverse Teleporter behavior.
BatteryDrainPercent Numeric 0 Percent drain on held battery items when using the Inverse Teleporter.

As an example, if you wanted an Inverse Teleporter that drops all items except for keys and walkie-talkies, and drains batteries by 25%:

InverseTeleporterCooldown = 210
InverseTeleporterBehavior = Drop
InverseTeleporterAlwaysKeep = Key,WalkieTalkie
InverseTeleporterAlwaysDrop =
BatteryDrainPercent = 25

Item Names

You can specify multiple items to keep/drop by listing them separated by commas (such as Shovel,Key,Flashlight,WalkieTalkie). BetterBetterTeleporter will do its best to resolve items with inconsistent names (example: "clipboard" vs "Clipboard" vs "ClipboardItem" vs "ClipboardManual"). As long as you have a reasonable idea of what the item is called, it should work.

Here are some example names that can be used for whitelisting/blacklisting items:

  • GunAmmo
  • BeltBag
  • Binoculars
  • Boombox
  • CardboardBox
  • Clipboard
  • ExtensionLadder
  • Flashlight
  • Jetpack
  • Key
  • LockPicker
  • CaveDwellerBaby
  • MapDevice
  • ProFlashlight
  • RadarBooster
  • Shovel
  • SprayPaint
  • StickyNote
  • StunGrenade
  • TZPInhalant
  • WalkieTalkie
  • WeedKillerBottle
  • ZapGun

This is not an exhaustive list. Any item should work, including from other mods. Names are not case-sensitive. Using the in-game display name will also work, but it may have issues when playing with players that use different language settings.

Dependencies

Installation

It's recommended to install from Thunderstore using a mod manager such as Gale.

Contributing

See CONTRIBUTING.md for information on how to contribute to the mod.

CHANGELOG

Version 1.2.1

  • Delay visual fixes to compensate for possible lag
  • Fix issue where players that die during teleport keep items

Version 1.2.0

  • Added [filter:item] syntax
  • Added patch to fix a visual bug on the teleporter

Version 1.1.5

  • Added [all] item filter
  • Added [none] item filter
  • Added [gordion] item filter
  • Added [gordioff] item filter

Version 1.1.4

  • Added [battery] item filter
  • Added [charged] item filter
  • Added [discharged] item filter
  • Added [metal] item filter
  • Added [nonbattery] item filter
  • Added [nonmetal] item filter
  • Added [nonscrap] item filter
  • Added [nonweapon] item filter
  • Added [onehanded] item filter
  • Added [pocketed] item filter
  • Added [scrap] item filter
  • Added [twohanded] item filter
  • Added [value] item filter
  • Added [weapon] item filter
  • Added [weighted] item filter
  • Added [weightless] item filter
  • Added [worthless] item filter

Version 1.1.3

  • Added experimental item filter engine
  • Added [held] item filter

Version 1.1.2

  • Rewrote netcode from scratch

Version 1.1.1

  • Fix issue where dead players wouldn't drop some items
  • Fix issue where reconnecting players would always drop all items when teleporting

Version 1.1.0

  • Using CSync for better network communication
  • Changed BatteryDrainPercent to an integer range from 0 to 100
  • Improving init and update performance
  • Fix issue where disconnecting players wouldn't drop some items
  • Fix incorrect default value on ResetCooldownOnOrbit
  • Fix issue where changing server host synced incorrect settings

Version 1.0.2

  • Setting default config to match unmodded game behavior
  • Fix issue with incorrect carry weight after teleporting

Version 1.0.1

  • Hotfix to fix packaged file structure

Version 1.0.0

Initial Release

  • Reset cooldowns on orbit
  • Customize Teleporter cooldown
  • Customizable list of items to keep on Teleport
  • Customize Inverse Teleporter cooldown
  • Customizable list of items to keep on Inverse Teleport
  • Customizable battery drain on Inverse Teleport