Skip to content

Releases: Timberborn-Modding-Central/TimberAPI

v0.5.4.0

12 Apr 20:37
Compare
Choose a tag to compare
Updated versions

v0.5.3.2

14 Feb 14:44
Compare
Choose a tag to compare
Updated versions

v0.5.3.1

01 Jan 17:25
Compare
Choose a tag to compare

TimberAPI v0.5.3.1

Hotfix

Changes

  • Changed console monitor shortcut to Backslash

V0.5.0.0

23 Sep 08:32
Compare
Choose a tag to compare

TimberAPI v0.5.0.0 - The Rework

TimberAPI has been fully reworked to have more flexibility on new features and control to the end user. Within this release we have removed the dependency of BepInEx but we are still compatible with it.

NEW:

  • Loader system
  • Bootstrap
  • Mod loader
  • InGame console
  • Config system
  • Compatability checker
  • Version system (compatible with ingame version x.x.x.x)
  • Shader fixer (With new shader fixes thanks to @TobbyTheBobby)
  • Specification generation
  • BuildingSpecification, modify power, recipes & science (Thanks to @hytonhan)
  • Thirdy part licenses notice

REWRITTEN:

  • AssetSystem
  • ConfiguratorSystem
  • Logging
  • DependencyContainer

UNTOUCHED/MINOR CHANGES:

  • Specification system
  • UIBuilder
  • EntityLinker
  • File lang

REMOVED:

  • EventListener
  • lang registery in code
  • Entity action system

Things you need to change as modder

  • create mod.json
  • Add [Configurator(SceneEntrypoint.InGame)] On the top of a configurator class. For multiple entrypoint [Configurator(SceneEntrypoint.InGame) | SceneEntrypoint.MapEditor]
  • If you need patches create a class that implements IModEntrypoint

Special thanks to:
@KYPremco, Rewritten API
@hytonhan, Addition functionality & code reviews
@TobbyTheBobby, Adding more shader fixes
@hawkfalcon, code reviews

v0.5.0.0-rc.2

23 Sep 08:26
730bc83
Compare
Choose a tag to compare
v0.5.0.0-rc.2 Pre-release
Pre-release

TimberAPI v0.5.0.0-rc.2 - The Rework

TimberAPI has been fully reworked to have more flexibility on new features and control to the end user. Within this release we have removed the dependency of BepInEx but we are still compatible with it.

NEW:

  • Loader system
  • Bootstrap
  • Mod loader
  • InGame console
  • Config system
  • Compatability checker
  • Version system (compatible with ingame version x.x.x.x)
  • Shader fixer (With new shader fixes thanks to @TobbyTheBobby)
  • Specification generation
  • BuildingSpecification, modify power, recipes & science (Thanks to @hytonhan)

REWRITTEN:

  • AssetSystem
  • ConfiguratorSystem
  • Logging
  • DependencyContainer

UNTOUCHED/MINOR CHANGES:

  • Specification system
  • UIBuilder
  • EntityLinker
  • File lang

REMOVED:

  • EventListener
  • lang registery in code
  • Entity action system

Things you need to change as modder

  • create mod.json
  • Add [Configurator(SceneEntrypoint.InGame)] On the top of a configurator class. For multiple entrypoint [Configurator(SceneEntrypoint.InGame) | SceneEntrypoint.MapEditor]
  • If you need patches create a class that implements IModEntrypoint

Special thanks to:
@KYPremco, Rewritten API
@hytonhan, Addition functionality & code reviews
@TobbyTheBobby, Adding more shader fixes
@hawkfalcon, code reviews

v0.5.0.0-rc.1

17 Sep 09:50
730bc83
Compare
Choose a tag to compare
v0.5.0.0-rc.1 Pre-release
Pre-release

TimberAPI v0.5.0.0 - The Rework

TimberAPI has been fully reworked to have more flexibility on new features and control to the end user. Within this release we have removed the dependency of BepInEx but we are still compatible with it.

NEW:

  • Loader system
  • Bootstrap
  • Mod loader
  • InGame console
  • Config system
  • Compatability checker
  • Version system (compatible with ingame version x.x.x.x)
  • Shader fixer (With new shader fixes thanks to @TobbyTheBobby)
  • Specification generation
  • BuildingSpecification, modify power, recipes & science (Thanks to @hytonhan)

REWRITTEN:

  • AssetSystem
  • ConfiguratorSystem
  • Logging
  • DependencyContainer

UNTOUCHED/MINOR CHANGES:

  • Specification system
  • UIBuilder
  • EntityLinker
  • File lang

REMOVED:

  • EventListener
  • lang registery in code
  • Entity action system

Things you need to change as modder

  • create mod.json
  • Add [Configurator(SceneEntrypoint.InGame)] On the top of a configurator class. For multiple entrypoint [Configurator(SceneEntrypoint.InGame) | SceneEntrypoint.MapEditor]
  • If you need patches create a class that implements IModEntrypoint

Special thanks to:
@KYPremco, Rewritten API
@hytonhan, Addition functionality & code reviews
@TobbyTheBobby, Adding more shader fixes
@hawkfalcon, code reviews

v0.4.0

16 Jul 21:38
Compare
Choose a tag to compare

The ALL NEW TimberAPI 0.4 is released!

- NEW: Specifications
Add or modify game specifications! Completely JSON-based, this is our first no-code feature.
Specifications have a large range of usage. For example, you can make new or edit existing: Factions, Goods, Needs, Recipes and more. The specifications are automatically loaded within the specification folder relative to your mod location.
More info: https://timberapi.com/specifications/

- NEW: Improved Documentation
Lots of great new guides on https://timberapi.com

- REMOVED: Object Registry
This has been replaced with using Specifications to add GameObjects

Download
https://timberborn.thunderstore.io/package/Timberborn_Central/TimberAPI/
Example
https://timberborn.thunderstore.io/package/Timberborn_Central/TimberAPIExample/
NuGet Dependency
https://www.nuget.org/packages/TimberAPI/0.4.0

v0.3.0

24 Apr 21:59
660ec10
Compare
Choose a tag to compare

The long awaited TimberAPI 0.3 is released!

- NEW: Dependency Container
A new way to retrieve any dependency directly
TimberAPI.DependencyContainer.GetInstance<UIBuilder>();
Our first feature to make harmony use easier, you don't need constructor access.

- NEW: Entity Linker
Provides a 2 way connection between entities to pass or access data on other buildings/components. It's preinstalled, all you have to do is CreateLink on the EntityLinker component

- NEW: Object Registry
Add objects/buildings to our own TimberAPI object collection. You can use this to easily inject buildings.
TimberAPI.CustomObjectRegistry.AddGameObject(customObject);

- IMPROVED: DependencyRegistry
Add multiple configurators at the same time with DependencyRegistry.AddConfigurators
Ensure early load order if necessary (e.g. for ObjectRegistry) with
DependencyRegistry.AddConfiguratorBeforeLoad

- INTERNAL IMPROVEMENT: Logging
Unified the logging within TimberAPI to all use BepInEx's logger

Download
https://timberborn.thunderstore.io/package/Timberborn_Central/TimberAPI/
Example
https://timberborn.thunderstore.io/package/Timberborn_Central/TimberAPIExample/
NuGet Dependency
https://www.nuget.org/packages/TimberAPI/0.3.0

TimberAPI v0.1.0 Beta

19 Nov 20:04
59d5dac
Compare
Choose a tag to compare
TimberAPI v0.1.0 Beta Pre-release
Pre-release

Last release before launch

TimberAPI

Unofficial API to enable easier Timberborn modding

Currently supported features:

  1. Bind your code easily with depencency injection
  2. Event listening of any event to get triggered on in game actions
  3. A comprehensive UI component builder
  4. Asset injection, provide your own icons or even unity bundles
  5. Labels and localization support

More Information can be found on the wiki

Timberborn Modding Wiki

TimberAPI Documentation

Documentation for TimberAPI

Provided Sample Plugin with API examples

Example Plugin

TimberAPI v0.1.0 Alpha

01 Nov 00:04
59d5dac
Compare
Choose a tag to compare
Pre-release

First release
EVERYTHING IS SUBJECT TO CHANGE. THIS IS AN ALPHA RELEASE!
Two features to start:

  1. Dependency Injection
    TimberAPI.Dependencies.AddConfigurator(new ExampleConfigurator());
  2. Event Listening
    Class : Listener { [OnEvent]...

See the WIKI

There's also a working example which just prints a lot of things to console at the moment
https://github.com/Timberborn-Modding-Central/TimberAPI/blob/main/TimberAPIExample/TimberApiExamplePlugin.cs