Releases: dscalzi/helios-distribution-types
v1.3.0 - Fabric Support
v1.2.0 - Enhanced Java Configurations
Release v1.2.0
This release adds enhanced configuration options for Java. You may now define the javaOptions
property at the server level to define how Java should be handled for that server alone. Sample:
"javaOptions": {
"supported": ">=17",
"suggestedMajor": 17,
"platformOptions": [
{
"platform": "darwin",
"architecture": "arm64",
"distribution": "CORRETTO"
}
],
"ram": {
"recommended": 3072,
"minimum": 2048
}
}
Properties defined under javaOptions
apply globally to all platforms and architectures. You may override a property for a particular platform in the platformOptions
property. The launcher will apply the Java options indivudually according to priority. In the above example, the server is set to allow any Java version greater than or equal to 17 with a suggested version of 17. The suggested version is what will be displayed in informational messages, and will be the target for automatic Java downloads. Note that the suggested version should always be an LTS version of the JDK. The Java distribution used in automatic java downloads is not set, meaning that the launcher will make a default decision. For macOS arm64, we provide a platform option to specify that automatic Java downloads should use Amazon Corretto. The order of precedence is defined as follows:
- Current platform, current architecture (ex. win32 x64).
- Current platform, any architecture (ex. win32).
- Java Options base properties.
- Client logic (default logic in the client).
Available also is a ram
property. This allows you to require a minimum and recommended amount of RAM per server instance. The minimum is the smallest value the user can select in the settings slider. The recommended value will be the default value selected for that server. These values are specified in megabytes and must be an interval of 512. This allows configuration in intervals of half gigabytes. In the above example, the recommended ram value is 3 GB (3072 MB) and the minimum is 2 GB (2048 MB).
These new properties should allow for more dynamic Java configurations moving into the future, allowing rapid support of new Minecraft versions if they change their Java requirements. Version 1.2.0 of the distribution spec will be supported in Helios Launcher v2.0.0.
For more details about the new properties, you may view the spec files directly. https://github.com/dscalzi/helios-distribution-types/blob/master/lib/spec/java.ts
v1.1.0 - Add Classpath Option
Add an option to facilitate 1.17+ support.
Additions
- 256d50a Add option to omit library from java classpath.