mcsleepingserverstarter icon indicating copy to clipboard operation
mcsleepingserverstarter copied to clipboard

Having web-gui on makes console annoying to type in [Windows]

Open canthisbe opened this issue 2 years ago • 6 comments

Turning on web-gui by setting webPort such as 80 makes typing in the console difficult once the server has started. You must hold another key then press the key you want to press, only once, then let go and repeat...

canthisbe avatar Apr 04 '23 07:04 canthisbe

Hi, Yes I know it's a limitation when you're running the server on Windows.

vincss avatar Apr 04 '23 07:04 vincss

I'm sorry, what do you mean with "difficult"? what happens?

williamtorres64 avatar May 09 '23 16:05 williamtorres64

Having web-gui on and starting a Paper server (or its forks) on this program causes the issue. It doesn't happen on fabric or vanilla servers. Presumably this is because Paper has highlighting when typing commands into the console while vanilla doesn't.

canthisbe avatar May 10 '23 23:05 canthisbe

I've stumbled upon a workaround that makes the console usable. Adding -Dterminal.jline=false flag to the run command fixes it for Paper servers at the expense of tab completion, basically stripping it to a vanilla server console. Additionally you can add -Dterminal.ansi=true to retain colors in the console, as the other flag disables it by default.

canthisbe avatar May 28 '23 01:05 canthisbe

Hi ! I tried like this : minecraftCommand: "java -jar -Dterminal.jline=false -Dterminal.ansi=true paper.jar nogui"

But it doesn't take all my commands into accounts. How do you start the server ?

vincss avatar May 28 '23 08:05 vincss

Yeah I've noticed the server only receives every other command, while server starter receives the other half of commands.

canthisbe avatar May 28 '23 14:05 canthisbe