Skip to content

@lands.io/mod-sdk / GameConfig

Interface: GameConfig

Table of contents

Properties

Properties

bots

bots: number


difficulty

difficulty: Difficulty


fakeHumans

Optional fakeHumans: number


gameMap

gameMap: string


gameType

gameType: GameType


infiniteGold

infiniteGold: boolean


infiniteTroops

infiniteTroops: boolean


maxPlayers

Optional maxPlayers: number


modConfig

Optional modConfig: JsonValue


modId

Optional modId: string


Source Code

View full implementation
export interface GameConfig {
  gameMap: string;
  difficulty: Difficulty;
  gameType: GameType;
  bots: number;
  fakeHumans?: number;
  infiniteGold: boolean;
  infiniteTroops: boolean;
  maxPlayers?: number;
  modId?: string;
  modConfig?: JsonValue;
}