Commit Graph

193 Commits

Author SHA1 Message Date
65ede11ab5 Improves behavior when an error occurs during backup 2021-09-27 23:19:52 +02:00
c26a3bc3b5 Adds some backup fixes
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Fixes a potential NullPointerException
Adds a check to make sure the backup location has enough available space
Adds a message when calculating backup size to make it clear that the software is not frozen
2021-09-27 22:24:06 +02:00
71e47acbb0 Improves the readability of the backup code a bit
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-09-27 22:06:56 +02:00
60fdcf5ddc Adds a proper GUI to display backup progress
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Extracts backup code to its own class
Adds a new GUI to display progress and the file copied
2021-09-27 21:39:15 +02:00
bf77c13072 Fixes some behavior regarding backups
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Makes sure to only proceed with backups if a valid path is given
Makes the backup run in its own thread to prevent the software from locking up
Makes sure only one backup can be running at once
2021-09-27 18:06:33 +02:00
849655bfc6 Fixes a bug causing newlines to disappear when a console is truncated
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-26 14:19:40 +02:00
e8ecee1cd0 Updates the README as it was starting to get quite outdated 2021-08-25 23:32:13 +02:00
5e24d5daa8 Improves checking for whether a server should be delayed before starting
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-24 16:08:02 +02:00
9532683301 Fixes a NumberFormatException when running custom versions without a version number
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-23 16:43:35 +02:00
365d08f2e2 Changes download URLs of Paper to papermc.io
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Updates software version
Stores version of downloaded Paper .jar files
Completes #8
2021-08-23 14:53:39 +02:00
9d8531535d Updates software version to 1.3.4
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-21 15:28:28 +02:00
30de4b2139 Clarifies an error message 2021-08-21 14:01:22 +02:00
133e335905 Fixes a bug causing the software to be stuck in the Stopping Servers state
Fixes the case where the software tries to stop servers while no servers are actually running.
This also fixes #10
2021-08-21 13:53:41 +02:00
44d8d6ee6b Extracts a ServerHandler from the Server class to reduce complexity 2021-08-21 13:43:27 +02:00
cd396eee6b Fixes a NullPointerException caused by cancelling an input prompt 2021-08-21 13:09:18 +02:00
c67f3bdd2c Closes issue #9
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Adds a catch to prevent the software from crashing when checking for an update fails
2021-08-17 19:42:18 +02:00
8476c78589 Makes sure never to add a newline when writing an empty string to a file 2021-08-17 19:32:47 +02:00
a79300732d Splits the code for reading the software version into its own function 2021-08-17 19:32:11 +02:00
b6baa9ad6f Updates software version to 1.3.3
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-17 01:08:14 +02:00
c2f12a1a49 Adds the underscore character to regexes for player detection
This fixes a bug where players with underscores in their names won't be added to the player list
2021-08-17 01:07:20 +02:00
5030b4932b Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 15:22:34 +02:00
e47b34a472 Improves output logging and fixes some bugs
Fixes an error caused by the BuildTools directory not being created
Creates functions for writing to files in CommonFunctions
Adds some more error info to the log when BuildTools fails to download
Fixes some typos
Makes sure all visible text is logged
2021-08-03 15:22:04 +02:00
28291cf4c3 Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 14:00:32 +02:00
f8ba6e7ad1 Fixes the software crashing if an old configuration is used
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 14:00:02 +02:00
c9c2a1b43b Fixes a maven warning
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 13:44:39 +02:00
0425617f4c Updates software version to 1.3
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 13:18:57 +02:00
12189c12d7 Comments out SpongeVanilla and SpongeForge for now
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 12:48:23 +02:00
00cfe78491 Increases readability a bit 2021-08-03 12:28:21 +02:00
dc362eb2c8 Simplifies the version comparator a bit
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 12:23:59 +02:00
73faa4408e Makes the version comparator more generic 2021-08-03 12:14:59 +02:00
85febdf41b Improves version checking to prevent and update notice when running an unreleased version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 11:50:32 +02:00
6ca49d2ccd Adds a menu item for easily delete built .jar files
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 11:06:02 +02:00
429b1fcec0 Improves readability of the server launcher menu code 2021-08-03 10:40:12 +02:00
33795a90a9 Prevents jars from being built as part of jar downloading
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-03 10:16:43 +02:00
e4be75b770 Finishes custom java path
Adds missing menu items
Adds menu item functionality
2021-08-02 22:24:10 +02:00
0018816d90 Makes the software build Spigot and CraftBukkit jars if the latest version is chosen 2021-08-02 21:50:12 +02:00
f1eead3807 Adds various fixes to make the two java versions work as expected
Makes it possible to load a controller without generating a GUI, for better testing
Makes sure not to try and parse empty profile lines
Saves controller settings in a more readable and appendable format
Adds code for using the correct java version for the occasion
Adds a new function for writing to files
2021-08-02 21:06:22 +02:00
6ec44f1f92 Improves console and GUI messages
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Adds newlines when writing to console
Add Error: on lines containing an error
Makes it clearer when a jar build is successful
Makes failures show errors rather than throwing exceptions
2021-08-02 17:57:09 +02:00
d61239c417 Removes BuildTools files after tests have finished 2021-08-02 17:54:35 +02:00
32c17c6005 Improves writing speed when not using a GUI
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Uses buffered writers instead of System.out
Uses a GUI for writing JarBuilder messages
Adds some missing comments to the jar builder
2021-08-02 16:49:35 +02:00
52eacb9980 Adds 1.17 to server versions 2021-08-02 16:22:04 +02:00
043f2045e6 Makes some improvements
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Saves the downloaded BuildTools version to the server version container
Adds a check to see whether the BuildTools file exists
Adds a helper function for reading local files
2021-08-02 16:09:22 +02:00
51ceac69da Makes the jar building finally work
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-08-02 11:38:43 +02:00
123a8eddda Adds some still not working code for building spigot and bukkit .jar files
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-06-11 20:41:30 +02:00
8cdb1f143c Adds a new function for deleting files recursively 2021-02-12 16:12:58 +01:00
3254481326 Improves server waiting and killing
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
Makes the client force stop servers if the stop button is clicked more than once
Prevents new servers from starting after server stop is initialized
2021-02-05 18:41:54 +01:00
fb705f4e13 Adds server console truncation after 1000 lines of output
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-02-05 15:53:29 +01:00
15dd8db31b Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-01-29 20:42:56 +01:00
fa6a0df4c7 Removes the annoying delay before starting the first server when enabling server delay 2021-01-29 20:30:07 +01:00
8b0423e231 Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-01-28 03:09:28 +01:00