You are viewing a potentially older version of this package. View all versions.
AMRV-ConfigurableCompany-2.6.0 icon

ConfigurableCompany

An API to allow modders to create save-dependant configurations that remain between matches and can sync. These configs will be shown in an in-game menu

Date uploaded 2 weeks ago
Version 2.6.0
Download link AMRV-ConfigurableCompany-2.6.0.zip
Downloads 25224
Dependency string AMRV-ConfigurableCompany-2.6.0

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

ConfigurableCompany

Add a in-game menu that contains organized configurations that automatically sync between players if required. These configurations are save-dependant and are saved between sessions.

This is an API, does not contain configurations itself, only the tools for other developers to implement their own. You can have a mod that uses this API and also provides some features with Lethal company variables.

NuGet package
Contact me
How to use

This is BepinEx Plugin that allows the developer to create configurations that will be displayed in-game so the user can modify them freely.

How it works

If any configuration is created, a menu will appear alongside the file selection menu where the user will be able to modify some values to customize their game.

The configurations do save between matches so no need to modify them every time you start the same game. Also configurations are file-dependant so you can have different values on each save slot.

For example you can have a x10 enemy spawn multiplier for your first game slot and in the second game slot have a x0 enemy spawn multiplier.

Guides

How to install Recommended to use a mod manager
Setup for developing Guide for visual studio

Developing categories Developing configurations Developing pages Using events

Screenshots

Ingame menu (filled with random data)

Menu image

Contact

Contact the mod author directly on discord the_ansuz
Join the lethal company modding discord and ask in the corresponding forum
Create a github issue regarding your needs

CHANGELOG

2.6.0

Fixed

  • Menu not appearing when hosting after joining a game

Added

  • Configurations can be reverted by clicking while holding Shift key
  • Configurations can be reset by clicking while holding Ctrl + Shift
  • Added experimental tag
  • Added buttons to copy and paste configurations so you can share them with your friends

Deprecated

  • The attribute Needs restart is now obsolete, it will be removed in future releases.
    The decision has been made because developers should try to make their settings modificable even after the game has started. This might be hard to understand but Ill be glad to help anyone who needs asistance with it, you can also check Lethal company variables and see how it implements this functionality.

Removed

  • Removed the log entry when loading configurations from file

2.5.2

Modified

  • Now configurations will not depend upon the region/language of the computer

2.5.3

  • Updated project target framework for net standard 2.1

2.5.2

Added

Modified

  • Internal changes to in-game menu for better compatibility implementation

Fixed

  • Configurations won't reset to their previous state when clicking [ BACK ] button

2.5.1

Added

  • Added public project repository
  • Added Issues
  • Added github wiki
  • Added new contact methods
  • Added Information / Guide button to show a simple usage for the menu

Modified

  • Updated contact information in readme

2.5.0

If you created your own ConfigurationType you MUST update your mod with the newer internal implementation

Added

  • New configuration type ConfigurationTypes.StringOfLength(int) that allows for a string with a maximum length (this can go up to 48 characters)
  • New configuration type ConfigurationTypes.Options(Enumeration / collection of values) that let the user choose one option from a list, you can get back the value as an int (for the index) or as a T (for the value at the index)

Modified

  • Now config getters allow to get their value as other types, for example a float config as an int without casting
  • The image now is from a trusted somain so everyone should be able to see it (NuGet only)
  • Added spacing to the tooltip's type range values
  • Category open state now persists during sesions
  • Changed icon to a more modern design

Fixed

  • Removed strict casting when getting configuration values as a T type
  • Configuration values now reset correctly with newly generated configurations

2.4.1

Fixed

  • Configuration pages now have a better title fitting with font scaling

Modified

  • Default page and category now will only appear if a developer uses them (a getter will spawn them)

2.4.0

Added

  • New configuration types: RangedInteger, RangedFloat and Slider (a slider that allows to set a min and max values)

Fixed

  • Page changing to the left is now cyclic

2.3.4

Fixed

  • The disabled menu information now displays correctly
  • Menu not being displayed again when leaving using leaderboard button

2.3.3

Modified

  • Now there is no configuration menu for challenge mode (this is a temporal change and might change depending on the result of the voting. You can vote in the official modding discord or contact directly to the_ansuz)

Added

  • The voting information is displayed when selecting the challenge file

2.3.2

There is absolutely nothing added, some people just want to see the mod updated to make sure it works with the next update

2.3.1

Added

  • v47 compatibility

Modified

  • Updated mod information
  • Reset file now resets even configs that are not loaded (deleting the config file)

Fixed

  • Fixed change file error when there are no mod configs

2.3.0

Added

  • Configurations are now organized in different pages

Fixed

  • Reworked 2.2.0 changes
  • Quit button not working on specific circumstances