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

[ANY] mVotes - MySQL based Votes


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Plugin ID:
6872
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Admins with the vote flag can create, extend and close polls with a pretty easy to use menu.
    Old 12-25-2019 , 20:04   [ANY] mVotes - MySQL based Votes
    Reply With Quote #1

    You like this plugin or my work? Support is not a crime.

    This plugin is a standalone polls plugin. Admins with the vote flag can create, extend and close polls with a pretty easy to use menu. It's also possible to give multiple votes on one poll. All data and results are saved in a mysql database. Active polls, options and votes are cached as enum struct in a arraylist to increase the performance without many mysql queries.



    How the keywords works
    If you create a vote with the keyword ".", it will displayed on all servers (no matter which keyword(s) was set). Server can have multiple keywords and a vote will displayed if at least 1 keyword was matched.



    Features I'll not add (except anyone do it)
    • Change of title/options
      • I want try to prevent that on the legal way, otherwise it would fake the results
    • Renewal of expired polls
      • Expired or closed polls are done and shouldn't be reopened


    ToDo


    Known issues


    Links


    Installation
    • Upload "mvotes.smx" into your plugins folder (addons/sourcemod/plugins)
    • Upload "mvotes.phrases.txt" into your translation folder (addons/sourcemod/translations)
    • Add the "mvotes" entry in your databases.cfg file (addons/sourcemod/configs)


    Note: Don't be surprised, I've changed some names during I coded it, which was a "test" plugin for the new enum struct in combination with ArrayList and MySQL. So some stuff could be weird named.
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.

    Last edited by Bara; 08-29-2020 at 11:13. Reason: Added note
    Bara is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 12-25-2019 , 20:08   Re: [ANY] mVotes - MySQL based Votes
    Reply With Quote #2

    Thanks Bara, useful plugin!
    Ejziponken 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 11:24.


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