Skip to content

Releases: craftaro/ServerJars-Updater

v3.2.2 - Fixes

14 Aug 20:57
36ca959
Compare
Choose a tag to compare

Changes

  • Fixed flags being ignored
  • Improvements to update checker

v3.2.1 - Compatibility Mode and Debug Features

06 Aug 05:09
2037f87
Compare
Choose a tag to compare

Changes

  • Now you can use the environment variable SJ_COMPATIBILITY=1 to enable the compatibility mode in services where you can't edit the arguments or other cases. This will pass all non serverjars arguments directly to the cli without the need of using --sj.mc or --sj.mcdd
  • Now if you enable the debug mode forge will output the installer logs!

Internal Changes

  • Improvements to forge installer process

v3.2.0 - Fixes and Improvements

01 Aug 21:07
f7acb62
Compare
Choose a tag to compare

Changes

  • Fixed issue that locked the updater to only use the latest paper release
  • Ability to use custom API server and disable HTTPS with new options --sj.apiDomain=<serverjars.com> and --sj.useHttps=<false/true>

Internal Changes

  • Now we use serverCategories because of the API Changes
  • Added caching system to improve performance
  • Updated api to use the new endpoints
  • Now CLI arguments have a higher priority than the file.

Release v3.1.0

20 Jul 01:53
907324b
Compare
Choose a tag to compare

Changes

  • Added forge support:

Forge support will try to install the forge server if a new update arrives or a executor is missing (it still doesn't support missing libraries).

  • Animated jars download
Animated Download (Preview)
default.nloads_bungee.2022-07-18.00-34-25.mp4
  • CLI Arguments
    • ServerJars CLI:
      • --version: Shows the current running version.
      • --help: Shows a list of available commands.
    • ServerJars Settings:
      • --sj.debug: Useful when reporting bugs, it will output more detailed information.
      • --sj.useHomeDirectory: Instead of saving the cached jar files to the folder jar/ it will use the home directory ~/.serverjars/jar.
      • --sj.skipConfigCreation: Skips the creation of a serverjars.properties file using the default values or values from the cli.
      • --sj.serverType={type}: If used with --sj.skipConfigCreation, ServerJars will use this as server type. Defaults to paper.
      • --sj.version={version}: If used with --sj.skipConfigCreation, ServerJars will use this as server version. Defaults to latest.
    • Minecraft Arguments:
      • --mc.*: Use this argument to pass a specific command to the server cli. For example --mc.nogui executes -nogui.
      • --mcdd.*: Like --mc.* passes a specific command to the server cli, but using double dash. For example --mcdd.help executes --help.
  • Now the ServerJars updater will try to run a cached version if there is no connection with the serverjars.com site. This fixes the issue of not executing the server if the site was down.

Make sure to update your command line instructions before upgrading to avoid issues.

Internal changes

  • The build tools was migrated to gradle for better build performance
  • The version is now injected instead of hardcoded.
  • Updated .gitignore to ignore more files
  • Updated Configuration Handler.

Edit (Jul 19th 22:15 CLT)

I've updated the asset ServerJars.jar with the latest fix at the moment

Release v3

20 Jun 12:45
f669d5f
Compare
Choose a tag to compare

Changes

  • Java 16 support (= Minecraft 1.17 support)
  • Servers based on Paper will start again (Fixed Unable to retrieve Instrumentation API to add Paper jar to classpath.)
  • UpdateChecker notifies about new releases of the ServerJars-Updater
    • Checks once a day and notifies on the next launch
    • It will be possible to disable this feature in the future
  • No more illegal reflective access warnings
    • This means that -Djava.system.class.loader=com.songoda.serverjars.JarLoader is deprecated and should not be used anymore
      • com.songoda.serverjars.JarLoader It will be removed in the future

Internal changes

  • Server jars are no longer loaded into the running JVMs classpath but started as a child process instead to ensure that the server is always running in a clean environment
    • Best effort is put into using the same Java executable as used for ServerJars (logs error and defaults to java command instead)
    • Currently, all JVM and application arguments are forwarded to the created child process
      • This might change in future releases as some arguments will be used by ServerJars instead (please keep an eye on the changelogs)
  • Changed how the config is created, loaded and saved
  • Changed how the resulting jar file is made executable
    • Setup GitHub Actions, Dependabot, .github/FUNDING.yml and .editorconfig

version 2

08 Jan 17:12
Compare
Choose a tag to compare

Redid most of the updater to bring better compatibility and visibility all around.