Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Settings and commands

The settings, the commands and where the data is stored.

On this page

Settings#

On the Extensions page, click Settings next to Staff Permissions.

Setting Default What it does
Administrators without a role Keep full access See How access works
Make users administrators when they get a role On Turns the administrator flag on when a user gets a role, and off again when it is taken away

Commands#

Run these in the folder of your panel:

Command What it does
php artisan staff-permissions:roles Lists the roles with their ID, users and number of permissions
php artisan staff-permissions:assign <user> <role> Gives a user a role. <user> is the ID, username or email, <role> the ID or name.
php artisan staff-permissions:assign <user> none Takes the role away

The command also works for your own account, so use it to give yourself the first role.

Data#

Roles are stored in staff_roles and the roles of users in staff_assignments. Removing the extension keeps them, so the roles are back when you install it again.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.

Complete your panel

Get the Pterodactyl v2 Bundle with:

$104.68 $139.58 Save 25%