Settings

Updated 3 weeks ago

Settings

You don't need to change anything. The defaults are what we recommend.

The settings file is BepInEx/config/lethalguardplus.cfg. It is created the first time you start the game with the mod. In r2modman, Thunderstore Mod Manager or Gale you can also edit it from the Config editor.

Almost everything only matters for the host. As a client, LethalGuard+ only protects your own game from the voice chat crash attack.

The file has three parts:

  1. General – the few settings most hosts will ever look at
  2. Modules – turn each protection on or off
  3. Advanced – fine tuning. Leave it alone unless we ask you to change something on Discord.

1. General

Setting Default What it does
KickLevel Recommended Who is also kicked. Blocking is the same at every level. See the Kick and notice levels page.
NoticeLevel Likely Which blocked requests you see in your chat. Only you see these lines. Off hides them all.
AutoBanDuration Session How long a player is banned if the same Steam account is caught again in another lobby within 30 days: Session, OneDay, OneWeek or Permanent. A first offence is never more than a lobby ban. See the Bans page.
HideModdedTag true Your lobby is listed as a normal lobby, so players find it without ticking the modded filter. Set false if you also run mods that every player must have.

2. Modules

Every protection can be turned off on its own. true = on. If one of them causes a problem with another mod, turn only that one off and tell us on Discord.

Setting Default What it stops
VoiceGuard true Broken or fake voice packets (the voice chat crash). false only logs them; the crash fix itself always stays on.
MessageGuard true One player flooding the host with network messages or oversized packets until the lobby freezes or crashes.
SpawnGuard true Opening one gift box or mask over and over, deleting living monsters, faking deaths, making monsters kill other players.
VoteGuard true "Leave early" votes from living players, or more than one vote per round. Only dead players can vote, like in the normal game.
ChatGuard true Chatting as someone else, fake server messages, huge or colored text, chat spam.
CreditGuard true Buying items, furniture, vehicles or moons for free, wiping the group's credits. Prices changed by other mods are left alone.
JoinSlotGuard true The lobby breaking when two players join the last free slot at the same moment. The second one is turned away.
TerminalGuard true Locking the terminal from across the map, terminal sound spam. Leaving the terminal is never blocked.
ShipControlGuard true Spamming the ship doors, lights, magnet, teleporter button or alarm horn, and dead players using them. Normal use is never affected.
FurnitureGuard true Moving furniture under the map or out of the ship, turning it upside down, locking the ship lever, fake early takeoff.
ItemDeleteGuard true Deleting items from the game for everyone. Keys, shotgun shells and items from other mods still work.
ItemTeleportGuard false Picking up items from across the map, dropping items you are not holding, pulling far away items into a belt bag.

Why is ItemTeleportGuard off?

Some item, selling and belt bag mods move items in their own way. With ItemTeleportGuard = true, those mods can stop working. If you play without such mods (or close to vanilla), you can turn it on. If something with items breaks, turn it off again.

3. Advanced

Setting Default What it does
TrustedPlayers empty SteamIDs, separated by commas, that are never kicked automatically. Their cheat requests are still blocked. Good for friends who use a mod that triggers a false kick.
NeverKickRules empty Rule names, separated by commas, that never kick, whatever KickLevel is.
AlwaysKickRules empty Rule names, separated by commas, that always kick, whatever KickLevel is.
MaxVoicePacketsPerSecond 200 Host: voice packet limit per player (normal talking is about 50).
MaxVoiceFramesPerSecond 150 Client: voice frame limit per player (normal talking is about 50).
MaxNetMessagesPerSecond 500 Host: network message limit per player, all kinds together.
MaxChatMessagesPer5Seconds 5 Host: chat messages one player can send in 5 seconds.
LogSamples false Also write measurement lines (*-SAMPLE) to the log. Only turn this on if we ask you to.

Where do I find rule names? At the end of every chat notice (the dimmed word, for example CHAT-RATE) and in BepInEx/LethalGuardPlus.log.

Where do I find a SteamID? /bans and /recent show them, and so does LethalGuardPlus.log. You can also copy it from the player's Steam profile link.