Skip to content

Release 3.0.0-alpha.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Sep 15:25

Upgrading from previous alpha? Delete your serverpackcreator.properties first!

3.0.0-alpha.3 (2021-09-04)

✂️ Refactor

  • Create modpacks downloaded from CurseForge in the work/modpacks-directory. (3178326)
  • DI serverpackcreator.properties everywhere! (4b01d4a)
  • Initialize addons and check/create files when creating our DefaultFiles and AddonsHandler instances. (864f10c)
  • Refactor tailers to run in threads. ServerPackCreator can still become unresponsive if you resize during zip-creation, after a Forge server was installed, though..... (d4c986e)
  • Set server-packs directory to /server-packs. Add new configuration to config. Add volume to Dockerfile. Update documentation in README (267e3e9)
  • Switch options to YES_NO to ensure users is always warned about empty javapath setting if they did not choose to select it now. (c6f4ef8)

⏩ Performance

  • Perform version checks with lists gathered by VersionLister. (d440e5e)
  • Retrieve Forge versions from HashMap with Minecraft version as key instead of re-reading list and lists and arrays of data again and again and again, (0018abc)

💈 Style

  • Declare fields above constructor. Only have methods under constructor. (76c6b58)
  • Reorder calls in Main.main to reflect importance. Makes it slightly more readable as well. (576cbae)

📔 Docs

  • Add missing parameter to setJavaArgs (761e2fd)
  • List server-packs directory for volumes (82b13e4)
  • Update table of methods for classes (eeb6887)
  • Write missing documentation for getters and setters for javaargs and javapath settings (f29924b)

🦊 CI/CD

  • Update dependencies. Cleanup & readability. (fe583aa)
  • Disable Docker pipelines for the time being. Docker is acting up and building Docker images of the webservice-branch is not necessary as I have yet to start actual work on the webservice itself. (f45e25f)

🚀 Features

  • Allow users to disable cleanups of server packs and downloaded CurseForge modpacks. Can save bandwidth, time and disk operations, if the user is interested in that. (3155af4)
  • Allow users to disabled server pack overwriting. If de.griefed.serverpackcreator.serverpack.overwrite.enabled=false AND the server pack for the specified modpack ALREADY EXISTS, then a new server pack will NOT be generated. Saves a LOT of time! (00dd7aa)
  • Allow users to specify a custom directory in which server-packs will be generated and stored in. (4a36e76)
  • Check setting for Javapath upon selecting "Install modloader-server?". If it is empty, the user is asked whether they would like to select their Java executable now. If not, the user is warned about the danger of not setting the Javapath (5d474f1)
  • Provide HashMap of Key-Value pairs in MinecraftVersion-ForgeVersions format. Use a given Minecraft version as key and receive a string array for available Forge versions for said MInecraft versions. (0a0d3b5)

🛠 Fixes

  • Clear text every 1000 lines. Help with issue #76. (132a3dd)
  • Hopefully fix ServerPackCreator becoming unresponsive after generating a few server packs. Hopefully closes issue #76. (aa92d9b)
  • Improve configuration loading. Prevent NullPointers when reading Minecraft version, modloader, modloader version. (0507ab7)
  • Open dialog whether the user wants to browse the generated server pack with our JFrame as parent, instead of JTabbedPane (aa647f7)
  • Prevent dialog after server pack generation from becoming longer with each run. Removes the path to the server pack, though. Meh (2260693)
  • Prevent resizing of window during generation of server pack, to prevent freezes due to Forge installer log spamming. Seriously, that thing spams more than any bot I know of. (89edc6f)
  • Read correct log in modloader-installer log tab (095d05e)

Other

  • Remove unused language keys (43fdba7)