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

Custom Votes Redux (v1.7 - 4/13/14)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Plugin ID:
4088
Plugin Version:
1.9
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    184 
    Plugin Description:
    Allows server owners to creates dynamic votes accessible by players that run specified commands when passed.
    Old 02-08-2014 , 19:34   Custom Votes Redux (v1.7 - 4/13/14)
    Reply With Quote #1

    Custom Votes Redux

    Summary

    Allows server owners to creates dynamic votes accessible by players that run specified commands when passed.
    Remake of https://forums.alliedmods.net/showthread.php?t=72216

    Features
    • Anti Vote Evasion - Tired of griefers and hackers evading votes by disconnecting and reconnecting while voting is underway? Custom Votes now makes it hard for those scoundrels to get away with it.
    • Admin Immunity- Admins can be excluded from votes by configurable immunity levels.
    • Fully Configurable Votes - Now offers a fully configurable configuration file for creating and editing players, map, and option votes. (Will supply full list later)

    Commands
    • sm_votemenu - Opens the vote menu
    • sm_customvotes_reload - Reloads the configuration file (Clears all votes)

    How To Use

    This plugin allows for creating votes for about anything. At the moment, the plugin has three base types of votes:
    • players - Vote selections are populated with the current online players of the server
    • map - Vote selections are populated with the maps from a specific map list from maplists.cfg
    • list - Vote selections are populated with custom options designated by the configuration

    Creating Votes


    Installation
    • customvotes-redux.smx to plugins
    • customvotes.phrases.txt to translations
    • customvotes.cfg to configs

    Overrides
    • customvotes_cooldown - Immunity to vote cool-downs
    • customvotes_maxvotes - Immunity to maximum votes allowed

    Versions
    • Version 1.8 - 7/21/15
      • Updated to use GetClientAuthId
      • Added version that uses NativeVotes
    • Version 1.7 - 6/12/14
      • Fixed issues where commands were not executing (ex: sm_kick <player>)
      • Fixed config errors
    • Version 1.7 - 6/12/14
      • Fixed simple votes not being executed by chat triggers
      • Added override for vote cool-downs. Use customvotes_cooldown in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.
      • Added override for maximum votes allowed. Use customvotes_maxvotes in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.
    • Version 1.6 - 4/21/14
      • Fixed issue where {TARGET_STEAMID} wouldn't return a string
    • Version 1.5 - 4/13/14
      • Fixed array index out of bounds errors
    • Version 1.4 - 3/13/14
      • Fixed invalid client errors
      • Added fix for clients who disconnect before they get voted on
    • Version 1.3 - 3/1/14
      • Added ability to start votes rather than having player manually choose selections
      • Added On/Off on/off formatting for control variable votes
      • Added Yes/No yes/no formatting for vote casts
      • Added simple votes which don't require vote selections
      • Added chat notifications for when a vote starts, is cast upon, passes, or fails
      • Added {VOTER_STEAMID} and {TARGET_STEAMID} to vote formatting
      • Removed bots from ratio calculations
    • Version 1.2 - 2/20/14
      • Fixed improper votes being reset upon client connect and disconnects
      • Fixed array index out of bounds errors
      • Fixed bug where votes would have the required votes to pass but don't trigger
      • Fixed exploit where opening a vote with chat triggers would ignore delay and override configuration protocols
      • Fixed chat triggers not being executed when a ! or / is found
      • Changed max maps to 128
      • Changed max votes to 32
      • Added excluding bots from players type votes
      • Added restricting players type votes to team member selections
    • Version 1.1 - 2/16/14
      • Added players, maps, and list votes
      • Now remembers players who were voted upon who disconnect and reconnect (Anti vote evasion)
      • Added several new options to the configuration file (See example config included in download)
    • Version 1.0 - 2/8/14
      • Initial Release

    My Plugins
    intox Gaming
    Attached Files
    File Type: txt customvotes.phrases.txt (798 Bytes, 4265 views)
    File Type: cfg customvotes.cfg (7.3 KB, 4498 views)
    File Type: sp Get Plugin or Get Source (customvotes.sp - 2521 views - 69.7 KB)
    File Type: sp Get Plugin or Get Source (customvotes-nativevotes.sp - 1487 views - 69.4 KB)
    File Type: smx customvotes.smx (53.0 KB, 2782 views)
    File Type: smx customvotes-nativevotes.smx (54.1 KB, 1630 views)

    Last edited by ReFlexPoison; 07-22-2015 at 02:10.
    ReFlexPoison is offline
     



    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 08:49.


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