You are viewing a potentially older version of this package. View all versions.
CoreMods-CoreLib-2.0.1 icon

CoreLib

A library that makes modding Core Keeper easier

Date uploaded a year ago
Version 2.0.1
Download link CoreMods-CoreLib-2.0.1.zip
Downloads 6054
Dependency string CoreMods-CoreLib-2.0.1

This mod requires the following mods to function

BepInEx-BepInExPack_Core_Keeper-2.0.3 icon
BepInEx-BepInExPack_Core_Keeper

BepInEx pack for Core Keeper. Preconfigured and includes Unity Base DLLs.

Preferred version: 2.0.3

README

CoreLib

A modding library for Core Keeper. Provides features that makes modding Core Keeper easier.

WARNING! Version 2.0.0 contains breaking changes. Make sure to update ALL of your mods before proceeding!

List of features

  • Custom items, blocks, enemies, NPC, etc.
  • Adding items using JSON
  • Easier access to Rewired input system, localization
  • Custom chat commands

And much more!

Note on multiplayer and save compatibility

If you are playing with friends MAKE SURE to sync your CoreLib.ModEntityID.cfg and CoreLib.TilesetID.cfg config files. If anything inside does not match you WILL encounter issues connecting, missing items, and errors.

The same applies if you are loading a save of another user. If your ID's don't match the ID's save was created with, the save will load corrupted.

I recommend any mods adding custom content warn users about this on their page.

This might get improved later, but right now this is best that you can do.

Documentation

Documentation can be found in the submodules folder. Browse each folder to find each module documentation

How to support development

If you like what I do and would like to support development, you can donate.

Installation

With Mod Manager

Simply open the mod manager (if you don't have it install it here), select CoreLib by CoreMods, then Download.

If prompted to download with dependencies, select Yes. Then just click Start modded, and the game will run with the mod installed.

Manually

Install BepInEx Pack from here

Unzip all files into Core Keeper\BepInEx\plugins\CoreLib/ (Create folder named CoreLib)

CHANGELOG

v2.1.3

  • Fixed issues using ModProjectile

v2.1.2

  • Allow to manually request any module to be loaded from config options
  • Added MigrationModule. Module is intended to be opt in functionality to fix issues with missing items. Enable in the config file.
Changelog

v2.1.1

  • Fixed error on launch due to reflection error

v2.1.0

  • Fixed compatibility with game version 0.6.0 and higher
  • Chat command handlers can be registered separately
  • Added Dump chat command
  • Added drop and modify JSON loader
  • Added Prefab modification API to EntityModule
  • Changed method signatures for workbench registration

v2.0.1

WARNING: Update all of your mods when installing version 2.0.0 or higher!

  • Fixed crash on dedicated servers when Entity module tried to register visual prefabs
  • Fixed IDynamicItemHandler color replacement logic being broken

v2.0.0

WARNING: Update all of your mods when installing version 2.0.0 or higher!

  • Use Il2CppInterop from my PR branch to allow for advanced DOTS features
  • Added Component module, which allows to create custom ECS components
  • Added System module, which allows to create pseudo systems and state requesters
  • Renamed CustomEntity module to Entity module. Mods which used it need to update
  • Added ModCraftingRecipeCDAuthoring to allow to assign custom recipes from Unity editor
  • Json Loader module now can create custom blocks using JSON
  • Fix Entity module impaired functionality

v1.4.0

WARNING: Update all of your mods when installing this version!

  • Fixed compatibility with game version 0.5.2.0 and higher
  • Custom Entity module may not function fully due to Unity version bump. Use at your own risk.

v1.3.1

  • Fixed a crash when using NativeTranspiler (Also AudioModule)
  • Allow to load AudioClip from a .wav file

v1.3.0

  • Public release of JSON loader module
  • Added Equipment Slot Module
  • Added RuntimeMaterialV2 which uses FixedString
  • Added ModObjectTypeAuthoring

v1.2.4

  • Add IDynamicItemHandler interface

v1.2.3

  • Add unboxed variant of NativeList
  • Another missed GCHandle in ModProjectile added

v1.2.2

  • Add missing GCHandles

v1.2.1

  • Fixed compatibility with game version 0.5.1.0 and higher
  • Stop adding mod workbench when no one uses it

v1.2.0

  • Fixed compatibility with game version 0.5.0.0 and higher
  • Chat Commands Module now uses Rewired Keybinds

v1.1.2

  • Fixed crashes and issues when using advanced features of CustomEntityModule

v1.1.1

  • @ CaptainStupid#8539: Fix for Localization failing on vanilla ObjectIDs

v1.1.0

  • Update to BepInEx 6.0.0-be.656
  • Added Audio Module
  • Added Drop Tables module
  • Added Mod Resources module
  • Added Utils Module
  • Significant improvements to Custom Entity Module. Custom almost anything is possible now.

v1.0.0

WARNING! This version contains breaking changes. Make sure to update ALL of your mods before proceeding!

  • Refactor project structure. Now using submodules.
  • Localization, Rewired keybinds are moved into their own submodule
  • Added Chat commands submodule
  • Added Custom Entity submodule

v0.1.1

  • Now supports dedicated servers

v0.1.0

  • Added Localization helper class
  • Added RewiredKeybinds helper class
  • Improve README

v0.0.1

  • Initial Release