Elytra-Server / Elytra

A Cleanroom minecraft server API in kotlin
MIT License
51 stars 6 forks source link

Add suport to ANSI Colors and a more verbose initialization #5

Closed Braayy closed 4 years ago

Braayy commented 4 years ago

My suggestion is to add a support to ANSI to colorize a little bit of the terminal when printing the informations.

Jansi is a lib with this purpose.

By now the INB isn't printing much. It will be good if a more verbose info gets printed, like the version/versions supported, the host:port where the server was bound to and so on, to help the user knows what is happening.

TommyAlmeida commented 4 years ago

Already started to implement logging, ANSI colors are already enumerated but not implemented yet. Commit

Braayy commented 4 years ago

Something that i noticed is the ansi escape codes does not work with windows command prompt, this was the reason why i mencioned Jansi.

TommyAlmeida commented 4 years ago

Hmm, ok didn't know that to be honest. Gonna check that Jansi.

jailson-lima commented 4 years ago

We will still gonna have something related to that today, thanks for the comment. 💪