mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-16 08:50:47 -06:00
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
96 lines
2.5 KiB
PHP
96 lines
2.5 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* 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 Privileges 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,
|
|
];
|