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

[Any][SQL]VIP-Manager 2.2.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ShadowManGer
Member
Join Date: May 2013
Plugin ID:
4295
Plugin Version:
2.2.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add VIPs for a specified duration to your server.
    Old 08-02-2014 , 13:56   [Any][SQL]VIP-Manager 2.2.1
    Reply With Quote #1

    Description

    Add VIPs for a specified duration to your server.
    VIPs are stored in the "vips" table in your database.

    Features
    • Automatic VIP removing
    • Add, substract or set the time for VIPs
    • Easy ingame VIP editing

    Installation
    Spoiler


    ConVars
    sm_vipm_authid_format Sets which SteamId format should be used. | Engine (default), Steam2, Steam3, Steam64

    Commands

    For all commands you need the admin root flag!
    sm_vipm | Lists all commands.
    sm_vipm_add <"name"> <minutes> | Add a VIP.
    sm_vipm_rm <"name"> | Remove a VIP.
    sm_vipm_time <set|add|sub> <"name"> <minutes> | Change the duration for a VIP.
    sm_vipm_check | Checks for expired VIPs.

    Adding VIPs
    Spoiler


    Forwards

    You want to create your own plugin which needs to react to changes of VIPs?
    No problem! Just include the "VIP-Manager.inc" file into your plugin and use these forwards.
    PHP Code:
    forward void OnVIPAdded(int adminchar[] namechar[] steamIdint minutes);
    forward void OnVIPDurationChanged(int adminchar[] namechar[] steamIdchar[] modeint oldDurationint duration);
    forward void OnVIPRemoved(int adminchar[] namechar[] steamIdchar[] reason); 
    Changelog
    Spoiler


    Source Code
    The source code is available under GitLab.
    Feel free to fork and edit for your purpose!

    Feedback
    Please give me your feedback. I'm open for new ideas.
    You can create a new issue on GitLab
    Attached Files
    File Type: inc VIP-Manager.inc (1.5 KB, 989 views)
    File Type: sp Get Plugin or Get Source (VIP-Manager.sp - 2537 views - 19.3 KB)

    Last edited by ShadowManGer; 07-02-2017 at 07:45. Reason: Release 2.2.1
    ShadowManGer 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 18:12.


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