# MQ2Telnet

## Description

This plugin adds a telnet server, which can be used to access your EQ session remotely.

### INI File

By default, the telnet server is disabled. If you want to use it, you will need to edit the mq2telnet.ini file and do the following:

* Define a port number that the server will run on:

```
Port=6669
```

* Add some users and passwords under the \[Users] section:

```
[Users]
wassup=ubahmanualguy
```

* It is recommended that you change the **Welcome** message.
* The following setting will limit the connection to just one user. Setting it to 0 and defining usernames and

  passwords will allow multiple users to connect.

```
LocalOnly=1
```

### Using the Telnet server

* Use a real telnet client to connect (Putty works well).
* After entering your username and password, you will be presented with your Welcome message.
* From now, and commands you enter in the telnet session will work the same as typing them into your EQ console.
* Any chat output will be sent to your telnet session.

To disconnect from the server, just close your telnet client. The plugin will notice when the connection is no longer active and will clean up.

## Commands

* [/telnet](/macroquest/plugins/discontinued-unsupported/mq2telnet/telnet.md)

## See Also

* [Data Types](/macroquest/data-types-and-top-level-objects/data-types.md)
* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [Plugins](broken://pages/-Me4I94WGlOtA0pQ_0oB)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://macroquest.gitbook.io/macroquest/plugins/discontinued-unsupported/mq2telnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
