Type alias Config

Config: {
    debug: boolean;
    folder: string;
    join: string;
    leave: string;
    maxCacheSize: number;
    plugins: {
        [plugin: string]: Plugin;
    };
    port: number;
    ssl?: {
        cert: string;
        key: string;
    };
    type: "core" | "express" | "socket" | "uws";
}

chef config

Type declaration

  • debug: boolean
  • folder: string
  • join: string
  • leave: string
  • maxCacheSize: number
  • plugins: {
        [plugin: string]: Plugin;
    }
  • port: number
  • Optional ssl?: {
        cert: string;
        key: string;
    }
    • cert: string
    • key: string
  • type: "core" | "express" | "socket" | "uws"

Generated using TypeDoc