Raised This Month: $12 Target: $400
 3% 

[Request] Change cvar based on player count.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 04-09-2021 , 08:42   [Request] Change cvar based on player count.
Reply With Quote #1

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,
AuricYoutube is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 04-09-2021 , 09:25   Re: [Request] Change cvar based on player count.
Reply With Quote #2

Left 4 Dead 2
Use these 2 plugins

[L4D/L4D2]Config Survivors
[ANY] ADVANCED and silent CVAR change
Tonblader is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 04-09-2021 , 09:28   Re: [Request] Change cvar based on player count.
Reply With Quote #3

Quote:
Originally Posted by Tonblader View Post
Sorry for not saying that it is a CSGO server
AuricYoutube is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-10-2021 , 10:32   Re: [Request] Change cvar based on player count.
Reply With Quote #4

Execute Configs 1.0 (Updated 08/12/09)
__________________
Do not Private Message @me
Bacardi is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 04-11-2021 , 05:39   Re: [Request] Change cvar based on player count.
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
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?
AuricYoutube is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-11-2021 , 07:52   Re: [Request] Change cvar based on player count.
Reply With Quote #6

sm_chat "message"

or find/create own plugin.
Bacardi is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 04-11-2021 , 14:28   Re: [Request] Change cvar based on player count.
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
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

Last edited by AuricYoutube; 04-11-2021 at 14:28.
AuricYoutube is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-12-2021 , 07:05   Re: [Request] Change cvar based on player count.
Reply With Quote #8

Can you show your executeconfigs.txt ?
__________________
Do not Private Message @me
Bacardi is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 04-13-2021 , 01:36   Re: [Request] Change cvar based on player count.
Reply With Quote #9

Quote:
Originally Posted by Bacardi View Post
Can you show your executeconfigs.txt ?
Code:
"Configs"
{
    "*"
    {
        "clients:1"    "1:instavote.cfg"
        "clients:2"    "1:delayvote.cfg"
    }
}
AuricYoutube is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:05.


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