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

[L4D2] Disable all votes with an admin online


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 05-16-2013 , 03:44   [L4D2] Disable all votes with an admin online
Reply With Quote #1

I've seen some plugins that outright block return to lobby/kick player/start new campaign/restart chapter/change all talk votes, but I want a plugin that ONLY blocks these votes when an admin is on.

Simplest plugin would check a user's identity; if admin check for "b" flag; disable votes.

More complex permission would ask the admin with the highest immunity level if the vote should go through, and then let it.
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 05-19-2013 , 13:46   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #2

is this a paid request?
Skyy is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-20-2013 , 01:33   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #3

Should do the job. Allows you to override the admin flag in case you decide to change your mind in the future by using "callvote_access" as override command.
Attached Files
File Type: sp Get Plugin or Get Source (novoteundersupervision.sp - 354 views - 1.5 KB)
Mr. Zero is offline
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-01-2013 , 09:13   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #4

Thank you Mr. Zero! I installed it on my server and will test it when possible. Also, I renamed the plugin to "disablesupervisedvotes".
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-02-2013 , 01:36   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #5

I use something very similar on our CS:GO servers...
__________________
View my Plugins | Donate
TnTSCS is offline
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-18-2013 , 19:13   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #6

Made it yourself or does it have a name TnTSCS?
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 06-19-2013 , 04:54   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #7

Have something similar to precisely reroute and force vote outcomes including admin protection etc.
Dr. Greg House is offline
PatPeter
Member
Join Date: Apr 2009
Location: Chicago
Old 06-28-2013 , 03:57   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #8

Which is?
__________________
SourceMod = Linux
EventScripts = Windows
Mani = Mac OS
PatPeter is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 06-28-2013 , 12:06   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #9

It's not official, made it myself and haven't released it.
Dr. Greg House is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-28-2013 , 12:44   Re: [L4D2] Disable all votes with an admin online
Reply With Quote #10

Here is something I use which is very simple and you could modify to your needs. Even though it's for CS:GO, I'm sure L4D2 uses similar methods, but might have different voting parameters, I don't know.

No Votes When Admin In-Game
__________________
View my Plugins | Donate

Last edited by TnTSCS; 06-28-2013 at 12:45.
TnTSCS 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 18:33.


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