Colony Survival Wiki

Major Update - 0.9 Release

Colony Survival has released update 0.9 which contains a lot of changes. Please be patient as we update the wiki to include all the new content.

For details please see the release announcement on Steam

READ MORE

Colony Survival Wiki
Advertisement
New Colony API
File:New Colony API Logo.png
Version: 1.1.0.0
Owner: JackPS9
Version: 1.1.0.0
Website: N/A
Discord invite: Rise of the New Colonies
Date created: Fed 18th, 2018


Features[]

XP system[]

The API adds an XP system into the game so NPCs can level up. This feature can be used for making mods and can be enabled or disabled in the config. By disabling this, it disables it for all mods using the feature.

Config[]

Adds a system for JSON files to be used as config files. The amount of JSON files that may be used is limited to one per mod.

Logging[]

The API has a customized logging system. If something happens that a modder does not want to happen they can output it to an error log meant for their mod. The types of logging are:

  • Normal, which displays as white text. Meant for mainly loading when starting up.
  • Info, which displays as green text. It is displayed during the game's run time.
  • Error, which displays as red text. This includes anything that the modder does not want to happen, so they can try to fix it.
  • Issue, which is meant for any issues inside the API.

Version checking[]

The API has a version checker that can be used by players to check if a mod is up to date with the mod's latest version.

Type Autoloader[]

By using the base type "Type" (PhentrixGames.NewColonyAPI.Classes.Type, ColonyAPI.Interfaces.IAutoType), the API will auto register your items for you. It'll give off a warning if that type is already registered when loading up the game, will overwrite the already existing one though.

Localization[]

Built in localization so you just pass it the name of your mod as well as the path to your localization folder, the API does the rest.

Event System[]

Power System[]

Mod Dependencies[]

Server features[]

Rotating messages[]

Allows server owners to rotate between a list of messages to send to everyone on the server.

See also[]

Rise of the New Colonies

Advertisement