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

How do I vote to turn on or off some plug-ins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
plug344
Member
Join Date: Dec 2021
Old 01-09-2022 , 01:34   How do I vote to turn on or off some plug-ins?
Reply With Quote #1

My server has installed some plug-ins that favor survivors, such as auto respawn, auto help, etc... players play noncommittal in coop and survival mode, and if I want to add the function of voting to change mode, these plug-ins are likely to be unpopular in versus/scavenge mode.

I think it is an act of disrespect for the opinions of players to unilaterally enable them in coop and survival mode and disable them in versus and scavenge.Because occasionally, most people in the server want to keep these plug-ins, even if the mode is changed to versus and scavenge. So I want players to decide whether to turn on or off these unbalanced plug-ins, whether in versus or scavengers, or in coop and survival


If I unload some plug-ins when a vote is passed and use load_lock command; and use load_unlock command when another vote is passed and load those previously unloaded plug-ins, is that possible..?

Last edited by plug344; 01-09-2022 at 02:12.
plug344 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-09-2022 , 03:16   Re: How do I vote to turn on or off some plug-ins?
Reply With Quote #2

Would it be easier to load plugins from .../disabled folder.

Plugins in .../plugins folder and sub-folders are automatically loaded when map start.
But plugins under .../plugins/disabled/ folder are not. You manually load or unload those.

This is my tip I throw to you.

You should also understand, depends some plugins how those are coded,
some maybe not work correctly when load during game or you unloading plugin some "effect" stay on.

You maybe need check, can you disable plugin just by changing plugin cvar "enabled" to off, zero.
Then perhaps use configure file to disable by cvars. etc. etc. so many ways.
Bacardi is offline
plug344
Member
Join Date: Dec 2021
Old 01-10-2022 , 04:16   Re: How do I vote to turn on or off some plug-ins?
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Would it be easier to load plugins from .../disabled folder.

Plugins in .../plugins folder and sub-folders are automatically loaded when map start.
But plugins under .../plugins/disabled/ folder are not. You manually load or unload those.

This is my tip I throw to you.

You should also understand, depends some plugins how those are coded,
some maybe not work correctly when load during game or you unloading plugin some "effect" stay on.

You maybe need check, can you disable plugin just by changing plugin cvar "enabled" to off, zero.
Then perhaps use configure file to disable by cvars. etc. etc. so many ways.

Thank you so much for your help, you have been a great inspiration to me!
plug344 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 23:16.


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