Add admin distribution editor
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
"kind": "modpack",
|
||||
"description": "설명",
|
||||
"details": "설치 페이지 상세 패널에 표시할 긴 설명",
|
||||
"distributionUrl": "https://example.com/launcher/distribution.json",
|
||||
"defaultServerAddress": "example.com:25565",
|
||||
"allowCustomServerAddress": true
|
||||
"distributionUrl": "admin/data/distributions/my-modpack.distribution.json"
|
||||
},
|
||||
{
|
||||
"id": "my-map",
|
||||
@@ -29,10 +27,9 @@
|
||||
"kind": "map",
|
||||
"description": "싱글플레이 월드",
|
||||
"details": "월드와 플레이 방식에 대한 상세 설명",
|
||||
"distributionUrl": "https://example.com/launcher/vanilla-map-distribution.json",
|
||||
"distributionUrl": "admin/data/distributions/my-map.distribution.json",
|
||||
"worldArchiveUrl": "https://example.com/worlds/my-map.zip",
|
||||
"worldDirectoryName": "My Map",
|
||||
"allowCustomServerAddress": false
|
||||
"worldDirectoryName": "My Map"
|
||||
},
|
||||
{
|
||||
"id": "my-server-pack",
|
||||
@@ -40,14 +37,13 @@
|
||||
"kind": "server-pack",
|
||||
"description": "클라이언트 + 로컬 서버 번들",
|
||||
"details": "서버 실행 방법, 권장 인원, 접속 방식 등 상세 설명",
|
||||
"distributionUrl": "https://example.com/launcher/server-pack-client-distribution.json",
|
||||
"distributionUrl": "admin/data/distributions/my-server-pack.distribution.json",
|
||||
"serverBundleUrl": "https://example.com/serverpacks/my-server-pack.zip",
|
||||
"serverDirectoryName": "my-server-pack",
|
||||
"serverLaunchCommand": "java -jar server.jar nogui",
|
||||
"serverPort": 25565,
|
||||
"tunnelCommand": "playit-cli --port ${port}",
|
||||
"tunnelAddressRegex": "([a-zA-Z0-9.-]+:\\d+)",
|
||||
"allowCustomServerAddress": true
|
||||
"tunnelAddressRegex": "([a-zA-Z0-9.-]+:\\d+)"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -60,9 +56,7 @@
|
||||
- `kind`: `modpack`, `map`, `server-pack`
|
||||
- `description`: 표시 설명
|
||||
- `details`: 설치 페이지 상세 패널에 표시할 긴 설명
|
||||
- `distributionUrl`: Helios distribution.json URL 또는 로컬 경로
|
||||
- `defaultServerAddress`: 기본 자동 접속 주소
|
||||
- `allowCustomServerAddress`: 사용자가 라이브러리에서 주소를 덮어쓸 수 있는지 여부
|
||||
- `distributionUrl`: Helios distribution.json URL 또는 로컬 경로. 관리자 사이트에서 직접 만들거나 업로드 가능
|
||||
- `worldArchiveUrl`: `kind: map` 일 때 사용할 월드 ZIP 또는 로컬 경로
|
||||
- `worldDirectoryName`: 게임 `saves/` 아래에 설치될 월드 폴더 이름
|
||||
- `serverBundleUrl`: `kind: server-pack` 일 때 사용할 서버 ZIP 또는 로컬 디렉터리/경로
|
||||
|
||||
Reference in New Issue
Block a user