def unload(): spe.unregisterPreHook('player_hurt', pre_player_hurt) spe.unregisterPreHook('weapon_fire', pre_weapon_fire) spe.undetourFunction("PlayerRunCommand", spe.HookType.Pre, RunCmd) cmdlib.unregisterServerCommand('r_weaponswap') repeat.delete('timerz') es.addons.unregisterClientCommandFilter(Commander4)
def unload(): # Unregister server commands unregisterServerCommand("spawn_add") unregisterServerCommand("spawn_remove") unregisterServerCommand("spawn_remove_all") unregisterServerCommand("spawn_print") unregisterServerCommand("spawn_show")
def unload(): gamethread.cancelDelayed("advertDelay") cmdlib.unregisterServerCommand("dump_colors") es.msg( "#multi", "\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!" % info.version, )
def unload(): gamethread.cancelDelayed('advertDelay') cmdlib.unregisterServerCommand('dump_colors') es.msg( '#multi', '\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!' % info.version)
def unload(): cmdlib.unregisterServerCommand('iptocountry_getcountry') cmdlib.unregisterServerCommand('iptocountry_getinfo') cmdlib.unregisterServerCommand('iptocountry_getlastupdate') cmdlib.unregisterServerCommand('iptocountry_updatedata') cmdlib.unregisterServerCommand('iptocountry_updatefrompath') for cvar in config.getCvars(): es.ServerVar(cvar).set(0)
def reg(): unregisterServerCommand('wcs_xtell') unregisterServerCommand('wcs_xcentertell') registerServerCommand( 'wcs_xtell', register, 'Syntax: wcs_xtell <userid> <text> <[arg]> <[value]>...') registerServerCommand( 'wcs_xcentertell', register_center, 'Syntax: wcs_xcentertell <userid> <text> <[arg]> <[value]>...')
def unload_warmup(self): """Unloads Warmup Round""" # Remove the repeat self.repeat.delete() # Unregister the server command used to end Warmup Round unregisterServerCommand("gg_end_warmup") # Set the message to be sent to Warmup_End_Forced self.message = "Warmup_End_Forced" # End Warmup Round if it is still active self.end_warmup()
def unload_warmup(self): '''Unloads Warmup Round''' # Remove the repeat self.repeat.delete() # Unregister the server command used to end Warmup Round unregisterServerCommand('gg_end_warmup') # Set the message to be sent to Warmup_End_Forced self.message = 'Warmup_End_Forced' # End Warmup Round if it is still active self.end_warmup()
def unload(): """ This executes when this addon is unloaded. We want to save this database, then open up the default SQLiteManager with the default configuration. """ cmdlib.unregisterServerCommand("convert_sqlite_to_mysql") sourcerpg.players.clearList() sourcerpg.DATABASE_STORAGE_METHOD = sourcerpg.SQLiteManager sourcerpg.database.save() sourcerpg.database.close() sourcerpg.database = sourcerpg.DATABASE_STORAGE_METHOD(sourcerpg.databasePath) sourcerpg.es_map_start({}) for player in es.getUseridList(): sourcerpg.players.addPlayer(player) es.server.queuecmd("mp_restartgame 1")
def unload(): """ This executes when this addon is unloaded. We want to save this database, then open up the default SQLiteManager with the default configuration. """ cmdlib.unregisterServerCommand("convert_sqlite_to_mysql") sourcerpg.players.clearList() sourcerpg.DATABASE_STORAGE_METHOD = sourcerpg.SQLiteManager sourcerpg.database.save() sourcerpg.database.close() sourcerpg.database = sourcerpg.DATABASE_STORAGE_METHOD( sourcerpg.databasePath) sourcerpg.es_map_start({}) for player in es.getUseridList(): sourcerpg.players.addPlayer(player) es.server.queuecmd("mp_restartgame 1")
def unload(): cmdlib.unregisterServerCommand('keyrand')
def unload(): cmdlib.unregisterServerCommand('vote')
def unload(): unregisterServerCommand('wcs_getcolor')
def unload(): cmdlib.unregisterServerCommand('foreach')
def unload(): unregisterServerCommand("wcs_randplayer")
def unload(): unregisterServerCommand('wcs_foreach')
def unload(): cmdlib.unregisterServerCommand('average')
def unload(): cmdlib.unregisterServerCommand('usermsg')
def unload(): cmdlib.unregisterServerCommand("wcs_myracemenu") es.unregclientcmd('myraces') es.unregsaycmd('myraces')
def unload(): cmdlib.unregisterServerCommand('est_effect') #cmdlib.unregisterServerCommand('est_Effect') for number in range(1, 25): cmdlib.unregisterServerCommand('est_effect_%s' % (zfill(number, 2))) """#cmdlib.unregisterServerCommand('est_effect_01')
def unload(): cmdlib.unregisterServerCommand('getplayercount')
def unload(): cmdlib.unregisterServerCommand("inrange")
def unload(): cmdlib.unregisterServerCommand('exp') cmdlib.unregisterServerCommand('uxp') cmdlib.unregisterServerCommand('exp_reg') cmdlib.unregisterServerCommand('uxp_reg') cmdlib.unregisterServerCommand('_exp_eval')
def unload(): services.unregister("auth") cmdlib.unregisterServerCommand('initreeauth_importmani')
def unload(): cmdlib.unregisterServerCommand('setentname')
def unload(): unregisterServerCommand('wcsx')
def unload(): cmdlib.unregisterServerCommand("wcs_raceinfomenu")
def unload(): unregisterServerCommand('wcs') unregisterServerCommand('wcs_uptime') unregisterServerCommand('wcs_reset_cooldown')
def unload(): cmdlib.unregisterServerCommand("ut_burn") cmdlib.unregisterServerCommand("ut_extinguish") cmdlib.unregisterServerCommand("ut_freeze") cmdlib.unregisterServerCommand("ut_unfreeze") cmdlib.unregisterServerCommand("ut_slay") cmdlib.unregisterServerCommand("ut_blind") cmdlib.unregisterServerCommand("ut_noclip") cmdlib.unregisterServerCommand("ut_unnoclip") cmdlib.unregisterServerCommand("ut_slap") cmdlib.unregisterServerCommand("ut_name") cmdlib.unregisterSayCommand("!burn") cmdlib.unregisterSayCommand("!extinguish") cmdlib.unregisterSayCommand("!freeze") cmdlib.unregisterSayCommand("!unfreeze") cmdlib.unregisterSayCommand("!slay") cmdlib.unregisterSayCommand("!blind") cmdlib.unregisterSayCommand("!noclip") cmdlib.unregisterSayCommand("!unnoclip") cmdlib.unregisterSayCommand("!slap") cmdlib.unregisterSayCommand("!name") cmdlib.unregisterSayCommand("!admin") cmdlib.unregisterSayCommand("!admins")
def unload(): unregisterServerCommand('wcs_decimal') unregisterServerCommand('wcs_getindex') unregisterServerCommand('wcs_isnumeric') unregisterServerCommand('wcs_near') unregisterServerCommand('wcs_fade') unregisterServerCommand('wcs_blind') unregisterServerCommand('wcs_unblind') unregisterServerCommand('wcs_capitalize')
def unload(): cmdlib.unregisterServerCommand('isnumerical')
def unload(): cmdlib.unregisterServerCommand('gettime')
def unload(): cmdlib.unregisterServerCommand('keymenu')
def unload(): cmdlib.unregisterServerCommand("exp") cmdlib.unregisterServerCommand("uxp") cmdlib.unregisterServerCommand("exp_reg") cmdlib.unregisterServerCommand("uxp_reg") cmdlib.unregisterServerCommand("_exp_eval")
def unload(): cmdlib.unregisterServerCommand("escinject")
def unload(): cmdlib.unregisterServerCommand("est_effect") # cmdlib.unregisterServerCommand('est_Effect') for number in range(1, 25): cmdlib.unregisterServerCommand("est_effect_%s" % (zfill(number, 2))) """#cmdlib.unregisterServerCommand('est_effect_01')
def unload(): cmdlib.unregisterServerCommand('keygroupsort')
def unload(): cmdlib.unregisterServerCommand('uniqueid')
def unload(): cmdlib.unregisterServerCommand('wcs_setfx') cmdlib.unregisterServerCommand('wcs_removefx')
def unload(): cmdlib.unregisterServerCommand("ultirank_upgrade") cmdlib.unregisterServerCommand("ultirank_enable") cmdlib.unregisterServerCommand("ultirank_info") rs.close()
def unload(): """ Executed when this file is unloaded. Ensure that we clear up any dependencies. """ cmdlib.unregisterServerCommand("es_checkversion")
def unload(): cmdlib.unregisterServerCommand("wcs_spendskillsmenu")
def unload(): cmdlib.unregisterServerCommand("wcsaddons_load") cmdlib.unregisterServerCommand("wcsaddons_unload")
def unload(): cmdlib.unregisterServerCommand('keyfilter')