Raised This Month: $32 Target: $400
 8% 

Players Votes (v1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pZv!
Junior Member
Join Date: Sep 2007
Plugin ID:
182
Plugin Version:
1.2.2
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides votekick, voteban and votemap for players
    Unapprover:
    Reason for Unapproving:
    No longer supported.
    Old 09-15-2007 , 10:52   Players Votes (v1.2.2)
    Reply With Quote #1

    Players Votes (1.2.2)

    say votekick, voteban & votemap to use by players.

    Changelog:
    1.2.2:
    - Compatibility with newest sourcemod
    1.2.1:
    - cvar to prevent adding X last played maps to votemap menu
    - few minor fixes
    - added auto config execution
    - Added german translation (thx Isias)
    1.2:
    - Added votemap
    - More options
    1.0.1:
    - More cvar options
    1.0: First release

    CVARS:
    sm_votekick_ratio - percent required for successful votekick
    sm_voteban_ratio - percent required for successful voteban
    sm_votemap_ratio - percent required for successful votemap

    sm_votekick_minimum - minimum votes required for successful votekick, -1 for disable votekick
    sm_voteban_minimum - minimum votes required for successful voteban, -1 for disable voteban
    sm_votemap_minimum - minimum votes required for successful votemap, -1 for disable votemap

    sm_votekick_delay - time before votekick is allowed after map start
    sm_voteban_delay - time before voteban is allowed after map start
    sm_votemap_delay - time before votemap is allowed after map start

    sm_votemap_mapsfile - file containing allowed maps
    default: mapcycle.txt
    it can be: cfg/sourcemod/maplist.txt etc.

    sm_playersvotes_interval - time between another vote cast

    sm_voteban_time - ban time

    sm_playersvotes_immunity - admins with equal or higher immunity level will not be affected by votekick and voteban

    sm_votemap_lastmaps - last number of played maps that will not show in votemap list

    Credits:
    Thanks to ferret, some things are based on his
    solutions from plugins in sourcemod base.
    Attached Files
    File Type: cfg plugin.playersvotes.cfg (1.3 KB, 4515 views)
    File Type: txt plugin.playersvotes.txt (3.5 KB, 4521 views)
    File Type: sp Get Plugin or Get Source (playersvotes.sp - 8276 views - 13.4 KB)

    Last edited by BAILOPAN; 03-31-2009 at 04:50. Reason: update
    pZv! is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-15-2007 , 12:26   Re: Players Votes
    Reply With Quote #2

    NICE WORK! =)

    i think your plugin is first allow vote kick and ban for public (non admin) use.
    will try it.

    can you add a public "vote map"?
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    pZv!
    Junior Member
    Join Date: Sep 2007
    Old 09-15-2007 , 13:34   Re: Players Votes
    Reply With Quote #3

    Thanks ;)
    Yes, I want to add votemap to this plugin
    pZv! is offline
    urus
    Senior Member
    Join Date: Jan 2007
    Old 09-15-2007 , 13:56   Re: Players Votes
    Reply With Quote #4

    Thanks, but why nobody don`t make the rcon vote plugin!?
    May be you make it? =)

    Need standart command structure:

    sm_votercon <question> <command to execute>

    Examle:

    sm_votercon "Gravity 2000?" "sv_gravity 2000"
    sm_votercon "Enable AnyMod?" "exec my.cfg"
    etc

    p.s. Sorry for offtop
    urus is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-15-2007 , 15:19   Re: Players Votes
    Reply With Quote #5

    i think it's NOT OFFTOP, but it's an ADMIN command i think... =)

    all current plugins are out-of-date.
    noone is updating.

    we hope to you! =)

    WE ALL need an actual COMPLEX public (admins already have builtin vote plugins) vote plugin:

    1. votemap (with in hud or chat process and results indicator show)
    2. votekick
    3. voteban

    - all votes need "percentage required" and "minimum N players ingame" (for prevent ban if server have 2 vs 2 players for example and 2 gamers want to ban 1 other, instead "_minimum"...

    - all votes needs to have a 3 or 5 seconds delay before they will executed by vote results... it nedd to be indicated on screen... in HUD i think...

    - plugin need to have a config file for variables (placed at cstrike/cfg/sourcemod/playersvotemod.cfg for example)

    do you need more ideas? =) i can give it... at any time. i can't write a sript but i have a lot of ideas for various plugins.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws

    Last edited by imported_Anth0ny; 09-15-2007 at 15:21.
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    DeaD_EyE82
    AlliedModders Donor
    Join Date: Jan 2006
    Location: Germany
    Old 09-15-2007 , 21:09   Re: Players Votes
    Reply With Quote #6

    can you add votemap?

    first option use mapcycle.txt
    second option use the maplist.txt
    DeaD_EyE82 is offline
    Send a message via ICQ to DeaD_EyE82
    pZv!
    Junior Member
    Join Date: Sep 2007
    Old 09-15-2007 , 21:54   Re: Players Votes
    Reply With Quote #7

    votemap has been added and all the stuff with time between votes and from map start.

    btw. thanks for you advices
    pZv! is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-16-2007 , 06:30   Re: Players Votes
    Reply With Quote #8

    =)) Nice work!
    You make more and more functional plugin!

    But you forgotten implemet a config file (cstrike/cfg/sourcemod/playersvotemod.cfg) for plugin variables (i think it's better to place all plugin's variables to its own config file), like a

    Code:
    //  percent required for successful votekick (in percents)
    sm_votekick_ratio 0.50
    //  percent required for successful voteban (in percents)
    sm_voteban_ratio 0.60
    // percent required for successful votemap (in percents)
    sm_votemap_ratio 0.51
    
    // minimum votes required for successful votekick, -1 for disable votekick
    sm_votekick_minimum 10
    // minimum votes required for successful voteban, -1 for disable voteban
    sm_voteban_minimum 10
    // minimum votes required for successful votemap, -1 for disable votemap
    sm_votemap_minimum 4
    
    // time before votekick is allowed after map start (in seconds)
    sm_votekick_delay 10
    // time before voteban is allowed after map start (in seconds)
    sm_voteban_delay 10
    // time before votemap is allowed after map start (in seconds)
    sm_votemap_delay 5
    
    // file containing allowed maps 
    // default: mapcycle.txt. 
    // it can be: maplist.txt etc.
    sm_votemap_mapsfile mapcycle.txt
    
    // time between another vote cast (in seconds)
    sm_playersvotes_interval 60
    
    // ban time
    sm_voteban_time 99999
    // immunity level 
    sm_playersvotes_immunity
    hmmm...
    sm_playersvotes_immunity - immunity level ... what is it?


    and i think you are ... aaaaa... confused with two configs: for maps and for plugin variables:

    for ALL plugin variables config file (playersvotemod.cfg) must be placed to dir
    cstrike/cfg/sourcemod/

    but MAPCYCLE.TXT and MAPLIST.TXT files already exists at game dir
    cstrike/

    will be better to use it.

    but YOU ON THE RIGHT WAY!
    THANKS FOR YOUR WORK.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-16-2007 , 09:01   Re: Players Votes
    Reply With Quote #9

    and another things:

    1. votemap command must have an additional cvar for control HOW many previous played maps can't to be choosen for vote process.

    for example: all gamers like de_dust2, BUT server have a lot of nice other maps. if we set this variable (for example sm_votemap_last 4) to not equal 0, plugin need to disallow to vote starter choose 4 previously played maps.

    2. if votemap have current map as argument- it must be a "vote for map extend"

    and for example restriction for extend: sm_votemap_extend 2 - allow to extend current map only twisely, after it this map go to the list of disallowed maps for votes.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    Isias
    Senior Member
    Join Date: Apr 2006
    Old 09-16-2007 , 15:17   Re: Players Votes
    Reply With Quote #10

    Added german language support. Could you add the Chat Trigger Rocktthevote and rtv?
    Attached Files
    File Type: txt plugin.playersvotes.txt (2.6 KB, 850 views)
    Isias 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 11:15.


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