MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / IGlobalInstanceConfig

Interface IGlobalInstanceConfig

common/global.d.ts:2–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1declare global {
2 interface IGlobalInstanceConfig {
3 nickname: string;
4 startCommand: string;
5 stopCommand: string;
6 cwd: string;
7 ie: string;
8 oe: string;
9 createDatetime: number;
10 lastDatetime: number;
11 type: string;
12 tag: string[];
13 endTime: number;
14 fileCode: string;
15 processType: ProcessType;
16 updateCommand: string;
17 runAs: string;
18 actionCommandList: any[];
19 crlf: number;
20 category: number;
21 basePort: number;
22
23 // Steam RCON
24 enableRcon?: boolean;
25 rconPassword?: string;
26 rconPort?: number;
27 rconIp?: string;
28
29 // Java
30 java: IInstanceJavaConfig;
31
32 // Old fields
33 terminalOption: {
34 haveColor: boolean;
35 pty: boolean;
36 ptyWindowCol: number;
37 ptyWindowRow: number;
38 };
39 eventTask: {
40 autoStart: boolean;
41 autoRestart: boolean;
42 autoRestartMaxTimes: number;
43 ignore: boolean;
44 };
45 docker: IGlobalInstanceDockerConfig;
46 pingConfig: {
47 ip?: string;
48 port?: number;
49 type?: number;
50 };
51 extraServiceConfig: {
52 openFrpTunnelId?: string;
53 openFrpToken?: string;
54 };
55 }
56
57 type ProcessType = "general" | "docker";
58

Callers

nothing calls this directly

Implementers 1

InstanceConfigdaemon/src/entity/instance/Instance_co

Calls

no outgoing calls

Tested by

no test coverage detected