Player

Results 33 issues of Player

The script could use some improvements, at the very least adding a reasonable heap size default and `nogui` since there are zero legitimate uses of the server gui thanks to...

The defaults can easily miss the user's expectations, especially for the mc version. A default interactive mode should make this much less error prone.

This bypasses the URL connection for cases where the jar file may not be used after startup. Needs testing (hopefully) fixes https://github.com/FabricMC/fabric-loader/issues/920

This already seems to be enough to make MC 1.21.1 run with Java 23, Fabric API and an ASM version incompatible with the active JDK. It doesn't look like Mixin...

The previous implementation always throws since it passes the wrong class to Enum.valueOf (e.g. `CompatibilityLevel$2` instead of `CompatibilityLevel`)

A request like https://meta.fabricmc.net/v2/versions/loader/1.20.1/invalidHere/server/json give a misleading error, suggesting that the game version is unknown instead of the loader version being wrong.

This should allow for much shorter command lines, especially in-dev, when using `@listFilePath` as the value. The arg is otherwise very similar to fabric.addMods. Another benefit is avoiding pollution of...

Reported on Discord by MatheGeek. Affects URLs such as `file:/D:/Coding/powercraft-revived/build/classes/kotlin/test/io/github/powercraft/test/ForthTest$test%20compilation%20fails%20on%20unbalanced%20control%20flow$$inlined$assertThrows$1.class` with a localPath `io/github/powercraft/test/ForthTest$test compilation fails on unbalanced control flow$$inlined$assertThrows$1.class`. The previous implementation didn't expect or handle the percentage escaped...