Commit Graph

109 Commits

Author SHA1 Message Date
chylex 9873f8779f
Show online and maximum player count on Instances page on Web 2024-04-12 16:29:50 +02:00
chylex 31e101b21e
Retrieve both online and maximum player count from Minecraft servers 2024-04-12 13:30:48 +02:00
chylex 398bb14742
Refactor online player count detection in Agent 2024-04-12 05:28:15 +02:00
chylex 4e89d7b12f
Fix instance stop timeout not killing the process
Caused by 72ddaf91.
2024-04-12 05:28:15 +02:00
chylex 3b313bf0a8
Disable sync chunk writes to avoid lag during backups 2024-04-12 05:28:15 +02:00
chylex 8e2b019aa1
Fix exception due to disposed CancellationTokenSource in Minecraft server downloader 2024-04-05 13:34:42 +02:00
chylex 9a2c13c1e0
Add support for backups on older Minecraft versions 2024-04-05 12:56:32 +02:00
chylex 991b32032c
Add "Backing Up" instance status 2024-04-05 11:37:55 +02:00
chylex 875fd9a766
Add timeouts while waiting for server output during backups 2024-04-05 02:41:46 +02:00
chylex f7f08ec55c
Fix backups not working with Forge log format 2024-04-04 20:44:17 +02:00
chylex 424dccb14e
Migrate InstanceActionResult to Result type 2024-04-01 11:22:45 +02:00
chylex d03f532996
Make Result type serializable 2024-03-31 18:24:22 +02:00
chylex 137a2a53c3
Replace remaining uses of TaskManager 2024-03-30 09:25:08 +01:00
chylex 94148add2d
Force invariant culture for all applications 2024-03-30 08:23:39 +01:00
chylex c1cbb848a9
Increase Agent buffer size for instance logs 2024-03-30 07:50:29 +01:00
chylex 9fcc3c53fc
Catch "The pipe is being closed" Windows exception when stopping instance 2024-03-30 07:50:29 +01:00
chylex 72ddaf91ad
Implement actors in Agent via Akka.NET 2024-03-30 07:50:29 +01:00
chylex 7cdb0a1910
Migrate RPC message handling to Akka.NET 2024-03-23 00:21:39 +01:00
chylex 0d039b69de
Implement actors in Controller via Akka.NET 2024-03-11 00:01:54 +01:00
chylex 8911a2257a
Fix typo in instance event type 2024-01-25 15:25:22 +01:00
chylex 5bc474d455
Define message groups and use queues to send and process messages within each group sequentially 2023-12-17 07:41:58 +01:00
chylex 3cab9a0152
Move Controller RPC code into the RPC utils project 2023-12-17 07:41:57 +01:00
chylex 8b0452ead6
Move logging to a utils project 2023-12-17 06:49:18 +01:00
chylex 96456f90bc
Reimplement Web service 2023-12-05 14:27:55 +01:00
chylex e69b0245aa
Refactor methods for sending messages and waiting for replies 2023-12-02 06:30:06 +01:00
chylex cd332a6571
Fix Controller handling messages from unauthorized Agents 2023-10-23 14:03:15 +02:00
chylex 2a9bb9e6ac
Extract classes for client-to-server RPC connection 2023-10-23 14:03:13 +02:00
chylex 55b853d227
Fully separate Controller and Web into their own services - Controller compiling and setup 2023-10-23 14:02:58 +02:00
chylex 627e7436fd
Remove unnecessary trailing spaces 2023-10-23 01:16:44 +02:00
chylex 339b958e45
Move methods that convert enums and discriminated unions to sentences 2023-10-21 17:53:12 +02:00
chylex 3e93ad9217
Fix wrong zstd parameters causing source files to not be removed in newer versions 2023-06-16 15:37:55 +02:00
chylex c89e30cd3f
Update to .NET 8 2023-04-07 01:33:13 +02:00
chylex 0091fa11fb
Merge several Utils projects 2023-04-07 01:33:13 +02:00
chylex ad7964677e
Fix not flushing logs when calling Environment.Exit 2023-04-02 09:17:39 +02:00
chylex 46dba1a4fa
Revert "Add JVM argument to disable signal handling to prevent instant termination of Minecraft processes"
This reverts commit e699513036.
2023-03-30 04:24:02 +02:00
chylex 476de00cfd
Delegate JVM argument validation to Server only 2023-03-30 04:00:22 +02:00
chylex 2180e0c067
Fix exception while shutting down instance procedures 2023-03-28 03:45:00 +02:00
chylex a9646c5bbc
Convert backup procedure into an instance procedure 2023-03-28 03:30:37 +02:00
chylex 01d6648b1f
Rework Agent instance state management into a procedure-based system 2023-03-27 06:12:35 +02:00
chylex def6c41a77
Remove Phantom.Common.Minecraft project 2023-03-07 12:53:42 +01:00
chylex 3f976295bd
Make writing server.properties file asynchronous 2023-03-07 12:53:42 +01:00
chylex 267c5ad921
Reduce InstanceProcess output ring buffer capacity 2023-03-05 07:38:07 +01:00
chylex f5b40a92e2
Reduce the minimum number of thread pool threads in Agent 2023-03-05 07:29:45 +01:00
chylex 0af14c3262
Fix code issues and inefficiencies 2023-03-05 07:29:45 +01:00
chylex 0ab165fd21
Optimize sending instance logs to wait for output instead of constantly looping 2023-03-05 04:17:14 +01:00
chylex 6f11f65d91
Add environment variable to set max concurrent backup compression tasks 2023-03-05 01:24:39 +01:00
chylex dacd786b4c
Work around .NET starving thread pool when reading process output 2023-03-03 08:32:05 +01:00
chylex 33de01f564
Add Fabric support 2023-03-02 06:28:52 +01:00
chylex dd0d9b3ddb
Fix not seeing instance statuses after restarting Server 2023-02-28 02:10:32 +01:00
chylex ffa0ff24fa
Move most verbose log messages to debug level 2023-02-28 00:07:54 +01:00