[СS:Sv34] Нужен плагин, который будет автоматически удалять демки с сервера

Тема в разделе "Запросы", создана пользователем }{otabch, 25 янв 2016.

  1. }{otabch

    }{otabch

    Сообщения:
    5
    Симпатии:
    0
    Нужен плагин, который будет автоматически удалять демки с сервера, например будут записываться демки за день, а все демки с предыдущего дня будут удаляться.
    P.S. Техподдержка сказала есть такой плагин!
     
  2. KapaT

    KapaT Эгоист

    Сообщения:
    1.983
    Симпатии:
    408
  3. Lominad

    Lominad

    Сообщения:
    139
    Симпатии:
    27
    Хороший плагин. Не только демки, а всю ересь(логи, спреи и т.д.) сносит от опредленного времени.
    Если нужно, готовый настроенный .cfg (демки хранит 5 дней)
    // This file was auto-generated by SourceMod (v1.4.2)
    // ConVars for plugin "servercleanup.smx"


    // Clean up automatically recorded demo files.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_demos "1"

    // Include archives when deleting old demos (if your server automatically compresses them, detects: bz2, zip, rar and 7z).
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_demos_archives "0"

    // Optional directory path to your demo files if you are manually saving them elsewhere.
    // -
    // Default: ""
    sm_srvcln_demos_path ""

    // Time (in hours) to keep demo files (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_demos_time "100"

    // Enable automatic server clean up (1 - enable, 0 - disable, manual clean up command only).
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_enable "1"

    // Log what Server Clean Up deletes.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_logging_mode "0"

    // Clean up regular server logs.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_logs "1"

    // Time (in hours) to keep regular server logs (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_logs_time "100"

    // Clean up generated replay files.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_replays "0"

    // Include archives when deleting old replays (if your server automatically compresses them, detects: bz2, zip, rar and 7z).
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_replays_archives "0"

    // Time (in hours) to keep generated replay files (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_replays_time "168"

    // Clean up CS:GO round backup files (note: only if none of the naming options have been changed from default settings for round backups).
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_roundbackups "0"

    // Time (in hours) to keep round backup's in CS:GO (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_roundbackups_time "168"

    // Clean up SourceMod server logs.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_smlogs "1"

    // Time (in hours) to keep SourceMod server logs (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_smlogs_time "100"

    // What type of logs to delete from the SM logs folder (0 - just normal logs, 1 - normal logs and error logs, 2 - all logs).
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "2.000000"
    sm_srvcln_smlogs_type "2"

    // Clean up uploaded sprays.
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_srvcln_sprays "1"

    // Time (in hours) to keep uploaded sprays (default is one week, minimum value is 12 hours, set to -1 to keep current day only).
    // -
    // Default: "168"
    // Minimum: "-1.000000"
    sm_srvcln_sprays_time "168"