AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [Request] Change cvar based on player count. (https://forums.alliedmods.net/showthread.php?t=331833)

AuricYoutube 04-09-2021 08:42

[Request] Change cvar based on player count.
 
I am looking for a simple plugin that can change certain cvars based on the amount of players in the server. I found a thread that has this exact same idea.

https://forums.alliedmods.net/showpo...19&postcount=2

The problem with the plugin there is it sometimes messes up and thinks there is only one player when there are actually more than one on the server.

Thanks in advance, :bacon!:

Tonblader 04-09-2021 09:25

Re: [Request] Change cvar based on player count.
 
Left 4 Dead 2
Use these 2 plugins

[L4D/L4D2]Config Survivors
[ANY] ADVANCED and silent CVAR change

AuricYoutube 04-09-2021 09:28

Re: [Request] Change cvar based on player count.
 
Quote:

Originally Posted by Tonblader (Post 2743532)

Sorry for not saying that it is a CSGO server

Bacardi 04-10-2021 10:32

Re: [Request] Change cvar based on player count.
 
Execute Configs 1.0 (Updated 08/12/09)

AuricYoutube 04-11-2021 05:39

Re: [Request] Change cvar based on player count.
 
Quote:

Originally Posted by Bacardi (Post 2743669)

Nice I don't know how I didn't find this plugin, do you know how I could have a colored message in chat whenever a config is executed?

Bacardi 04-11-2021 07:52

Re: [Request] Change cvar based on player count.
 
sm_chat "message"

or find/create own plugin.

AuricYoutube 04-11-2021 14:28

Re: [Request] Change cvar based on player count.
 
Quote:

Originally Posted by Bacardi (Post 2743669)

After some testing, I found that this plugin still has the same issues as the plugin in the OP due to bots connecting and disconnecting.

Edit: and yes I did set the bot cvar to 0 in the plugin

Bacardi 04-12-2021 07:05

Re: [Request] Change cvar based on player count.
 
Can you show your executeconfigs.txt ?

AuricYoutube 04-13-2021 01:36

Re: [Request] Change cvar based on player count.
 
Quote:

Originally Posted by Bacardi (Post 2743858)
Can you show your executeconfigs.txt ?

Code:

"Configs"
{
    "*"
    {
        "clients:1"    "1:instavote.cfg"
        "clients:2"    "1:delayvote.cfg"
    }
}



All times are GMT -4. The time now is 04:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.