A Laravel based client area for Pterodactyl.
Composer、PHP 8.1、Node.js、NPM、Nginx
- Download the source code.
- Unarchive it.
- Configure
.envandconfig/shdactyl.php. - Run
composer install --no-dev --optimize-autoloader. - Run
npm install. - Run
npm run dev. - Run
npm run build. - Run
php artisan key:generate. - Configure your webserver.
- Change your Pterodactyl Panel's
app/Http/Controllers/Api/Application/Servers/ServerController.php.
$servers = QueryBuilder::for(Server::query())
->allowedFilters(['id', 'uuid', 'uuidShort', 'name', AllowedFilter::exact('owner_id'), 'node_id', 'external_id'])
->allowedSorts(['id', 'uuid', 'uuidShort', 'name', 'owner_id', 'node_id', 'status'])
->paginate($perPage);