Skip to content
Foundation
Foundation

Installation and updates

This documentation follows the development branch. It describes what exists today and may change before the next release.

Install

  1. Download foundation-<version>.zip from the releases. Each release says its channel; use a stable release on servers with players when one exists.

  2. Extract the archive into your server's Packages/ folder. It contains a folder named foundation; the folder name is the package identifier and must stay exactly foundation:

    NanosWorldServer.exe
    Config.toml
    Packages/
    └── foundation/
        ├── Package.toml
        └── Shared/
    
  3. Load it. Either add it to the packages list in Config.toml:

    [game]
        packages = [
            "foundation",
        ]
    

    or rely on the packages that use it: a package that lists foundation in its packages_requirements makes the server load Foundation first.

  4. Start the server and check the log for:

    [foundation] INFO  foundation/config: created foundation/config.toml with the default settings
    [foundation] INFO  foundation/core: Foundation 0.1.0 started (API 0.1, server)
    Package 'foundation' (0.1.0) loaded.
    

    On the first start, Foundation creates its settings file, foundation/config.toml, next to the server executable; later starts log loaded foundation/config.toml instead. See Configuration.

Update

Stop the server, replace the Packages/foundation/ folder with the new version and start the server again. The package folder contains no server data, so replacing it loses nothing: settings and stored data are kept in the foundation/ folder next to the server executable.

Read the changelog before updating: it lists changes that need action from server owners or package developers.

Remove

Remove foundation from packages in Config.toml and delete Packages/foundation/. Packages that require Foundation will no longer load. Delete the foundation/ folder next to the server executable as well if you do not want to keep the settings and the stored data.

Last changed on

Imported from commit 444c8a2621 on November 25, 2026.