-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
382522a
commit 362828b
Showing
11 changed files
with
119 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Maven | ||
|
||
> Added in 0.4.0 | ||
Download from a [Maven](https://maven.apache.org/) instance. | ||
|
||
**Fields:** | ||
|
||
| Name | Type | Description | | ||
| ---------- | --------- | ----------------------------- | | ||
| `type` | `"maven"` | | | ||
| `url` | string | URL to the Maven instance | | ||
| `group` | string | The group, seperated with `.` | | ||
| `artifact` | string | The name of the artifact | | ||
| `version` | string | The version of the artifact | | ||
| `filename` | string | Filename to download | | ||
|
||
!!! note | ||
The strings can contain variable syntax: | ||
|
||
- `${mcver}` or `${mcversion}` for the `mc_version` in [server.toml](../server.toml.md) | ||
- `${artifact}` for the resolved artifact (in `version` or `filename`) | ||
- `${version}` for the resolved version (in `filename`) | ||
|
||
!!! note | ||
For the `version` field, its first checked if the given version exists on the artifact. If it doesn't, it will pick the first version that contains the contents of `version` | ||
|
||
This is also true for the `filename` field | ||
|
||
**For example:** | ||
|
||
```md | ||
Lets assume these are the versions and their files: | ||
|
||
- 1.19.4-1.0.0 | ||
- amongus-1.19.4.jar | ||
- amongus-1.19.4-extra-sus.jar | ||
- 1.19.4-3.6.7 | ||
- 3.6.7.jar | ||
|
||
And that: | ||
- artifact: "amongus" | ||
``` | ||
|
||
| `mc_version` | maven `version` | resolved version | maven `filename` | resolved filename | | ||
| :----------- | :--------------- | :--------------- | :-------------------------- | :----------------------------- | | ||
| `1.19.4` | `${mcver}-1.0.0` | `1.19.4-1.0.0` | `${artifact}-${mcver}.jar` | `amongus-1.19.4.jar` | | ||
| `1.19.4` | `${mcver}` | `1.19.4-1.0.0` | `${artifact}-${mcver}-extr` | `amongus-1.19.4-extra-sus.jar` | | ||
| `1.19.4` | `${mcver}-3` | `1.19.4-3.6.7` | `${version}.jar` | `3.6.7.jar` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Forge | ||
|
||
Downloads the server jar from [Forge](https://forums.minecraftforge.net/) | ||
|
||
**Fields:** | ||
|
||
| Name | Type | Description | | ||
| -------- | ----------------- | --------------------- | | ||
| `type` | `"forge"` | | | ||
| `loader` | string/`"latest"` | Loader version to use | | ||
|
||
```toml | ||
type = "forge" | ||
loader = "latest" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# NeoForge | ||
|
||
Downloads the server jar from [NeoForge](https://neoforged.net/) | ||
|
||
**Fields:** | ||
|
||
| Name | Type | Description | | ||
| -------- | ----------------- | --------------------- | | ||
| `type` | `"neoforge"` | | | ||
| `loader` | string/`"latest"` | Loader version to use | | ||
|
||
```toml | ||
type = "neoforge" | ||
loader = "latest" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters