Files
UNIT3D-Community-Edition/config/hitrun.php
2018-02-12 17:27:32 +01:00

106 lines
2.6 KiB
PHP

<?php
/**
* NOTICE OF LICENSE
*
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
* The details is bundled with this project in the file LICENSE.txt.
*
* @project UNIT3D
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
* @author HDVinnie
*/
return [
/*
|--------------------------------------------------------------------------
| Enabled
|--------------------------------------------------------------------------
|
| Hit and Run On / Off
|
*/
'enabled' => true,
/*
|--------------------------------------------------------------------------
| Seedtime
|--------------------------------------------------------------------------
|
| Min Seedtime Required In Seconds
|
*/
'seedtime' => 604800,
/*
|--------------------------------------------------------------------------
| Max Warnings
|--------------------------------------------------------------------------
|
| Max Warnings Before Ban
|
*/
'max_warnings' => 3,
/*
|--------------------------------------------------------------------------
| Revoke Permissions
|--------------------------------------------------------------------------
|
| Max Warnings Before Certain Permissions Are Revoked
|
*/
'revoke' => 2,
/*
|--------------------------------------------------------------------------
| 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' => 3,
/*
|--------------------------------------------------------------------------
| 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' => 2,
];