8 lines
184 B
Python
Raw Normal View History

2020-02-26 20:58:12 -06:00
from mcrcon import MCRcon
allServerRcon = []
for i in range(len(allServerRcon)):
with MCRcon("192.168.1.52", "f{password}", allServerRcon[i]) as mcr:
mcr.command("stop")