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

[CS:GO/Any]DWM Reset (Reset on every day/week/month)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
VOLK_RuS
Junior Member
Join Date: Mar 2016
Plugin ID:
7911
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin will call forward on every new day/week/month.
    Old 01-06-2022 , 08:53   [CS:GO/Any]DWM Reset (Reset on every day/week/month)
    Reply With Quote #1

    Also will give an oportunity to view next reset time and time before reset. Plugin will be useful for any time-related events/rewards.

    You can configure time resets in configs/dwm_reset.txt
    To configure time resets use some of the unix-converters like this.

    Default time resets in dwm_reset.txt:
    1. Daily — 00:00 GMT.
    2. Weekly — monday, 00:00 GMT.
    3. Monthly — 1st of every month, 00:00 GMT.

    For monthly reset i don't recommend to use days 29-31, because those days not in every month, if you will set one of these days, one monthly reset will be moved (eg: reset on 31st, so 31.01 -> 03.03).

    Commands:
    sm_dwm_forcereset <d/w/m> - Force reset
    sm_dwm_reload - Reload dwm_reset.txt config

    Tested on CS:GO, but i think, it will also work in any source game.
    Attached Files
    File Type: zip dwm_reset.zip (9.6 KB, 94 views)
    __________________
    Making private plugins. Discord: VOLK_RuS#5031

    Last edited by VOLK_RuS; 01-06-2022 at 08:57.
    VOLK_RuS 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 01:40.


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