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

Vote add a admin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ancient1
Senior Member
Join Date: Jul 2004
Location: UK
Old 04-02-2012 , 07:28   Vote add a admin
Reply With Quote #1

I have done a search, but cant find anything.

As I will be running a public Match play server, I wish to leave it to admin itself.

Is there a plugin that allows the connected players to vote for a player to be admin?

Cheers,

Ancient
__________________
ancient1 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-02-2012 , 22:00   Re: Vote add a admin
Reply With Quote #2

I haven't seen one personally but it sure sounds interesting. Reminds me of the gameshow "Unanimous".

Have you searched the Approved Plugins or Suggestions/Requests sections?
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-04-2012 , 15:49   Re: Vote add a admin
Reply With Quote #3

Command:
  • amx_voteadmin <nick, #userid, authid, *>[/b]
    - Starts a vote for a specific player to be admin
    - If '*' is passed, a random player will be selected.

Cvars
  • vote_admin_auto 0/1
    - 1 = Turns on automatic voting for a random player when the map starts
    - 0 = Disables this feature
  • vote_admin_ratio <ratio>
    - The required ratio of "yes" votes of total
    - Works as a decimal (eg. 0.7 for 70% of the votes to be "yes")
  • vote_admin_flags <flags>
    - The admin flags to give to a player that is voted to be admin
  • vote_admin_time <time>
    - The length of time a voted player will be admin
    - Set to 0 to add to users.ini and let server owner remove player
    - This length of time is used with the time unit cvar below
  • vote_admin_timeunit <unit>
    - The unit of time to measure the time cvar
    - Possible values: "seconds", "second", "minutes", "minute", "hours", "hour", "days", "day", "maps", "map"
    - When using "map" for time unit, the time cvar is the number of maps player will be admin
  • amx_vote_time <seconds>
    - The time in seconds of how long the vote lasts
    - This is a default AMXX voting cvar
  • amx_vote_delay <seconds>
    - The time in seconds to wait to start a vote after one has finished
    - This is a default AMXX voting cvar
  • amx_vote_answers 0/1
    - 1 = Shows each player's vote in chat
    - 0 = Disables this feature
    - This is a default AMXX voting cvar

Notes:
  • This plugin requires a Steam server that does not allow Non-Steam players.
  • The file where temporary admins are stored is at /addons/amxmodx/data/vote_admin.txt - Do not edit or problems may occur.
  • To disable players from using amx_voteadmin, change the admin access required for the command in /addons/amxmodx/configs/cmdaccess.ini
Attached Files
File Type: sma Get Plugin or Get Source (vote_admin.sma - 618 views - 18.7 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-05-2012 at 11:15.
Exolent[jNr] is offline
swmajid2010
Member
Join Date: Mar 2012
Old 04-05-2012 , 03:53   Re: Vote add a admin
Reply With Quote #4

how this plugins work any commands?
and explain will it vote automaticly?
swmajid2010 is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-05-2012 , 04:13   Re: Vote add a admin
Reply With Quote #5

PHP Code:
register_concmd("amx_voteadmin""CmdVoteAdmin"_"<nick, #userid, authid> -- Starts a vote for this player to be admin"); 
command in console

Ex : amx_voteadmin EpicMonkey

Last edited by EpicMonkey; 04-05-2012 at 04:13.
EpicMonkey is offline
swmajid2010
Member
Join Date: Mar 2012
Old 04-05-2012 , 04:15   Re: Vote add a admin
Reply With Quote #6

but i want auto vote when a map chagne vote start for a map or a hour
but dont effect on permanent admins
swmajid2010 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-05-2012 , 11:15   Re: Vote add a admin
Reply With Quote #7

Updated post with documentation and added cvars.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-05-2012 , 11:53   Re: Vote add a admin
Reply With Quote #8

Quote:
Originally Posted by Exolent[jNr] View Post
Updated post with documentation and added cvars.
how about submitting this amazing plugin
EpicMonkey is offline
swmajid2010
Member
Join Date: Mar 2012
Old 04-06-2012 , 03:52   Re: Vote add a admin
Reply With Quote #9

this plugins only show that the person is admin but dont the person cant use commands
e.g:
say @@ hi
amxmodmenu
amx_map < map >
fix it pls
swmajid2010 is offline
swmajid2010
Member
Join Date: Mar 2012
Old 04-06-2012 , 04:53   Re: Vote add a admin
Reply With Quote #10

one fix needed.
when a player made a admin then he not only many player with non steam (vlave_id_pending) will be admin too so can you resolve this because i dont know any thing about acripting i am learning
swmajid2010 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 05:27.


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