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

[CS:GO/ANY?] Flag (VIP) Manager


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ivenuss
Junior Member
Join Date: Nov 2019
Location: Czech Republic
Plugin ID:
7339
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 10-17-2020 , 15:26   [CS:GO/ANY?] Flag (VIP) Manager
    Reply With Quote #1

    Description
    Adds user to database with admin flag to specific duration & whenever user joins to server he obtains admin flag. Good way to use this plugin for adding VIPs.

    Database preview



    Installation

    connect to your mysql in databases.cfg

    HTML Code:
    "flag_manager"
    {
        "driver"                        "mysql"
        "host"                          "localhost"
        "database"                      ""
        "user"                          ""
        "pass"                          ""
    }
    Cvars
    Code:
    sm_fm_adminflag "b" //Admin flags with access to admin commands.
    Commands
    • sm_addflag <steamid64> <flag> <duration> <unit>
    • sm_extendflag <steamid64> <duration> <unit>
    • sm_deleteflag <steamid64>

    Usage

    Allowed units: second, minute, hour, day, week, month, year
    • sm_addflag 45228196148486128 abo 5 day
    • sm_extendflag 45228196148486128 1 month
    • sm_deleteflag 45228196148486128

    -------------
    Thanks to @Impact123 for code review and minor code changes.

    Download:

    Main repository
    Direct download
    __________________
    My website: https://jakubh.com/ Github: https://github.com/ivenuss Steam: https://steamcommunity.com/id/ivenuss/
    Accepting private works in sourcepawn or web dev.

    Last edited by ivenuss; 10-17-2020 at 15:28.
    ivenuss is offline
     


    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 06:36.


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