1
0
Fork 0
Go to file
khr 2361252b37 Merge branch 'master' of cybre.tech:chr/matrix-appservice-minecraft 2020-04-03 06:39:26 +00:00
.gitignore big refactor, test message queue 2020-04-01 23:33:34 -07:00
license Create license 2017-04-11 20:07:00 -04:00
message_queue.py fix that bug 2020-04-02 21:54:01 -07:00
message_queue_test.py fix some bugs, another test, possibly enable the sending back to the server 2020-04-02 19:31:53 -07:00
pyproject.toml peg line length at 80 and reformat 2020-03-29 19:07:53 -07:00
readme.md Create readme.md 2017-04-11 20:22:11 -04:00
registration.yaml initial commit 2017-04-11 20:05:12 -04:00
requirements.txt Workinggit add requirements.txt 2020-03-29 09:00:58 +02:00
service.py have to set your own presence 2020-04-03 08:38:49 +02:00
wrapper.py fix regex 2020-04-03 06:39:22 +00:00

readme.md

Some Python code for plumbing together a Matrix room and a Minecraft server chat

Setup the app bridge first:

  • Drop ServerWrapper.py and the registration.yaml onto your homeserver.
  • Add it to your homeserver config, setup ports and keys and whatnot.
  • Run Serverwrapper.py
  • On first run, a server config json will be generated. Fill out accordingly and then run again.

Then set up the server wrapper:

  • Drop ServerWrapper.py into the folder with your Minecraft .jar.
  • Run once again to generate wrapper.json
  • Fill it out.
  • Start the Minecraft server, see example below

python .\ServerWrapper_v0.1.0.py java -Xmx1024M -Xms1024M -jar minecraft_server.1.11.2.jar

The wraper looks in your cwd for anything with "minecraft_server" in the name to know to launch in wrapper mode

This was hacked together over a weekend, so I make no promises.