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

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

src/x/s/xsbs-HEAD/src/pyscripts/ServerCtlCommands/ctl.py   xsbs(Download)
		raise ExtraArgumentError()
	if sbserver.playerPrivilege(cn) == 0 or sbserver.playerPrivilege(cn) == 1:
		sbserver.setAdmin(cn)
 
@commandHandler('unsetmaster')

src/x/s/xsbs-HEAD/src/pyscripts/xsbs/users/privilege.py   xsbs(Download)
def onSetMaster(cn, hash):
	if hash == sbserver.hashPassword(cn, sbserver.adminPassword()):
		sbserver.setAdmin(cn)
 
def onAuthSuccess(cn, name):