GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • S1API

This view

  • Original page
  • New address

GeezerVison is showing ifbars.github.io — S1API Quickstart | S1API Documentation

Table of Contents

S1API Quickstart

Create a small Schedule One mod with S1API by referencing the package, subscribing to a lifecycle event, and logging from inside the game runtime.

Create a mod project

Start from S1APITemplate when you want the fastest path. For a manual project, reference S1API.Forked and your mod loader packages, then build your mod assembly as usual.

<ItemGroup>
  <PackageReference Include="S1API.Forked" Version="*" />
</ItemGroup>

Hook into the game lifecycle

Use S1API lifecycle hooks instead of guessing when game systems are ready.

using MelonLoader;
using S1API.Lifecycle;
using S1API.Logging;

public sealed class MyFirstS1Mod : MelonMod
{
    public override void OnInitializeMelon()
    {
        GameLifecycle.OnSaveLoaded += OnSaveLoaded;
    }

    private static void OnSaveLoaded()
    {
        Log.Info("S1API is loaded and the save is ready.");
    }
}

Add one real feature

Once the lifecycle hook works, choose the module that matches your mod:

  • Create a character with NPCs.
  • Add a quest with Quests.
  • Register content with Items.
  • Build an in-game app with Phone Apps.
  • Persist state with Saveables.

Validate in game

Build your mod, place the output DLL in the expected mod folder, and launch Schedule One. Check the MelonLoader console for your S1API log line before adding more behavior.

Edit this page
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.