Skip to main content

Install MythicalAdmin

Here is a small tutorial on how to install the theme!

caution

This is not a Blueprint addon! Please follow the installation steps carefully to ensure proper setup.

Upload and Extract Files

Upload the MythicalUI.zip file to your Pterodactyl installation directory at: /var/www/pterodactyl

Extract and replace the existing files using the unzip command:

unzip -o MythicalUI.zip

Run Migrations

Execute the following command to run the necessary database migrations:

php artisan migrate --seed --force

Add Routes

Navigate to routes/admin.php and add the following routes at the bottom of the file:

/*
|--------------------------------------------------------------------------
| Mythical Systems Controller Routes
|--------------------------------------------------------------------------
|
| Endpoint: /admin/mythicalsystems
|
*/
Route::group(['prefix' => 'mythicalsystems'], function () {
Route::get('/', [Admin\MythicalSystems\LogsController::class, 'index'])->name('admin.mythicalsystems');
Route::get('/logs', [Admin\MythicalSystems\LogsController::class, 'index'])->name('admin.mythicalsystems.logs');
Route::post('/logs/clear', [Admin\MythicalSystems\LogsController::class, 'clearLogs'])->name('admin.mythicalsystems.logs.clear');
Route::get('/logs/download', [Admin\MythicalSystems\LogsController::class, 'downloadLogs'])->name('admin.mythicalsystems.logs.download');

Route::get('/stats', [Admin\MythicalSystems\StatsController::class, 'index'])->name('admin.mythicalsystems.stats');

Route::get('/activity', [Admin\MythicalSystems\ActivityController::class, 'index'])->name(name: 'admin.mythicalsystems.activity');
Route::get('/health', [Admin\MythicalSystems\HealthController::class, 'index'])->name(name: 'admin.mythicalsystems.health');

Route::get('/mythicalui', [Admin\MythicalSystems\MythicalUIController::class, 'index'])->name('admin.mythicalsystems.mythicalui');
Route::post('/mythicalui/update', [Admin\MythicalSystems\MythicalUIController::class, 'update'])->name('admin.mythicalsystems.mythicalui.update');
Route::post('/mythicalui/template', [Admin\MythicalSystems\MythicalUIController::class, 'applyTemplate'])->name('admin.mythicalsystems.mythicalui.template');
Route::get('/mythicalui/api-tester', [Admin\MythicalSystems\ApiTesterController::class, 'index'])->name('admin.mythicalsystems.api-tester');
Route::post('/mythicalui/upload-image', [Admin\MythicalSystems\MythicalUIController::class, 'uploadImage'])->name('admin.mythicalsystems.mythicalui.upload-image');
});

Clear Cache

Finally, clear the application cache by running these commands:

php artisan view:clear
php artisan config:clear
php artisan optimize:clear
php artisan route:clear
php artisan storage:link