Raised This Month: $ Target: $400
 0% 

[ANY] Night VIP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Mesharsky How2Kill
AlliedModders Donor
Join Date: May 2017
Location: Poland
Plugin ID:
8245
Plugin Version:
0.1
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Basic plugin to automatically give an admin flag to every player between specific hours of the day.
    Old 10-10-2022 , 20:41   [ANY] Night VIP
    Reply With Quote #1

    [ANY] Night VIP

    Basic plugin to automatically give an admin flag to every player between specific hours of the day and night.

    Example:
    starting_hour = 13 (1pm)
    ending_hour = 4 (4am)


    FEATURES
    • Everything is configured through configuration file.
    • Natives
    • SourceMod translations support.

    HOW TO CONFIGURE

    After you install plugin go to addons/sourcemod/configs/night_vip.cfg and configure the settings to your liking.

    Preview: Click Here

    HOW TO INSTALL

    Download the latest release from here.
    You can also download thread files provided in .zip file but they could be out of date in the future.

    Latest version is 0.2 so download file (Night-VIP 0.2-SM_1.11_Full)

    Upload all files to root directory of your server (How to install plugins)

    NATIVES (API)

    PHP Code:
    /**
     * Is it currently nighttime according to the settings in the Night VIP
     * config file.
     *
     * @return      True if it is night.
     */
    bool NV_IsNight();

    /**
     * Has a client been given Free VIP.
     * This should only be used after OnClientPostAdminCheck().
     *
     * @param client    Client index.
     * @return          True if client was given Free VIP.
     *
     * @error           Invalid client index.
     */
    bool NV_ClientHasFreeVIP(int client); 
    INCLUDES USED

    MultiColors (included in the repository)

    LANGUAGE SUPPORT
    • English
    • Polish
    If you make translation for other languages let me know. I will include it in next release!

    Thank you and enjoy!
    Attached Files
    File Type: zip Night-VIP-SM_1.11_Full.zip (45.6 KB, 161 views)
    File Type: zip Night-VIP-SM_1.10_Full.zip (45.2 KB, 110 views)
    File Type: sp Get Plugin or Get Source (night_vip.sp - 139 views - 4.2 KB)
    File Type: zip Night-VIP 0.2-SM_1.11_Full.zip (46.2 KB, 78 views)
    __________________
    If you appreciate my work you can send me a Donation

    Thanks everyone for using my work!

    Any requests or question please contact me on discord: Mesharsky#6565

    Last edited by Mesharsky How2Kill; 12-25-2022 at 21:49.
    Mesharsky How2Kill 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 04:17.


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