Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

BBN-Holding/MMCRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMCRPC

This is a simple Java Application, which tracks the last started MultiMC instance and puts it in your Discord RPC.

Installation

  1. Download the jar from the releases page and drop it in a directory (i like C:\MMCRPC)
  2. Create a currentcfg.txt in the same directory as the jar
  3. Goto MultiMC -> Settings -> Custom Commands (Right Side) -> and paste java -jar C:\MMCRPC\MMCRPC.jar "$INST_NAME" "C:\MMCRPC\currentcfg.txt" into the Pre-Launch command line. (You maybe have to change the directory. just replace C:\MMCRPC\ With the directory you dropped the jar). After that you need to paste java -jar C:\MMCRPC\MMCRPC.jar " " "C:\MMCRPC\currentcfg.txt" into the Post-exit Command line. (Change the directory if needed)

Now you can start the jar with java -jar MMCRPC.jar and the app will change your rpc everytime you start an instance.

If you want you can put a start script in the autostart folder. To open the folder you need to press WIN+R and type shell:startup. A Folder opens and you have to create a .bat file with the following content:

cd C:\MMCRPC
java -jar MMCRPC.jar
pause

Libs used

https://github.com/MinnDevelopment/java-discord-rpc

License

MMCRPC is licensed under the Apache 2.0 License.