Commit Graph

290 Commits

Author SHA1 Message Date
szymon
fee04a9943 small correction 2021-06-19 18:48:46 +02:00
szymon
fcc1dca958 BackupHelper cleanup 2021-06-19 15:39:00 +02:00
szymon
725d4098be Replaced File with Optional<File> in Statics to make sure I won't forget to check if it exists 2021-06-19 14:44:06 +02:00
szymon
af8e14f092 Repaired #42 2021-06-19 14:42:22 +02:00
szymon
d0772b44eb i think it's time 2021-06-17 22:24:58 +02:00
szymon
0a5b5e5c54 Forgot to remove LZMACompressor.java 2021-06-17 22:20:37 +02:00
szymon
78128bc63b Slightly beeter logs 2021-06-17 22:17:55 +02:00
szymon
adc14273d0 Java 16 update 2021-06-16 22:42:11 +02:00
szymon
24455d2e5c Last version didn't work with different system languages. This now works but basically depends on a regex 2021-06-14 23:08:56 +02:00
szymon
d322f6dc26 Mc version bump 2021-06-13 22:26:17 +02:00
szymon
2ba6ba444c Changed chat message prefix color to match mod's theme. Slightly improved functions notifyPlayer in BackupHelper and RestoreHelper 2021-06-13 22:26:05 +02:00
szymon
95653d066d Added slightly more graceful error handling for THE ISSUE 2021-06-13 21:44:38 +02:00
szymon
5cfb5c393a Version bump 2021-06-13 21:27:08 +02:00
szymon
ab32bd6ead Make it compile and a bit of cleanup 2021-06-13 21:26:57 +02:00
szymon
18e8860f42 1.17 update 2021-06-13 21:25:52 +02:00
szymon
f8f1b4a1f6 Message saying the server is going to shut down is now set using MinecraftServer.getPlayerManager().broadcastChatMessage() 2021-06-13 19:17:48 +02:00
szymon
b172df6c0f 1.17 update 2021-06-13 19:12:26 +02:00
szymon
f3982d78c0 . 2021-01-02 17:20:56 +01:00
szymon
3c5976f198 Added uncompressed option 2021-01-02 17:20:12 +01:00
szymon
acba0d0cb8 File names now end with minecraft minor version and should not contain patch id. 2020-12-25 19:34:36 +01:00
szymon
c344e01c26 Better CRC32 2020-12-14 13:18:16 +01:00
szymon
927638e0b6 consistency 2020-12-14 12:56:36 +01:00
szymon
09b809de8f Fixed #52 2020-12-13 12:30:58 +01:00
Szum123321
75eec3e040
Update README.md 2020-12-07 00:05:53 +01:00
szymon
e92ef1fb28 Version bump 2020-12-07 00:02:54 +01:00
Szum123321
c80ddfc5b3
Update README.md
Server, not channel
2020-12-06 22:46:23 +01:00
szymon
1b321b7a64 Changed default dateTimeFormat to ISO standard 2020-12-06 22:09:19 +01:00
szymon
7e7280bb82 v 2020-12-06 21:56:23 +01:00
szymon
39d3c3dacd Improved error catching 2020-12-06 21:26:11 +01:00
szymon
8506bef30b Added error catching 2020-12-06 19:19:16 +01:00
szymon
445f7a5613 Some improvements to logging, Player data now gets saved. Few other things... 2020-12-05 23:14:35 +01:00
szymon
7f82664ae7 Added Delete command.
Rearranged command package
2020-12-05 22:17:22 +01:00
szymon
d29b9049a4 Typos + missing import 2020-12-02 21:12:58 +01:00
szymon
7e2e399829 Improved RestoreBackupCommand 2020-12-02 21:10:48 +01:00
szymon
b68640b37f Added CRC32 calculation to Stored entries in Zip (caused exceptions) 2020-12-02 21:06:46 +01:00
szymon
eba22e8464 Added newBackupContextBuilder function to BackupContext.Builder and simplified StartBackupCommand 2020-12-02 21:05:16 +01:00
szymon
06f80a9175 Moved locking world form BackupHelper to MakeBackupRunnable 2020-12-02 21:00:46 +01:00
szymon
163626fb3d Added RestoreContext for good measure 2020-12-02 20:59:47 +01:00
szymon
7c07d2934c Finally no double output! 2020-12-02 20:57:49 +01:00
szymon
d27568c20f Renamed BackupInitiator to ActionInitiator and moved it to separate class 2020-12-02 20:49:49 +01:00
szymon
8ba3dbc955 Added comment to isDotDat method 2020-11-30 12:00:29 +01:00
szymon
6f9e98f104 File -> RestoreableFile 2020-11-30 10:35:27 +01:00
szymon
870f133273 Logger.warn -> error 2020-11-30 10:34:48 +01:00
szymon
2de5f4c80b Added missing import, removed duplicate method 2020-11-30 10:34:20 +01:00
szymon
5d7aaf1938 Added some more info to Config 2020-11-30 10:32:58 +01:00
szymon
3b522e2881 Redesign of Compression an archival logic.
Added ZipCompressor
Permanently fixed java.util.concurrent.ExecutionException: java.io.IOException: No space left on device.
2020-11-30 10:32:22 +01:00
szymon
a5114b49cc Renamed getFileExtension -> getArchiveExtension
Some stylistic improvements
2020-11-30 10:27:26 +01:00
szymon
aac63d45ac Partial redesign of RestoreHelper. It now uses RestoreableFile everywhere.
RestoreableFile is now comparable
2020-11-30 10:25:16 +01:00
szymon
0ef89c2a88 Added missing dot 2020-11-30 10:20:21 +01:00
szymon
335ab845cf Added getPrefix method, changed prefixText from Text to MutableText 2020-11-30 10:19:27 +01:00