add:
{
	"origin" "6803 1888 -10742"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "6"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"targetname" "1_ready_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,1,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "2_ready_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "3_ready_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,3,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "4_ready_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,4,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "5_ready_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,5,0,1"
	}
}

;-----------
; Disable bhop in certain parts
;-----------

modify:
{
    match:
    {
        "targetname" "1_ready_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 0,0,-1"
    }
}
 
modify:
{
    match:
    {
        "targetname" "2_ready_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "2_boss_earthquake_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 0,32,-1"
    }
}
 
modify:
{
    match:
    {
        "targetname" "3_ready_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "3_room1_lastdoor"
    }
    insert:
    {
        "OnFullyOpen" "server,Command,sv_enablebunnyhopping 0,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "3_room2_lastdoor"
    }
    insert:
    {
        "OnFullyOpen" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "3_room5_lift"
    }
    insert:
    {
        "OnFullyOpen" "server,Command,sv_enablebunnyhopping 0,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "3_bosslift"
    }
    insert:
    {
        "OnFullyOpen" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}
 
modify:
{
    match:
    {
        "targetname" "4_ready_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "5_ready_relay"
    }
    insert:
    {
        "OnTrigger" "server,Command,sv_enablebunnyhopping 1,0,-1"
    }
}