Skip to content

Pokechu22/mcrdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcrdp

An experimental Minecraft mod that displays a single RDP connection while in-game.

Powered by properjavardp (specifically, a tweaked version).

Building and running

Right now, the build process isn't great.

  1. Download my tweaked version of properJavaRDP.
  2. Run gradlew install inside of properJavaRDP, to add it to your local maven repository.
  3. Open src/main/java/mcrdp/LiteModMcRdp.java. Find init and then edit the list of instances to values you want (map key is the name used on signs, and parameters to RDPInstance.create are ip, username, password, width, and height) - the defaults will not work for you. (Right now, these aren't changable in game - that will change).
  4. Run gradlew runClient to launch Minecraft. ForgeGradle will spend a while setting up the workspace, and then the development launcher will start (you can choose "cancel" to enter offline mode). Alternatively, run gradlew build to generate a litemod for use outside of the development workspace.
  5. See usage below for setting up an RDP display ingame.

Usage

A sign containing the text mcrdp on the first line will activate a display. The second line can contain the width and height in blocks, such as 1x1 (if not specified, 8x6 is assumed). The fourth line contains the server name (a map key in instances).

TODO

  • Allow managing the list of servers and usernames/passwords ingame
  • Hide the RDP window when not needed
    (this window is no longer generated as properJavaRDP has been reworked)
  • Some kind of ingame interaction with the computer instead of using a second window
    (work in progress, but mouse input works and shift+rightclick opens an ingame GUI)
  • Send info from the MC world to the connected system (with redstone?) - may not be possible
    (VChannels may be useful here)
  • Bundle dependencies, so that it can be used as an actual mod
    (Still requires manual addition to a local maven repo)
  • Allow multiple different RDP servers at once (needs major properJavaRDP changes)
    (This should work apart from some minor issues with keyboard input, probably)
  • Fix graphical artifacts (properJavaRDP)
    (All known artifacts have been fixed)
  • Fix properJavaRDP crashes due to IndexOutOfBoundsExceptions (properJavaRDP)
    (As far as I know this is fixed; it was related to resizing desktops)
  • Sound? (properJavaRDP)
    (Will require a machine with functioning sound; right now xrdp does not seem to send audio so I cannot implement the audio VChannel)

Demo connected to my raspberry pi, hanging in my old skyblock island

About

RDP inside of Minecraft (experimental)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages