mirror of
https://github.com/Astatin3/pymcstatus.git
synced 2026-06-09 00:28:02 -06:00
c7b5427fae
If two servers were found at the same time, they might try to write to the xlsx file at the same time. this could corrupt the file. outputting to json, and just using another script to convert is much safer.
20 lines
343 B
Markdown
20 lines
343 B
Markdown
# pymcstatus
|
|
A python script to sort through a list of ip's to find working minecraft servers
|
|
|
|
Usage:
|
|
```
|
|
Usage:
|
|
srvstatus.py -p IP
|
|
srvstatus.py -f inlist.txt
|
|
srvstatus.py -f inlist.txt -o outfile.json
|
|
```
|
|
|
|
Then convert json to xlsx using:
|
|
```
|
|
json2xlsx.py infile.json outfile.xlsx
|
|
```
|
|
|
|
Dependencies:
|
|
```
|
|
Pillow mcstatus openpyxl
|
|
``` |