Inactive [ADMN] MCTelnet v1.2.7 - Remote Console Access using Telnet [1185]

Discussion in 'Inactive/Unsupported Plugins' started by bekvon, Feb 21, 2011.

  1. Offline


    MCTelnet - A telnet server plugin for bukkit.
    Current Version: v1.2.7

    First off, this is not a wrapper, its a simple plugin. Plop it into your plugins folder, tweak the config file and your good to go.

    • Ability to access the server console from telnet.
    • Requires username + password on connect.
    • Port can be specified in config.yml
    • Additional users with different permissions can be set up.
    • Passwords can be encrypted in the config file (md5).
    • Contains a "sudo" command that will elevate you to the root user.
    Sample Config File:
    #Setup information
    encryptPasswords: true
    telnetPort: 8765
    allowAuthlessLocalhost: false
    #Root login information
    rootUser: console
    rootPass: abcd
    rootEncrypted: false
    #Other users
            log: true
            password: abcd
            commands: list, plugman, help
            passEncrypted: false
    Instructions by ScorchRaserik:
    • Possibly implementing usernames to log on with. Done
    • Possible Integration into Permissions. Not really possible right now.
    • Make config file write default values if missing. Done
    • Code cleanup
    • Make passwords hidden as you type (almost done).Done
    • Optional idle-timeout.
    • Sudo command (similar to linux). Done
    • Encrypt passwords in the config. Done
    Change Log:
    v1.2.7 - 9/23/2011
    - Fix chat color codes being printed on console.

    Change log (open)

    v1.2.6 - 8/16/2011
    - Fixed to work with CB 1060.

    v1.2.4 - 4/11/2011
    - Allowed periods to be used.

    v1.2.2 - 3/19/2011
    - Added ability to specify a listen address.
    - Rebuilt with latest CB (556)

    v1.2.1 - 2/28/2011
    - Rebuilt against latest recommended craftbukkit build (440 as of now).
    - Changed to static download link.

    v1.2 - 2/24/2011
    - Added sudo command.
    - Passwords will now be setup to be encrypted in the config file.
    - Passwords are now hidden as you type.
    - Other minor improvements.

    v1.1 - 2/22/2011
    - Added usernames, can now specify users and what commands they can use.
    - Cleaner config file with more information.
    - Missing config file is regenerated.
    - Many aesthetic improvements.

    v1.0 - 2/21/2011
    - Initial Release.

    File: MCTelnet
    Configuration File: config.yml
    Recommended Telnet Client: PuTTY

    Source: GitHub
    kittenchunks, umnumnum, sbeex and 7 others like this.
  2. Offline


  3. Offline

    Clint Theriault

    Works great on latest RB, haven't used it that much yet.

    Here's some advice for those that use SSH to login into mincraft on a ubuntu server...

    set allowAuthlessLocalhost to true

    then from the ubuntu console on the system that is hosting the minecraft server...

    install telnet-ssl with: sudo apt-get install telnet-ssl

    then telnet into local host from the ubuntu console with: telnet 8765

    then BAM your in! This way you don't need to tunnel anything. This is way easier than screen when it comes to multiple users. This should work with any debian based linux, or with any linux with telnet-ssl already installed.

    For more security you can make it so only localhost connections can be made to the telnet server by setting listenAddress to
  4. Offline


    Do I have access to the whole console and all commands with this?
  5. Offline


    There is no player chat in the console. I scanned through previous posts, and I see several other people with the same problem... and others that are obviously seeing chat... but never any solutions for those that cannot see chat.

    CB1648, MCTelnet 1.2.7, HeroChat 4.10.3. Using PuTTY for Windows v0.60

    I'd like to use this instead of a screen session... but I gotta be able to see chats
  6. Offline


    WORKS AWESOME ON 1.1!!!!! [diamond]
  7. Offline

    Getting this with a cronjob of mine. It checks whether mcbans is responsive or not. If not, it sends "mcbans offline", if it is, it sends "mcbans online".
    This cronjob runs once a minute and works most of the times, but every now and then this happens. Can someone please shed some light on what's happening in that stack-trace?
  8. Offline


    Please update this plugin :)
  9. Offline


    So I download the plugin set the config, download PuTTY and type my IP/port check the Telnet bubble and click open then a black console comes up for about 2 seconds then closes itself.
    Any Ideas?
  10. Offline


    Is there any PHP script for sending commands ? ...
  11. Offline


    function minecraft_send_command($command) {
    $fp = fsockopen("host port, $errno, $errstr, 30);
    if (!$fp) {
    return false;
    } else {
    $out = "console\rroot\r";
    $out .= "$command\r";
    $out .= "exit\r";
    fwrite($fp, $out);
    while (!feof($fp)) {
    fgets($fp, 128);

    I noticed command regex [^a-zA-Z0-9 \\-\\.\\_\\\"] is missing many characters needed such as "&". Is there a reason for this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 9, 2016
  12. Offline


    ok thx
  13. Offline


    I just noticed a small problem when I tried using this plugin for the first time on my phone. Whenever I go to type any text, it appears as if the server is not taking care of echoing what the client is typing, instead leaving it to the client to render. Unfortunately, the app I'm using (VX Connectbot for Android, it's in the market) doesn't echo on its own, and so I'm "typing blind" so to speak. It also means that there is no line-break after I type in my username and before I enter in my password. Any chance you could take a look into this?

    PS:Also, I'm noticing a bizzare-looking string of characters before the welcome message and the login lines (it varies from client to client) - Any idea as to what that might be?
  14. Offline


    bekvon Please update this to support R6. :)
  15. Offline


    Yes, please update soon. MCTelnet is amazing.
  16. Offline


    I'm sure at this point, we are all willing to pay for this plugin to be updated.
  17. Offline


    Does this give the other computer access to the whole computer or just the console/black screen for the server?
  18. Offline


    Posible you could update for 1.2.3? :)
  19. Offline


    Any sign of a 1.2 update, or anyone know an alternative?
  20. Offline


    If you know how to compile source downloaded from one of the updated forks of MCTelnet on github, sure!
  21. Offline


    Could someone compile and post a download link?
  22. Offline


    I've been keeping my own fork of MCTelnet up-to-date, BukkitTelnet:

    I posted a jar that works perfectly fine with v1.2.3:

    Let me know if you have any questions, I've been developing for Bukkit for almost a year but this is the first I've released publicly.


    Please note that this is a very different plugin than MCTelnet. While still being a Telnet server, it is designed for multiple admins to use the same password and have equal permissions. There are no permission settings or whatnot. The config file has only 4 options.
    thornbuilders likes this.
  23. Offline


    300N Wireless Gigabit Broadband Router ? Can you make it? :D
  24. Offline


    Please start a page on so users can keep track of BukkitTelnet.
  25. Offline


    Ah yes, this is the one I downloaded and compiled (before you renamed it). I also added a telnet.exit command, otherwise php scripts would be hanging as they waited to time out.
  26. Offline


    The latest version that I pushed, v2.0.0, has a "telnet.log" toggle command to only show chat commands, and a "telnet.exit". If you are using this with a php script, you may want to take a look at BukkitHttpd, my bukkit based web server that can run commands and return the response, as well as serve files. No guarantees on that plugin, but I have used it for a while on my server and it seems stable.
  27. Offline


    Has someone updated MCTelnet to work with Bukkit-1.2.3
  28. Offline


    Does it work on 1.2.5 ore 1.2 ?????????????? [cookedmeat]
  29. Offline


  30. Offline


    Thanks Madgeek1450!

    I tested it and it is working on 1.2.5. It does (or did :)) have a few problems like a lack of color for most commands (no biggie) and there's no way to obtain a full list of commands - "help" instructs you to use"?", and "?" instructs you to use "help [index]".

    But if you don't mind downloading netbeans and the bukkit api it's a one line fix:

    In change line 198 from
    plugin.getServer().dispatchCommand(this, command);
     plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), command); 
    Now all console colors and commands should work as expected.
  31. Offline


    Hmm... I've just downloaded it today, and I got these errors:

    2012-04-18 19:30:25 [INFO] [MCTelnet] Enabling MCTelnet v1.2.7
    2012-04-18 19:30:25 [INFO] [MCTelnet] - Starting Up! Version: 1.2.7 by bekvon
    2012-04-18 19:30:25 [SEVERE] Error occurred while enabling MCTelnet v1.2.7 (Is it up to date?)
    java.lang.NoSuchMethodError: com.bekvon.bukkit.mctelnet.MCTelnet.getConfiguration()Lorg/bukkit/util/config/Configuration;
    at com.bekvon.bukkit.mctelnet.MCTelnet.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
    Thornbuilders, did you say you got it to work? Any plan to update it to 1.2.5?

Share This Page