Console consult

Discussion in 'Bukkit News' started by Dinnerbone, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Dinnerbone Bukkit Team Member Administrator

    Server administrators, this one's for you.

    How often do you actually play Minecraft? How much time do you spend with your face glued to the console cleaning up after that griefer who just hit you, or playing about with that new plugin you just saw? Personally I dislike the default console, it's so frustrating to use. So I decided to fix it!

    Thanks to some magic based... erm, magic, Craftbukkit now comes with a new and improved console. It features a command history (up-down arrow! My god how much I love that), line editing (left-right arrow! Made a typo? Fix it, don't delete your whole line), colours (unix only, sorry!) and my favourite fix... it no longer loses your command when some other text prints to your screen. That's right, you can actually now see the command you're typing out. Huzzah!

    We've also made the console output a little smaller, removing the date from the display. Don't worry, it's still in the server.log though!

    We've a few more tweaks on its way, including tab completion. Administration is about to get a whole lot easier!

    Try out the new console and let me know what you think! I'd love to take some suggestions and see how I can improve it better, it's a very underrated part of the game. Let me know of any bugs too, be sure to include your operating system and craftbukkit /version!
     
    TnT, SilverstarX and nubpro like this.
  2. Outstanding. I'm already loving it from the little testing I've done in build 446, no bugs seen so far. [​IMG]
     
  3. Offline

    vapid2323

    OMG I want to try this, to bad I am stuck at work.
     
  4. Offline

    Rhythmatic

    Dinnerbone, you are a gentleman and a scholar. This is one of the single most valuable differences between Notch's server and the CraftBukkit server. Well done, and thank you, dearly.
     
  5. Offline

    lonelydime

    Amazing. I love the up/down, yay for unix.
     
  6. Offline

    Abrupt

    does this include bukkit API commands to view/edit this log as well?
     
  7. Offline

    Dinnerbone Bukkit Team Member Administrator

    What type of API access do you need?
     
  8. Offline

    TowelieDOH

    Bug: I cant see what i am typing. Commands work, if i type and press enter they are carried out.
    Specs:

    CentOS 5.4 x64
    CraftBukkit 446
    RemoteToolkit R10a8 wrapper/restarter

    Thanks in advance.'
     
  9. Offline

    Dinnerbone Bukkit Team Member Administrator

    Does it work without remotetoolkit?
     
  10. Offline

    Bazzam

    OMG this just made my day [​IMG]
     
  11. Offline

    Mhalkyer

    Same thing is happening with me. CentOS 5, CB #446, Connected thru Putty and running the server in a Linux Screen.
     
  12. Offline

    TowelieDOH

    Just tried it and yes, it works without RToolkit.
    Sorry for not trying this before.
     
  13. Offline

    Drat333

    how will this work with MineOS?
     
  14. Offline

    Dinnerbone Bukkit Team Member Administrator

    Mhalkyer, do you use Remote Toolkit too?
     
  15. Offline

    Dinnerbone Bukkit Team Member Administrator

    Can't say, I don't use MineOS. That'd be up whomever writes that I guess.
     
  16. Messages from plugins aren't color-converted if i'm correct.

    Example from EssentialsChat:

    19:53:11 [INFO] <бї9xPawwwбїf> sad_panda_is_testing_messages

    And scrolling up/down doesn't work for me with Putty and it just makes the console to flash grey for less than a second.
     
  17. Offline

    Mhalkyer

    I don't think so, I don't know what that is >_<
     
  18. Offline

    Dinnerbone Bukkit Team Member Administrator

    What version of craftbukkit? What OS is it running in?
     
  19. Offline

    TnT Retired Staff

    What colors am I supposed to see on the console? Running Ubuntu 10.10 x64, CB 446.
    Link to screenshot.

    The other features work as advertised.
     
  20. Offline

    Cave_Digger

    woot! thanks so much :) makes things a lot easier! love the history, just like a real cmd window.
     
  21. Offline

    Dinnerbone Bukkit Team Member Administrator

    Do any of those actually give colour? Type "version" and "plugins", they definitely do.
     
  22. git-Bukkit-0.0.0-462-gf907c8e-b446jnks (MC: 1.3) - Debian 5.0

    And yes, colors worked in "version" command, i saw green text there :)

    EDIT: An suggestion for "plugins", can you make it look more sexy? Like a table showing version and author(s) of it.
     
  23. Offline

    TnT Retired Staff

    Version and plugins do show color. Link.

    Although it resets the color to grey, not the color I had set in my terminal (My PS1 prompt changes the color to white, not the default grey.) No biggie, just pointing it out.
     
  24. Offline

    nat1192

    This was a plesant surprise when I updated to the latest craftbukkit build. You guys are awesome. Thanks a bunch.
     
  25. Offline

    Dinnerbone Bukkit Team Member Administrator

    Huh. That's odd. If anything it should have done that after the first line out.
     
  26. Offline

    TnT Retired Staff

    I'm not sure if it is possible, but it would be handy to be able to interface with certain plugin commands. Obviously, not all plugin commands would be useful (ex. /tphere when running on the console would be meaningless), but something like /dynmap fullrender would be rather handy. Maybe a way for a plugin to register a command to be used in the console? *shrug* I don't know, I just work the forums. [​IMG]

    However, my nagging requests aside, thank you so much for this - the simple fact that my commands won't be interrupted by a message, and I can use the arrows in all directions for editing or repeating commands has made me all warm and fuzzy inside. Great way to start off the weekend.
     
  27. Where is the link? :p
    edit: oh wait we are talking about ingame console?
     
  28. Offline

    Dinnerbone Bukkit Team Member Administrator

  29. Offline

    TnT Retired Staff

    Well, of course it does... *facepalm*. You should have just taken credit for getting that all put in place in the 30 seconds between when I posted, and when you replied. :p
     
  30. Offline

    Phantom Index

    Can we have the chat or the names of the players colored in console?
     
Thread Status:
Not open for further replies.

Share This Page