I was wondering if there was any way to read straight off the CMD on windows without having inputs from a user using Java for text processing and returning new commands.
Specifically, I'm running a Minecraft server and want to create certain types of automatic responses (maybe with a bot) if certain typed events occur via the console. So if a player were to say "Lightning" lightning would strike nearby for example. But I'm struggling to find a way to read off the command line that the Minecraft server produces, so I can process the text and return a new input and automatically execute the new command.
I apologize if this is an obvious question!