Raised This Month: $94 Target: $400
 23% 

BlockTheVote


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Hawk552 (427)
neuromancer
Member
Join Date: Apr 2007
Location: Poland
Old 08-14-2007 , 10:51   BlockTheVote
Reply With Quote #1

A simple plugin that I've created for my server.
This plugis blocks commands votemap (vote for map change) and vote (vote for kick player) when we don't want people to change map by vote or kick a player by vote.

Cvars:
blockthevote <0|1|2|3>
0 - no blocking
1 - blocking command votemap
2 - blocking command vote
3 - blocking both votemap and vote commands

Tested with Steam Counter-Strike 1.6 and should work with other mods too.

PS: Maybe soon I'll add an option that will be blocking this commands when an Admin is on the server and when there's no Admins this commands will be available again.
Attached Files
File Type: sma Get Plugin or Get Source (blockthevote.sma - 1272 views - 978 Bytes)

Last edited by neuromancer; 08-14-2007 at 10:57.
neuromancer is offline
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-16-2007 , 16:28   Re: BlockTheVote
Reply With Quote #2

so it blocks just the commands in console and chat? nothing else, why should i use this, you could just disable the vote plugin or delete the maps you dont want to be voted? sorry but i think i didnt get the meaning of this totally
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
ts2do
Senior Member
Join Date: Mar 2004
Old 08-16-2007 , 17:00   Re: BlockTheVote
Reply With Quote #3

it disables the commands integrated in CS
__________________
ts2do is offline
Send a message via AIM to ts2do
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-16-2007 , 22:37   Re: BlockTheVote
Reply With Quote #4

which arent enabled at default as i checked *weired*
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 08-16-2007 , 23:04   Re: BlockTheVote
Reply With Quote #5

Quote:
Originally Posted by ThunderBlizzard View Post
which arent enabled at default as i checked *weired*
I don't think you know what they're talking about... There is a map vote and kick vote already built into the game.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-17-2007 , 00:18   Re: BlockTheVote
Reply With Quote #6

i know about the vote but votemap is configuratable if i am not wrong via server.cfg
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 08-17-2007 , 05:28   Re: BlockTheVote
Reply With Quote #7

Then if you know what we're talking about, you'd know they ARE enabled by default... I don't even think there's a CVAR to disable it.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-17-2007 , 07:10   Re: BlockTheVote
Reply With Quote #8

no cvar but there is a way, otherwise i wouldnt be disable on our server without this plugin
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
Phorce_Phed
Member
Join Date: Jun 2006
Old 11-09-2007 , 02:04   Re: BlockTheVote
Reply With Quote #9

This plugin is very similar to No Vote.

(Not that that's bad, just noting it in case anyone cares)
Phorce_Phed 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 20:10.


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