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


    Hi Larsey,

    Thanks for posting the log, that helps a lot. It seems you have installed MCTelnet which is not working on 1.2.5. If you look a couple posts back Madgeek1450 posted a link to a working jar for 1.2.5 the only limitation is you will not be able to retrieve a full list of commands through it. I have not posted a jar with the fix I added, I only posted the instructions to fix a file in his github repository.

    Here is a link to my updated jar file.
  3. Offline


    Thanks for your repons Thornbuilders!

    I coding in C#, how do I use the Bukkit Telnet? Do I send in text string? I tried to do it the same way I used to with MCTelnet and it tells me (server)

    Code: logged in as "give_Larsey_355"
    Is the string you send comma seperated like "USERNAME,PASWORD,COMMAND"?? Does someone know?
  4. Offline


    If you are coding in C# maybe this isn't the best approach for you. What is your C# application's purpose?

    Maybe you should check out there is source code there in C# for a windows service wrapper for bukkit that has integrated telnet, webserver, etc.
  5. Offline


    I have coded a WebShop for my server (uses whitelist, sry :) ) so that the user can log on to the website an buy stuff. Tools, WorldGuard zone, bucket of lava +++.

    The site is coded with ASP.NET and C# so when the user buys Diamond PickAxe the server sends a telnet command to the plugin (prev. MCTelnet) and the user would get it ingame. Makes some aspects of the game easier and fun. Each user gets one "Coin" each day and Diamond PickAxe costs 2 coins for instance :D.

    The site and server runs on the same box and is working now, but I would love to get my hands on the plugin documentation and some example of use since Telnet is a standard.
  6. Offline


    Unfortunately this plugin only implements part of the telnet standard that is absolutely necessary to communicate with a telnet client. Take a look at the java source code, it's very simple, then you can get a good idea of what the plugin is doing. Essentially to accomplish a Login like you asked you would need to first send a username to your output stream then listen for a response on the input steam (the password prompt) then send your password on the output stream and listen for success message and /or prompt sent back on the input stream. You would need to use a similar approach for all commands etc.

    In the source that I mentioned above the telnet input is redirected to the Bukkit server command line using C# so you can talk to the bukkit command interface directly rather than going through the extra layer of socket communication.
  7. Offline


  8. Offline


    uhh, think you can help? when i first place telnet into my plugins folder it fails to enable, not making any files or configs ect...?

    is this download link the latest?


    EDIT: I got it working, just an outdated download link

  9. Doesn't work with 1.2.5-R2.0:

    2012-05-23 23:01:13 [INFO] [MCTelnet] Enabling MCTelnet v1.2.7
    2012-05-23 23:01:13 [INFO] [MCTelnet] - Starting Up! Version: 1.2.7 by bekvon
    2012-05-23 23:01:13 [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(
  10. Offline


    182 recipes
    27 achievements
    14:59:49 [INFO] Starting minecraft server version 1.2.5
    14:59:49 [INFO] Loading properties
    14:59:49 [INFO] Starting Minecraft server on *:25564
    14:59:50 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0
    -b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
    14:59:50 [INFO] [MCTelnet] Loading MCTelnet v1.2.7
    14:59:50 [INFO] Preparing level "world"
    14:59:50 [INFO] Default game type: 0
    14:59:50 [INFO] Preparing start region for level 0 (Seed: -6841304326093073765)
    14:59:51 [INFO] Preparing spawn area: 36%
    14:59:52 [INFO] [MCTelnet] Enabling MCTelnet v1.2.7
    14:59:52 [INFO] [MCTelnet] - Starting Up! Version: 1.2.7 by bekvon
    14:59:52 [SEVERE] Error occurred while enabling MCTelnet v1.2.7 (Is it up to dat
    java.lang.NoSuchMethodError: com.bekvon.bukkit.mctelnet.MCTelnet.getConfiguratio
    at com.bekvon.bukkit.mctelnet.MCTelnet.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    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(
    14:59:52 [INFO] Server permissions file permissions.yml is empty, ignoring it
    14:59:52 [INFO] Done (2.117s)! For help, type "help" or "?"

    i just dont understand whats going wrong help would be great it does this every time and ive tested it off of multipl computers PLEASE HELP
  11. Offline


    I would like to know how this plugin should be setup as i get multiple errors involving the config. Do i need to put the config into a folder for the plugin? At the moment i have the plugin in my plugins folder and the config in the plugins folder as well.

    I have reason to think it doesn't work with 1.2.5-R2.0:

    2012-05-23 23:01:13 [INFO] [MCTelnet] Enabling MCTelnet v1.2.7​
    2012-05-23 23:01:13 [INFO] [MCTelnet] - Starting Up! Version: 1.2.7 by bekvon​
    2012-05-23 23:01:13 [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(​

    If this is the case could you please update it please. I would really love to use this plugin and it would make my life so much easier when running my server. Personally i would update it myself but im not good enough with coding to be able to make appropriate changes without destroying the plugin.​
  12. Offline


    Any new on 1.3 for this?

  13. Offline


    does this work for 1.4.4?
  14. Offline


    when i do all this, it works just fine, but once i have put in the ip, port, selected telnet and pressed ok, it came up with a black screen..

    i just checked my server logs and it says that there was an error enabling mctelnet and asks if it is up to date

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

Share This Page