Add command to generate server from CurseForge modpack.

This commit is contained in:
Daniel Scalzi
2023-03-18 17:26:35 -04:00
parent 71c2e9baa0
commit 6b2d9edf26
7 changed files with 212 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ export interface UntrackedFilesOption {
}
export interface ServerMetaOptions {
version?: string
forgeVersion?: string
}
@@ -20,7 +21,7 @@ export function getDefaultServerMeta(id: string, version: string, options?: Serv
const servMeta: ServerMeta = {
meta: {
version: '1.0.0',
version: options?.version ?? '1.0.0',
name: `${id} (Minecraft ${version})`,
description: `${id} Running Minecraft ${version}`,
address: 'localhost:25565',