CraftTweaker

CraftTweaker

186M Downloads

Add a Command to Clear CraftTweaker Log File

L9Tigrotto opened this issue ยท 1 comments

commented

i would like to suggest adding a clear log command (/ct log clear) to CraftTweaker. When working with extensive scripts, with a lot of /reloads, the log file can become quite large, making it difficult to navigate and debug efficiently. Currently, the only way to reset the log is by restarting the game, which can be time-consuming.

Would this be possible to implement in a future update? Thanks for considering this request!

commented

I am very hesitant to add this due to the issues it will introduce with people reporting bugs with partial log files, the very first line of the file tells us the minecraft version, modloader and if it is server or client, with additional information printed a few lines down.

CraftTweaker also has other script loaders that run only once such as the initialize loader, which is only ran once at the start of the game, if the log is cleared, then everything that happened during that loader is lost, which could make debugging scripts very difficult.