View Single Post
Author Message
VOLK_RuS
Junior Member
Join Date: Mar 2016
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, 98 views)
__________________
Making private plugins. Discord: VOLK_RuS#5031

Last edited by VOLK_RuS; 01-06-2022 at 08:57.
VOLK_RuS is offline