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

[Support] Map Configs and Toggling Hosties


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phillip_os
New Member
Join Date: Oct 2012
Old 10-14-2012 , 20:11   [Support] Map Configs and Toggling Hosties
Reply With Quote #1

Hello everyone, i didn't want to open new topic so i decided to ask here hoping someone will help me.

I want to know how can i activate or deactivate some plugin on maps i wish?

Etc. i have warmup plugin on my server, but when i play Jail i dont want it to be activated, so i want to deactivate it. i found cvar "sm_warmupround_enabled 0" but when i put that in Jail map cfg file, i have warmupround enabled ANYWAYS. every other thing like "mp_limitteams 0" or so works just fine.

Is there anything i should add before "sm_warmupround_enabled 0"

How do i enable plugin by map name?

Thanks in advance, Phillip
Phillip_os is offline
Phillip_os
New Member
Join Date: Oct 2012
Old 10-14-2012 , 21:01   Re: [CS:S/CS:GO] SM_Hosties (v2.1.0)
Reply With Quote #2

What is the CVAR to toggle enable/disable the plugin. Thanks!
Phillip_os is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-18-2012 , 22:10   Re: [CS:S/CS:GO] SM_Hosties (v2.1.0)
Reply With Quote #3

Quote:
Originally Posted by Phillip_os View Post
Hello everyone, i didn't want to open new topic so i decided to ask here hoping someone will help me.

I want to know how can i activate or deactivate some plugin on maps i wish?

Etc. i have warmup plugin on my server, but when i play Jail i dont want it to be activated, so i want to deactivate it. i found cvar "sm_warmupround_enabled 0" but when i put that in Jail map cfg file, i have warmupround enabled ANYWAYS. every other thing like "mp_limitteams 0" or so works just fine.

Is there anything i should add before "sm_warmupround_enabled 0"

How do i enable plugin by map name?

Thanks in advance, Phillip
You can make a separate config file for each map. The cvars are all listed on the first post but to disable Hosties you should unload the plugin with a config command such as "sm plugins unload sm_hosties"
__________________
databomb is offline
hardy4u
Senior Member
Join Date: Oct 2012
Location: Sydney,Australia
Old 02-06-2013 , 14:10   Re: [Support] Map Configs and Toggling Hosties
Reply With Quote #4

Put this is server.cfg
"sm plugins unload sm_hosties"

Put this is map config
"sm plugins load sm_hosties"

GL
__________________


I fix/manage Servers of CS:S,CS:GO | Steam ID :- t1rath
Donations (CS:GO items) keeps me motivated.
hardy4u is offline
Reply



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 09:03.


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