Step-by-Step Setup Guide
Follow these steps carefully to configure your admin permissions
Invite Discord Bot
First, you need to invite our Discord bot to your server. Click the button below to add the bot with the required permissions.
Note: The bot will need Administrator permissions to function properly.
Run Setup Command
Now that the bot is in your server, run the setup command to configure your God role permissions.
/setup
Type /setup
in any channel where the bot can see
The bot will ask you to choose a role for God permissions
Select your admin role from the dropdown
Save the returned data for the next steps
Update config.lua
Replace the entries in your config.lua
file with the data returned by the bot.
Example Configuration:
AdminConfig.GodId = "YOUR_DISCORD_ID_HERE",
AdminConfig.guildId = "YOUR_GUILD_ID_HERE",
-- ... other config options
⚠️ Important: Make sure to save the config.lua file after making changes.
Clean Database Tables
Delete the existing admin tables to ensure clean setup:
qs_admin_ranks
qs_admin_permissions
SQL Commands:
DROP TABLE IF EXISTS qs_admin_ranks;
DELETE FROM qs_admin_permissions;
Restart qs-adminmenu
Finally, restart the qs-adminmenu resource to apply all changes.
Server Console Commands:
restart qs-adminmenu
Database Setup
Generate SQL statements for your admin permissions
You can get these values by following the steps in the Setup Guide tab. The Discord bot will provide both IDs after running the /setup
command.