Minecraft Java: Regex for Start with different Mods or Java Arguments
I confirm that
- [x] I have searched for an existing feature request matching the description.
Feature Description
Hey, i had asked sometimes in Discord about it, but yet there is no Point how to get Minecraft Servers running with different Mods, Jline Logging and Java Arguments, whats changing the Starting Regex.
I had used different ways to Debug my Server but some ways are changing the Regex,
Normaly the regex for Starting Server is
log:
[19:27:53] [Server thread/INFO]: Time elapsed: 709 ms
[19:27:53] [Server thread/INFO]: Done (3.453s)! For help, type "help"
[19:27:53] [Server thread/WARN]: Dedicated server took 25.999 seconds to load
With Better Fabric Console it will not change in the Started Mode:
[19:31:15] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[19:31:15] [Server thread/INFO]: [STDOUT]: [ScalableLux] Lighting scaling is enabled in externally managed mode
[19:31:15] [c2me-worker-0/INFO]: Preparing spawn area: 0%
[19:31:15] [c2me-worker-0/INFO]: Preparing spawn area: 8%
[19:31:15] [Server thread/INFO]: Time elapsed: 701 ms
[19:31:15] [Server thread/INFO]: Done (3.463s)! For help, type "help"
[19:31:15] [Server thread/WARN]: Dedicated server took 26.718 seconds to load
Got also with Better Fabric Console an Bot Error because it is not going into Started Mode-
[19:38:09] [System Error/21] : Unhandled Exception: This will be automatically reported to the AMP developers.
[19:38:09] [System Error/21] : [Error] --- Begin Exception Data ---
[Error] OS: Linux (x86_64/Docker)
[Error] Module: MinecraftModule, Version: AMP 2.6.2.2
[Error] Release spec: Mainline - built by CUBECODERS/buildbot on CCL-DEV
[Error] Instance ID: xxxxxxxx
[Error] NullReferenceException
[Error] [0] (NullReferenceException) : Object reference not set to an instance of an object.
[Error] at DiscordBotPlugin.Events.ApplicationStateChange(Object sender, ApplicationStateChangeEventArgs args)
[Error] --- End Exception Data ---
[Warning] Unsigned plugins are loaded: DiscordBotPlugin - error report will not be submitted.
[Warning] Last error was raised less than 60 minutes ago, error report will not be submitted.
[19:38:09] [Minecraft Info/7] : Java located at /usr/lib/jvm/temurin-21-jdk-amd64/bin/java
[19:38:09] [Minecraft Info/7] : Using 'Fabric' compatibility mode.
[19:38:09] [System Warning/7] : Bot client is not connected. Cannot update presence.
[19:38:09] [System Error/15] : Unhandled Exception: This will be automatically reported to the AMP developers.
[19:38:09] [System Error/15] : [Error] --- Begin Exception Data ---
[Error] OS: Linux (x86_64/Docker)
[Error] Module: MinecraftModule, Version: AMP 2.6.2.2
[Error] Release spec: Mainline - built by CUBECODERS/buildbot on CCL-DEV
[Error] Instance ID: xxxxxxxx
[Error] NullReferenceException
[Error] [0] (NullReferenceException) : Object reference not set to an instance of an object.
[Error] at DiscordBotPlugin.Events.ApplicationStateChange(Object sender, ApplicationStateChangeEventArgs args)
[Error] --- End Exception Data ---
[Warning] Unsigned plugins are loaded: DiscordBotPlugin - error report will not be submitted.
[Warning] Last error was raised less than 60 minutes ago, error report will not be submitted.
[19:38:09] [ErrorReporter Info/21] : ####################################
[19:38:09] [ErrorReporter Info/21] : # Self Diagnostics #
[19:38:09] [ErrorReporter Info/21] : ####################################
[19:38:09] [ErrorReporter Info/15] : ####################################
[19:38:09] [ErrorReporter Info/15] : # Self Diagnostics #
[19:38:09] [ErrorReporter Info/15] : ####################################
[19:38:09] [ErrorReporter Info/15] : This exception was caused by a null reference or null argument. This is usually caused by a bug in AMP, or a plugin.
[19:38:09] [ErrorReporter Info/15] : The exception message was: Object reference not set to an instance of an object.
[19:38:09] [ErrorReporter Info/21] : This exception was caused by a null reference or null argument. This is usually caused by a bug in AMP, or a plugin.
[19:38:09] [ErrorReporter Info/21] : The exception message was: Object reference not set to an instance of an object.
And also there are Many more Mods, what change the Regex also some Java Arguments like this one https://github.com/CubeCoders/AMP/issues/1337
Or -Dlog4j.configurationFile=log4j2.xml https://www.reddit.com/r/admincraft/comments/69271l/guide_controlling_console_and_log_output_with/