5 lines
132 B
Python
5 lines
132 B
Python
|
from mcrcon import MCRcon
|
||
|
import sys
|
||
|
|
||
|
with MCRcon(sys.argv[1], sys.argv[2], sys.argv[3]) as mcr:
|
||
|
print(mcr.command(sys.argv[4]))
|