Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/x/s/xsbs-HEAD/src/pyscripts/xsbs/server.py   xsbs(Download)
	   2 - locked
	   3 - private'''
	sbserver.setMasterMode(mm_number)
 
def maxClients():

src/x/s/xsbs-HEAD/src/pyscripts/DuelMode/duel.py   xsbs(Download)
def endDuel():
	sbserver.setMasterMode(prev_mastermode)
	sbserver.setPaused(False)
	currently_dueling[0] = False
	currently_dueling[1] = False
		duelers[1] = players[1]
		prev_mastermode = sbserver.masterMode()
		sbserver.setMasterMode(2)
		sbserver.message(green('Duel begins in...'))
		duelCountdown(5, map, mode)

src/x/s/xsbs-HEAD/src/pyscripts/MMControl/mmctl.py   xsbs(Download)
def setMM(cn, mm):
	sbserver.message((info(green('%s') + ' set master mode to ' + blue('%s')) % (sbserver.playerName(cn), MMNAMES[mm])))
	sbserver.setMasterMode(mm)
 
def onNoClients():
	if sbserver.masterMode() > 1:
		sbserver.setMasterMode(1)