client say /vote <ALLOWED COMMANDS ONLY>
1 Attachment(s)
original: http://forums.alliedmods.net/showthread.php?p=159545
the plugin above lets anyone say /vote <command> to start a vote to execute the <command> on the server console, with restrictions, such as Quit, Reload, Kill, amx_addadmin, But can people go: /vote is the admin stupid, and then the vote passes and "is the admin stupid" is executed on console This plugin: same as the above exept THEY CAN ONLY START ALLOWED VOTES ONLY!!!! this plugin checks the command the client wants to start with a file, if a part of the command in the file fits in to what the client said, the vote is allowed Example: say /vote amx_slay z "amx_slay z" has "amx_slay", so vote proceeds Create a file in the configs folder called: allowed_votes.ini add the commands you want to allow clients to vote to execute on console Credits go to GHW cvars: Vote_Delay 60 <when can the people start another vote after a /vote Vote_Lasts 15 <how much time the people have to answer before the plugin calculates the yes and nos sv_vote 1 <enabled?? Vote_Advertise 60 <advertize it self every X secs |
Re: client say /vote <ALLOWED COMMANDS ONLY>
this isn't unique, and if you want players to be able to vote for stuff, just change the default flags from z to <vote flag>z.
Unapproved. |
Re: client say /vote <ALLOWED COMMANDS ONLY>
maybe you have to read what GHW said, its for if there is no admin in server, people can /vote a allowed command in to the server console, but another useful way is this:
alias ffon "mp_friendlyfire 1" alias ffoff "mp_friendlyfire 0" preset commands with aliases and let players /vote <alias> amxx stock vote does not have amx_voteexec, and you cant say /vote with that if i give people the j flag, people go amx_vote "is the admin dumb" y n, with this plugin they cant do that and most people dont know how to acctually use the amx_vote functions |
Re: client say /vote <ALLOWED COMMANDS ONLY>
I still don't see it as useful. I not only don't understand what you're trying to say is unique about it, but I think Chronic's version is far more useful than this.
|
Re: client say /vote <ALLOWED COMMANDS ONLY>
the original blocks votes such as amx_on amx_off but does not block "is the admin dumb"
mine blocks all exept ones listed so people dont use up the /vote command for nothing tomy91 says I think, that better will be then, when you edit the plugin, that in .ini file need to type the commands, that anyone can use, because it's hard to restrict so much commands, because I think, that many of don't want that anyone can use much commands! It's just a suggestion... Also i would like, that the plugin would work only in that moments, when there are no admins in server! mostation says: You're right, there are more bad commands than good commands for the server, it would be better. GHW says: Added some new commands that people were using on my server to piss me off with. Pretty sure I covered jsut about everything. BUT not "is admin dumb" (page 2 of the original) with this people cant piss you off |
Re: client say /vote <ALLOWED COMMANDS ONLY>
For advertising here, I'm going to lock this. You obviously have no idea about any sort of manners or common sense (especially advertising an unapproved plugin in an approved thread).
This is no longer up for discussion. If you feel wrongly accused, please contact BAILOPAN. |
| All times are GMT -4. The time now is 20:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.