Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
canthisbe opened this issue Apr 4, 2023 · 6 comments
Open

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

canthisbe opened this issue Apr 4, 2023 · 6 comments
Labels

Comments

@canthisbe
Copy link

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...

@vincss
Copy link
Owner

vincss commented Apr 4, 2023

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

@vincss vincss added the wontfix label Apr 11, 2023
@vincss vincss changed the title Having web-gui on makes console annoying to type in Having web-gui on makes console annoying to type in [Windows] Apr 17, 2023
@william64644
Copy link
Contributor

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

@canthisbe
Copy link
Author

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
Copy link
Author

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.

@vincss
Copy link
Owner

vincss commented May 28, 2023

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 ?

@canthisbe
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants