This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

client say /vote <ALLOWED COMMANDS ONLY>


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-11-2007 , 16:51   client say /vote <ALLOWED COMMANDS ONLY>
#1

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
Attached Files
File Type: ini allowed_votes.ini (46 Bytes, 262 views)
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME

Last edited by GHW_Chronic; 03-03-2007 at 17:32.
kp_uparrow is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-11-2007 , 17:02   Re: client say /vote <ALLOWED COMMANDS ONLY>
#2

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.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-11-2007 , 17:19   Re: client say /vote <ALLOWED COMMANDS ONLY>
#3

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
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-11-2007 , 18:17   Re: client say /vote <ALLOWED COMMANDS ONLY>
#4

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.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-11-2007 , 19:00   Re: client say /vote <ALLOWED COMMANDS ONLY>
#5

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
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-11-2007 , 20:22   Re: client say /vote <ALLOWED COMMANDS ONLY>
#6

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.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Closed Thread



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 05:15.


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