All my English is translated by DeepL. If you find any major translation errors, please feel free to report them to me.
Overview LogHider is a simple plugin to hide logs you don't like from the console.
usage 1. Move the downloaded LogHider.jar to the plugins folder and start the server.
2. Open and configure the config.yml generated in the LogHider folder.
3. Enter the command
log reload in the console to reload the config.
Config Configure the logs you want to hide in config.yml.
2 settings are already included in the initial state, so delete them if you don't need them.
Any number of these settings
can be added, but no load tests have been carried out for large numbers of settings.
Code (YAML):
# Adding text here will hide the log containing that text. # If you are unsure, add text here anyway. contains: -
""
# Use when consistent text is present at the beginning of the log. # However, it is important to note that in the case of coloured logs, the log should be set with contains instead of start. # Coloured means that it contains text for a colour code, even though it is not displayed, and it is generally at the beginning of the log. start: -
""
# Use when consistent text is present at the end of the log. end: -
""
# Add text that makes no changes on the plugin side. # Basically, this is never used. # If you use it, knowledge of regular expressions is required. # Please include text based on regular expressions as handled in Java. raw: -
""
Permission
Finally Please comment if you find any defects or concerns.