Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
Adds new cvars
  • Loading branch information
Akke committed Jan 5, 2018
1 parent 484e800 commit 68c6f76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified plugins/sourcecbl.smx
Binary file not shown.
4 changes: 3 additions & 1 deletion scripting/sourcecbl.sp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#define SPECMODE_NONE 0
#define SPECMODE_FIRSTPERSON 4
#define SPECMODE_3RDPERSON 5
#define VERSION "2.0.2"

#pragma dynamic 1045840

Expand Down Expand Up @@ -59,7 +60,7 @@ public Plugin myinfo =
name = "SourceCBL",
author = "SomePanns",
description = "Allows communities to keep hackers/cheaters away from their servers by using a global database with stored information of hackers/cheaters.",
version = "2.0",
version = VERSION,
}

public void OnPluginStart()
Expand All @@ -69,6 +70,7 @@ public void OnPluginStart()
g_hCvarEnabled = CreateConVar("sm_scbl_enabled", "1", "Enable or disable SourceCBL. 1 = Enabled (default), 0 = disabled.", FCVAR_NOTIFY);
g_hCvarCurrentGameOnly = CreateConVar("sm_scbl_current_game_only", "0", "If set to 0 (default) then cheaters banned from any Source game will be kicked. If set to 1 then only cheaters banned from the current game the server is running are kicked.", FCVAR_NOTIFY);
g_hCvarDisableAlt = CreateConVar("sm_scbl_disable_altcheck", "0", "0 (default) blocks all alternate account detected from marked cheaters only. 1 will allow alternate accounts of marked cheaters to connect.", FCVAR_NOTIFY);
CreateConVar("sm_scbl_version", VERSION, "Displays the current version of the plugin. Do not touch or change this.", FCVAR_NOTIFY);

HookEvent("player_spawn", Event_PlayerSpawn);

Expand Down
2 changes: 1 addition & 1 deletion updater.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "2.0.1"
"Latest" "2.0.2"
}

"Notes" "See www.steamcommunity.com/groups/SourceCBL for changelogs"
Expand Down

0 comments on commit 68c6f76

Please sign in to comment.