Skip to content

Instantly share code, notes, and snippets.

@phunkyg
phunkyg / harness.py
Created March 7, 2019 10:21
Minecraft server harness for Python
import subprocess
import time
import threading
import sys
import signal
WD = '/opt/test_server'
SERVERCMD = '. {}/start.sh'.format(WD)
@phunkyg
phunkyg / ioerror.txt
Created March 6, 2019 15:36
Overviewer.py IOError
2019-03-06 15:35:45 E An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help
This is the error that occurred:
Traceback (most recent call last):
File "/usr/bin/overviewer.py", line 628, in <module>
ret = main()
File "/usr/bin/overviewer.py", line 230, in main
list_worlds()
File "/usr/bin/overviewer.py", line 585, in list_worlds