Skip to main content

WorldCommandModule.ForestCommandModule

A static class in Root.Township, Alta.Console.Commands.

Console commands under world forest. Server only.

Methods​

MemberWhat it is
static async Task Reset(ForestGenerator forest)world forest reset (alias wipe): wipes a forest.
static async Task Teleport(PlayerList players, ForestGenerator forest, int nodeIndex = -1)world forest teleport (alias tp): moves players to a forest's first entrance, or to a node if nodeIndex is given.
2 private and internal methods
MemberWhat it is
private static async Task<WorldCommandModule.ForestCommandModule.ForestInfo> Info(ForestGenerator forest)world forest info: returns a forest's seed, bounds, outline, entrances, biomes, encounters and graph, and logs it as JSON.
private static IEnumerable<string> List() (iterator)world forest list: lists every forest generator.