Drift Register
User registration system for Pterodactyl Panel with admin controls.
Enable / disable registration
Optional password requirement
Auto-login after registration
Hide button when disabled
Step 1: Drag & Drop
Copy all files to your Pterodactyl panel root directory:
/var/www/pterodactyl/
drift-register/
├── app/
├── resources/
└── routes/
drift-register/
├── app/
├── resources/
└── routes/
Step 2: Install Dependencies
Install NodeJS & Yarn, then build the Panel assets.
Ubuntu / Debian
$ curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash -
$ sudo apt install -y nodejs
$ sudo apt install -y nodejs
CentOS / Rocky / Alma
$ curl -sL https://rpm.nodesource.com/setup_22.x | sudo -E bash -
$ sudo yum install -y nodejs yarn # CentOS 7
$ sudo dnf install -y nodejs yarn # CentOS 8 / Rocky 8 / Alma 8
$ sudo yum install -y nodejs yarn # CentOS 7
$ sudo dnf install -y nodejs yarn # CentOS 8 / Rocky 8 / Alma 8
Install JS packages & build
$ npm i -g yarn # Install Yarn
$ cd /var/www/pterodactyl
$ yarn # Installs build dependencies
$ cd /var/www/pterodactyl
$ yarn # Installs build dependencies
# For NodeJS v17+ enable legacy provider
$ export NODE_OPTIONS=--openssl-legacy-provider
$ yarn build:production # Build panel
$ export NODE_OPTIONS=--openssl-legacy-provider
$ yarn build:production # Build panel
Use yarn run watch for real‑time development preview.
Step 3: Clear Cache & Rebuild
$ cd /var/www/pterodactyl
# Clear all caches
$ php artisan config:clear
$ php artisan route:clear
$ php artisan cache:clear
# Rebuild routes
$ php artisan route:cache
# Clear all caches
$ php artisan config:clear
$ php artisan route:clear
$ php artisan cache:clear
# Rebuild routes
$ php artisan route:cache
Step 4: Build Frontend
$ cd /var/www/pterodactyl
$ yarn build:production # Build panel
$ yarn build:production # Build panel
Step 5: Set Default Settings
$ cd /var/www/pterodactyl
$ php artisan tinker --execute="
\$settings = app(\Pterodactyl\Contracts\Repository\SettingsRepositoryInterface::class);
\$settings->set('settings::registration_enabled', '0'); // Disabled by default
\$settings->set('settings::registration_require_password', '1'); // Password required
echo 'Settings configured!';
"
$ php artisan tinker --execute="
\$settings = app(\Pterodactyl\Contracts\Repository\SettingsRepositoryInterface::class);
\$settings->set('settings::registration_enabled', '0'); // Disabled by default
\$settings->set('settings::registration_require_password', '1'); // Password required
echo 'Settings configured!';
"
Configuration
- Go to Admin Panel → Drift Register in the sidebar
- Enable user registration
- Choose whether to require password during registration
- Click Save
Usage
- Register button appears on login page when registration is enabled
- Users are automatically logged in after registration
- Direct access to
/auth/registerredirects to login when disabled - Password fields hidden when Require Password is disabled
Need help installing or configuring?
Join our Discord server for installation assistance and support.
drift development
· 2026
made by notfiree