MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / sendCommand

Method sendCommand

MCSL2Lib/ServerControllers/windowCreator.py:1798–1808  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

1796 w.exec_()
1797
1798 def sendCommand(self, command):
1799 if self.getRunningStatus():
1800 if command != "":
1801 self.serverBridge.sendCommand(command=command)
1802 self.commandLineEdit.clear()
1803 self.commandLineEdit.userCommandHistory.append(command)
1804 self.commandLineEdit.upT = 0
1805 else:
1806 pass
1807 else:
1808 self.showServerNotOpenMsg()
1809
1810 def commandLineEditTypeChecker(self):
1811 if (

Callers 9

initQuickMenuMethod · 0.95
initSlotsMethod · 0.95
runQuickMenu_GameModeMethod · 0.45
runQuickMenu_OperatorMethod · 0.45
runQuickMenu_KickMethod · 0.45

Calls 3

getRunningStatusMethod · 0.95
showServerNotOpenMsgMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected