plugin_dotw by Sloth This plugin will change the active mapcycle file depending on the day-of-the-week (DOTW). Usage: admin_dotw // get status of DOTW mapcycle processing. admin_dotw | // enable/disable DOTW mapcycle processing. admin_dotw_days // get which days to process admin_dotw_days // set which days to process. admin_mapfile // get the active mapcycle file admin_mapfile // set the active mapcycle file Setup: ------ 1) Install the file as per the normal procedure defined in the AdminMod manual. 2) Make sure you have defined the admin_vault_file in your server.cfg as it is used to retain the value of the DOTW On/Off toggle and the DOTW_DAYS through map changes and server restarts. You can set this with the following line: admin_vault_file "vault.ini" 3) To setup the "vault.ini", either add the DOTW and DOTW_DAYS values manually or by supplying values to the admin_dotw and admin_dotw_days functions. 4) You must create a mapcycle file for each specific day to be processed. Valid mapcycle files are text files containing map names (like mapcycle.txt), starting with "mapcycle" and ending in a 3-letter extension corresponding to the day-of-the-week. Ex. mapcycle.tue, mapcycle.sun ... 5) At every map change, if plugin_dotw sees that the current day-of-the-week is in the vault file then that mapcycle file is activated. If not, the default "mapcycle.txt" is activated, if not already. At any time DOTW processing is disabled, the default "mapcycle.txt" becomes active immediately. Admin_dotw_days accepts a single line of text of days-of-the-week separated by a space(s). Days may either be 3-letter abbreviations or the day-of-the-week spelled out or a combination of both. Ex. "sun Mon tuesday wed Thursday friday Sat" Acknowledgements: ------------- BlueDemon for the idea.