mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-06 19:48:53 -06:00
94 lines
2.4 KiB
PHP
94 lines
2.4 KiB
PHP
<?php
|
|
/**
|
|
* NOTICE OF LICENSE.
|
|
*
|
|
* UNIT3D Community Edition is open-sourced software licensed under the GNU Affero General Public License v3.0
|
|
* The details is bundled with this project in the file LICENSE.txt.
|
|
*
|
|
* @project UNIT3D Community Edition
|
|
*
|
|
* @author HDVinnie <hdinnovations@protonmail.com>
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
|
*/
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Enabled
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Hit and Run On / Off
|
|
|
|
|
*/
|
|
|
|
'enabled' => true,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Seedtime
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Min Seedtime Required In Seconds
|
|
|
|
|
*/
|
|
|
|
'seedtime' => 604800,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Max Warnings
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Max Warnings Before Download Privliges Disabled
|
|
|
|
|
*/
|
|
|
|
'max_warnings' => 3,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Grace Period
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Max Grace Time For User To Be Disconnected If "Seedtime" Value
|
|
| Is Not Yet Met. "In Days"
|
|
|
|
|
*/
|
|
|
|
'grace' => 3,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Buffer
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Percentage Buffer of Torrent thats checked against 'actual_downloaded'
|
|
|
|
|
*/
|
|
|
|
'buffer' => 10,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Warning Expire
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Max Days A Warning Lasts Before Expiring "In Days"
|
|
|
|
|
*/
|
|
|
|
'expire' => 14,
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Prewarn Period
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Max Time For User To Be Disconnected If "Seedtime" Value
|
|
| Is Not Yet Met. A Prewarning PM Will Be Sent. "In Days"
|
|
|
|
|
*/
|
|
|
|
'prewarn' => 1,
|
|
];
|