Esempio n. 1
0
void ChatEvents::Cleanup( void )
{
  bz_removeCustomSlashCommand("last");
  bz_removeCustomSlashCommand("flushchat");

  Flush();
}
Esempio n. 2
0
void TeamFlagResetHandler::Cleanup ( void )
{
  Flush();
  bz_removeCustomSlashCommand("tfrtime");
  bz_removeCustomSlashCommand("tfroff");
  bz_removeCustomSlashCommand("tfron");
  bz_removeCustomSlashCommand("tfrstatus");
}
Esempio n. 3
0
void MapChanger::Cleanup ( void )
{
  Flush();
  bz_removeCustomSlashCommand ( "maprandom" );
  bz_removeCustomSlashCommand ( "maplist" );
  bz_removeCustomSlashCommand ( "mapchange" );
  bz_debugMessage(4,"mapchange plugin unloaded");
}
Esempio n. 4
0
void flagResetTimerHandler::Cleanup(void)
{
    Flush();
    
    bz_removeCustomSlashCommand("flagresetunused");
    bz_removeCustomSlashCommand("frsetttime");
    bz_removeCustomSlashCommand("frcurrenttime");
    bz_debugMessage(4,"flagResetTimer plugin unloaded");
}
Esempio n. 5
0
void fairCTF::Cleanup()
{

  Flush();
  bz_removeCustomSlashCommand ("ctf");

  bz_debugMessage(4,"fairCTF plugin unloaded");
}
Esempio n. 6
0
void TCTFHandler::Cleanup ( void )
{
	Flush();
  bz_removeCustomSlashCommand("tctfstatus");
  bz_removeCustomSlashCommand("tctftime");
  bz_removeCustomSlashCommand("tctfon");
  bz_removeCustomSlashCommand("tctfoff");
  bz_removeCustomSlashCommand("fairctfon");
  bz_removeCustomSlashCommand("fairctfoff");
  bz_removeCustomSlashCommand("tctfsoundon");
  bz_removeCustomSlashCommand("tctfsoundoff");
}
Esempio n. 7
0
void TimeLimit::Cleanup ( void )
{

  // set default timelimit back before unloading
  //bz_setTimeLimit(saveTimeLimit);

  bz_removeCustomSlashCommand ("timelimit");
  Flush();


  // set default timelimit back before unloading
  bz_setTimeLimit(saveTimeLimit);
}
Esempio n. 8
0
BZF_PLUGIN_CALL int bz_Unload(void)
{
  bz_debugMessage(4, "timedctf plugin unloaded");
  bz_removeEvent(bz_eCaptureEvent, &tctfflagcapped);
  bz_removeEvent(bz_ePlayerJoinEvent, &tctfplayerjoined);
  bz_removeEvent(bz_ePlayerUpdateEvent, &tctfplayerupdates);
  bz_removeEvent(bz_eTickEvent, &tctftickevents);
  bz_removeCustomSlashCommand("tctfstatus");
  bz_removeCustomSlashCommand("tctftime");
  bz_removeCustomSlashCommand("tctfon");
  bz_removeCustomSlashCommand("tctfoff");
  bz_removeCustomSlashCommand("fairctfon");
  bz_removeCustomSlashCommand("fairctfoff");
  bz_removeCustomSlashCommand("tctfsoundon");
  bz_removeCustomSlashCommand("tctfsoundoff");
  return 0;
}
Esempio n. 9
0
void leagueOverSeer::Cleanup (void)
{
    bz_debugMessagef(0, "League Over Seer %i.%i.%i (%i) unloaded.", MAJOR, MINOR, REV, BUILD);

    Flush(); // Clean up all the events

    // Remove the prepared SQLite statement from memory
    sqlite3_finalize(getPlayerMotto);

    // Remove all the slash commands
    bz_removeCustomSlashCommand("official");
    bz_removeCustomSlashCommand("fm");
    bz_removeCustomSlashCommand("finish");
    bz_removeCustomSlashCommand("cancel");
    bz_removeCustomSlashCommand("spawn");
    bz_removeCustomSlashCommand("resume");
    bz_removeCustomSlashCommand("pause");
}
Esempio n. 10
0
BZF_PLUGIN_CALL int bz_Unload ( void )
{
  bz_removeEvent ( bz_ePlayerJoinEvent, &handler );
  bz_removeEvent ( bz_ePlayerDieEvent, &handler );
  bz_removeEvent ( bz_ePlayerPartEvent, &handler );
  bz_removeEvent ( bz_eCaptureEvent, &handler );
  bz_removeEvent ( bz_eGetWorldEvent, &handler );
  bz_removeEvent ( bz_eTickEvent, &handler );
  bz_removeEvent ( bz_eListServerUpdateEvent, &handler );

  bz_removeCustomSlashCommand ( "mapnext" );
  bz_removeCustomSlashCommand ( "mapreset" );
  bz_removeCustomSlashCommand ( "mapcyclemode" );
  bz_removeCustomSlashCommand ( "mapendmode" );
  bz_removeCustomSlashCommand ( "maplist" );
  bz_removeCustomSlashCommand ( "maplimit" );

  bz_debugMessage(4,"mapchange plugin unloaded");
  return 0;
}
Esempio n. 11
0
BZF_PLUGIN_CALL int bz_Unload(void)
{
  bz_removeEvent(bz_ePlayerUpdateEvent, &kotheventhandler);
  bz_removeEvent(bz_ePlayerPausedEvent, &kothplayerpaused);
  bz_removeEvent(bz_ePlayerPartEvent, &kothplayerleft);
  bz_removeEvent(bz_ePlayerJoinEvent, &kothplayerjoined);
  bz_removeEvent(bz_ePlayerDieEvent, &kothplayerdied);
  bz_debugMessage(4, "koth plugin unloaded");
  bz_removeCustomMapObject("KOTH");
  bz_removeCustomSlashCommand("kothstatus");
  bz_removeCustomSlashCommand("kothon");
  bz_removeCustomSlashCommand("kothoff");
  bz_removeCustomSlashCommand("kothsoundon");
  bz_removeCustomSlashCommand("kothsoundoff");
  bz_removeCustomSlashCommand("kothtimemult");
  bz_removeCustomSlashCommand("kothtimemultmin");
  bz_removeCustomSlashCommand("kothtime");
  bz_removeCustomSlashCommand("kothautotimeon");
  bz_removeCustomSlashCommand("kothautotimeoff");
  bz_removeCustomSlashCommand("kingsay");
  bz_clearMaxWaitTime("KOTH");
  return 0;
}
Esempio n. 12
0
void KeepAwayEventHandler::Cleanup(void)
{
	Flush();
	bz_removeCustomMapObject("keepaway");
	bz_removeCustomSlashCommand("kastatus");
	bz_removeCustomSlashCommand("kaon");
	bz_removeCustomSlashCommand("kaoff");
	bz_removeCustomSlashCommand("katimemult");
	bz_removeCustomSlashCommand("katimemultmin");
	bz_removeCustomSlashCommand("katime");
	bz_removeCustomSlashCommand("kaautotimeon");
	bz_removeCustomSlashCommand("kaautotimeoff");
	bz_removeCustomSlashCommand("kas");
	bz_removeCustomSlashCommand("kaffon");
	bz_removeCustomSlashCommand("kaffoff");
	bz_removeCustomSlashCommand("kaf");
	bz_removeCustomSlashCommand("kaf+");
	bz_removeCustomSlashCommand("kasoundon");
	bz_removeCustomSlashCommand("kasoundoff");
	bz_removeCustomSlashCommand("kaflagreseton");
	bz_removeCustomSlashCommand("kaflagresetoff");
}
Esempio n. 13
0
void Defusal::Cleanup(void)
{
	Flush();
	bz_removeCustomSlashCommand("bomb");
}
Esempio n. 14
0
void KOTHHandler::Cleanup(void){

	Flush();
	bz_removeCustomMapObject("KOTH");
	bz_removeCustomSlashCommand("kothstatus");
	bz_removeCustomSlashCommand("kothon");
	bz_removeCustomSlashCommand("kothoff");
	bz_removeCustomSlashCommand("kothsoundon");
	bz_removeCustomSlashCommand("kothsoundoff");
	bz_removeCustomSlashCommand("kothtimemult");
	bz_removeCustomSlashCommand("kothtimemultmin");
	bz_removeCustomSlashCommand("kothtime");
	bz_removeCustomSlashCommand("kothautotimeon");
	bz_removeCustomSlashCommand("kothautotimeoff");
	bz_removeCustomSlashCommand("kingsay");
}
Esempio n. 15
0
	virtual void Cleanup ( void )
	{
		bz_removeCustomSlashCommand ( "killall" );
	}