Skip to main content
Version: 1.0.0

Interface IWorldSeeder

Namespace: ReadyM.SDK.Server.Seeding
Assembly: ReadyM.SDK.Server.dll

Fills a new World. Declare it on a [Service]; the server calls it once, when the World is created rather than loaded from the save.

public interface IWorldSeeder

Remarks​

Game thread, inside the World's creation, before its created event. Entities without a scope belong to the World, so create them with IEntities.Create<T>(). A mod has at most one world seeder. It runs as the server starts, before any player has connected.

Methods​

Seed(World)​

void Seed(World world)

Parameters​

world World