1.12.2 I was wondering how to open a spigot server with .bat files and make it color coded.

Discussion in 'Spigot Plugin Development' started by FlameFOxYT, Feb 1, 2020.

  1. Im now developing plugins,
    but i wondered how using .bat file, to make my server console color coded.
    When you open your plugin using eclipse the code is colored, i wonder how do i implement that into the console.
     
  2. I did not understand what you intend, but you can change the color of the messages in the CMD

    Right click in the top bar > property > color

    But you cannot see the colored code. The only thing you can do is send a colorful message in the console, as in the game. To do this you can use: during a command send from console sender.sendMessage(ChatColor.YOURCOLOR + "string"); or to send a message in console even when sender is a player use system.out.println (ChatColor.YOURCOLOR + "string");
     
  3. The code is colored in eclipse for convinience, you can also change that. I believe that if you add
    color <some color>
    before
    java -jar ..
    In the batch file it will work