Commit Graph

180 Commits

Author SHA1 Message Date
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
b1454b1156 Improves username login/logout checking by using a proper regex match
Additionally, this commit fixes a bug where instead of Username, users are shown as Username[IP:PORT]
2021-01-28 03:08:10 +01:00
a4d7b1041c Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2021-01-27 16:12:03 +01:00
a705fc8b3e Updates Minecraft server jar versions to 1.16.5 2021-01-27 16:11:50 +01:00
5fe4384b59 Updates software version
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2020-12-28 16:55:02 +01:00
2f31a6c248 Updates server version to 1.16.4 and fixes downloading of waterfall and travertine 2020-12-28 16:54:36 +01:00
70f8b87eef Updates software version to 1.2.3
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2020-09-22 15:15:05 +02:00
a9332c0a6c Removes Spigot 1.16.1 as it is deemed unnecessary 2020-09-22 15:14:07 +02:00
2b6315a914 Rewrites console output. Closes #4
Makes the servers be responsible for their own consoles
Starts reading from console once a server starts, and stops once the server stops
Makes reading from a buffered reader read character by character rather than line by line to fix reading from streams
Makes sure each server's console is read on different threads to prevent lockup
Prevents possible console bugs caused by only reading servers already enabled on startup
2020-09-22 15:12:07 +02:00
262418ff7f Updates software version to 1.2.2
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2020-09-20 20:39:13 +02:00
31d167a8a4 Closes a buffered reader in saveStateTest properly and removes a .close causing server consoles not to display text 2020-09-20 20:38:21 +02:00
44b9bcc960 Updates current version to 1.2.1
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good
2020-09-20 18:18:45 +02:00
9f2dda7c6b Updates Minecraft .jar version to 1.16.3 where applicable 2020-09-20 18:18:27 +02:00
6c0e352649 Fixes a bug caused by the version file not being properly closed 2020-09-20 17:36:10 +02:00