!!! Thank you for downloading my Addon, this is a completely free addon, don't forget to leave your review !!!
                                   By Quantum Team

                    Discord Support: https://discord.gg/KTTvnrN5KW


1). Required mandatory step, install composer:

    cd /var/www/pterodactyl
    composer require leonardorrc/votifier-client-php

2). Please upload the files to your pterodactyl root folder (/var/www/pterodactyl)

3). Add the routes in (routes/api-client.php) above "Route::group(['prefix' => '/settings'], function () {":
           
    Route::group(['prefix' => '/votifer'], function () {
        Route::post('/classic', [Client\Servers\VotiferController::class, 'sendClassic']);
        Route::post('/nu', [Client\Servers\VotiferController::class, 'sendNu']);
        Route::post('/nu/v2', [Client\Servers\VotiferController::class, 'sendNuV2']);
    });

4). Now we need to add it to the routes, you can do it in (resources/scripts/routers/routes.ts), add this line after all imports:

    import VotiferTestContainer from '@/components/server/votifer/VotiferTestContainer';

5). In the same file add these lines below:

        {
            path: '/files/:action(edit|new)',
            permission: 'file.*',
            name: undefined,
            component: FileEditContainer,
        },

   Add:

        {
            path: '/votifer',
            permission: 'file.*',
            name: 'Votifer',
            component: VotiferTestContainer,
        },


6). Now we must build the project:

        cd /var/www/pterodactyl
        yarn
        yarn build:production
        php artisan optimize
        chown -R www-data:www-data /var/www/pterodactyl/*





888888b.   888      888     888 8888888888 8888888b.  8888888b.  8888888 888b    888 88888888888
888  "88b  888      888     888 888        888   Y88b 888   Y88b   888   8888b   888     888
888  .88P  888      888     888 888        888    888 888    888   888   88888b  888     888
8888888K.  888      888     888 8888888    888   d88P 888   d88P   888   888Y88b 888     888
888  "Y88b 888      888     888 888        8888888P"  8888888P"    888   888 Y88b888     888
888    888 888      888     888 888        888        888 T88b     888   888  Y88888     888
888   d88P 888      Y88b. .d88P 888        888        888  T88b    888   888   Y8888     888
8888888P"  88888888  "Y88888P"  8888888888 888        888   T88b 8888888 888    Y888     888



Installing blueprint, please run the following commands, and use only the votifiertester.blueprint file:

    cd /var/www/pterodactyl
    composer require leonardorrc/votifier-client-php
    blueprint -install votifiertester.blueprint