Nydauron-LC_EZAdmin icon

LC EZAdmin

An admin plugin for server hosts

Last updated 10 months ago
Total downloads 668
Total rating 0 
Categories Mods BepInEx Server-side
Dependency string Nydauron-LC_EZAdmin-1.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

LC_EZAdmin

A Lethal Company extension plugin for server admins

Installation

Thunderstore Mod Manager (reccommended)

Prequistes

  • BepInEx

Steps to install

  1. Install the plugin through the Thunderstore Mod Manager.
  2. To check if you have installed correctly, check your BepInEx console for the following text:
    [Message:LC_EZAdmin] LC_EZAdmin has started
    [Info   :LC_EZAdmin] Reading banned_ids.txt ...
    [Info   :LC_EZAdmin] Sucessfully loaded in 0 players into ban list
    [Message:LC_EZAdmin] LC_EZAdmin has finished loading
    

Manual

Prequistes

  • dotnet >= 8.0
  • BepInEx

Steps to install

  1. Within LC_EZAdmin.csproj, make sure to replace the placeholder value inside the <Reference> tag to point to your Lethal Company/Lethal Company_Data/Managed folder otherwise, you will get a lot of missing dll errors.

  2. To build, run:

    dotnet build
    

    The built files will then be located within build/Debug/netstandard2.1.

    If you want to build under the release configuration, run:

    dotnet build --configuration Release /p:DebugSymbols=false /p:DebugType=None
    

    and the build files will be located within build/Release/netstandard2.1.

  3. Copy the org.bepinex.plugins.LC_EZAdmin files into a separate folder with a non-conflicting name (e.g. Thunderstore client would default to Nydauron-EZ-Admin) and place the created folder into your BepInEx/plugins folder.

  4. To check if you have installed correctly, check your BepInEx console for the following text:

    [Message:LC_EZAdmin] LC_EZAdmin has started
    [Info   :LC_EZAdmin] Reading banned_ids.txt ...
    [Info   :LC_EZAdmin] Sucessfully loaded in 0 players into ban list
    [Message:LC_EZAdmin] LC_EZAdmin has finished loading
    

Features

  • Persistent ban list
    • Turns the server kick into a semi-permanent ban
    • Players that are kicked are subsequently banned from future servers the host runs
    • Ban list is stored at <YOUR_LETHAL_COMPANY_INSTALLATION>/banned_ids.txt
    • To remove someone from the ban list, find their steamid in banned_ids.txt and remove that line from the file

This plugin has been tested to work with MoreCompany and LateCompany.

Planned features

  • Add UI for adding a dedicated "ban" button
    • Will be togglable via configuration

Inspired by