FiveUnityManual

Permissions

Permission groups decide which of your Discord roles may use which FiveUnity commands and features. A group is a list of roles plus a list of permissions; anyone holding one of those roles may use everything the group lists. Out of the box FiveUnity offers an eight-step ladder (Support up to Owner) that you attach your own roles to.

Note

Where: Dashboard โ†’ Server setup โ†’ Permissions ยท In Discord: /setup โ†’ Manage Permissions

#How a permission check works

Every time someone runs a command or presses a staff button, the bot asks three questions in order:

  1. Is this the server owner? The owner can always do everything.
  2. Does the member have Discord's Administrator permission? Administrators can always do everything.
  3. Otherwise: does the member hold a role that is in a permission group which lists that permission?

If none of those is true the member gets "You do not have permission to use this command."

Some commands are open to every member and skip the check entirely, because they are how people use the bot day to day: /help, /apply, /suggest new, /store, /leaderboard, /myassets, /docs, /ping, /link, /streamstats, /clock in, /clock out, /clock status, /gang, /rolerequest, /loa-request, /loa claim, /vouch, /queenverify, /logs stafflogs, /redeem and /subscription. They still check their own settings: /apply needs an open application, /suggest new needs the suggestion channel, /vouch needs the vouch role you configured (staff only until you set one), /logs stafflogs answers only the server owner and the viewers they picked, and /redeem insists on the owner or an Administrator.

This sits on top of Discord's own rules, it does not replace them. Commands such as /ban, /purge or /setup also declare a required Discord permission, and Discord hides or blocks them for members who do not have it before the bot is ever asked. You can adjust those in Server Settings โ†’ Integrations โ†’ FiveUnity in Discord.

Tip

The Slash commands page shows, per command, which groups grant it and which Discord permission it needs. See Slash commands.

#What a group can be granted

The Permissions page lists every permission the bot has, grouped by category, each with a one-line description. Tick what a group may use:

PermissionWhat it grants
banThe whole /ban command.
massbanThe whole /massban command. The website's Mass ban panel does not read this: it asks for Discord Administrator instead.
gang-admin/gang-admin and every one of its subcommands.
gang-admin.reset-cooldownOnly that one subcommand of /gang-admin. Subcommands are listed under their command; ticking the command covers them all.
aiThe /ai command and every AI feature a staff member triggers: /ai status, /ai models, /ai guide, /ai draft, /ai catchup, /ai write and /ticket summary. /ai panel checks setup instead.
ai.guideOnly that one tool, as with any subcommand.
applicationsAccept, deny and vote on applications (the review buttons).
rolerequestsApprove or deny department role requests (the request buttons).
permissionsCreate, edit and delete permission groups from Discord /setup.
channel-setupAI server layout setup (new roles, categories and channels, and changes to existing categories and channels; never deletes anything) and channel locks on the dashboard. Head Admin on the default ladder.
skip-transcriptClose a ticket with /ticket close skip_transcript without generating a transcript. Head Admin on the default ladder. Granting ticket does not include this.
All permissions (*)Everything the bot has, including commands added in future updates.

Granting a command always covers its subcommands, so gang-admin covers gang-admin.reset-cooldown. A few subcommands deliberately sit under a different permission: /ticket summary checks ai.summary, so granting ticket does not hand out AI summaries; you grant ai. See AI Assistant.

One thing no group can grant: who may search the staff logs. That list belongs to the server owner alone, and Discord Administrator does not bypass it.

Commands that Discord also restricts show a small needs โ€ฆ tag (for example needs Ban Members): the member must have that Discord permission as well, or Discord never shows them the command.

#The default ladder

Load defaults creates eight groups. Each step includes everything below it, so you only have to think about where a role belongs:

GroupWhat it adds
SupportThe ticket desk: claim, rename, escalate and transcribe tickets, log sits, and clock on and off duty.
ModeratorEveryday Discord moderation: /warn, /timeout, /kick, /purge, /modlogs, ban evidence, duty and clock-in logs, ratings, /poll, reviewing applications and approving department role requests.
Senior ModeratorDiscord bans and role control: /ban, /unban, /massban, /massunban, temporary and sticky roles, /role, the status blacklist, gang strikes and ticket resets.
AdminRuns community modules: embeds, giveaways, sticky messages, keywords, self roles, stats channels, translation, vanity roles, verification, ownership sheets, role links, gang setup, staff metrics, ticket panel edits, applications, queues, suggestions, feedback, and the AI assistant.
Senior AdminIntegrations and money: Tebex, plain-English and Tebex log search (logs.find), linked Discords, restricted-role bindings, and creating or viewing server backups.
Head AdminFull configuration: the /setup panel, /enterprise panel, recording meetings with /meeting, /refresh, /branding, AI server layout setup (channel-setup), restoring or deleting backups, and closing tickets without a transcript (skip-transcript).
ManagementEvery remaining permission, including the whole FiveM category, except the owner-only commands. New non-FiveM commands land here automatically after an update.
OwnerAll permissions (*). The owner-only commands still run for the server owner account alone, whoever else holds this group.

All bridge, txAdmin, gameplay-log and vouch-setup commands live in the FiveM permission category. The default ladder gives that category only to Management and above. Loading defaults removes those FiveM permissions from its lower default groups if an older setup had put them there; it does not touch custom groups.

#The owner-only commands

Two commands are not on the ladder and cannot be granted to any group, not even one holding *. They check who owns the Discord server and refuse everyone else, Administrators included:

CommandWhy
/factory-resetIt erases every FiveUnity setting for the server, and cannot be undone.
/echoIt posts plain text as the bot, which no one reading the channel can tell apart from the bot speaking for itself.

If either appears on one of the eight default groups from an older setup, Load defaults takes it back off. Ownership follows the Discord server: transfer the server and the new owner gets both commands.

Apart from that FiveM security floor, loading defaults only ever adds. It never removes another permission you took out, and it never touches the roles on a group, so it is safe to re-run after a FiveUnity update to pick up new commands. It does not assign any roles for you: a fresh group starts empty and grants nothing until you add roles to it. Older default groups are renamed in place, keeping their roles and permissions: Administrator becomes Admin, Senior Administrator becomes Senior Admin, and Head Administrator becomes Head Admin.

The Permissions page can show the full ladder before you load it (Show the default ladder), with every permission each step adds.

#Set it up

  1. Go to Dashboard โ†’ Server setup โ†’ Permissions.
  2. Press Load defaults to create the ladder.
  3. Open a group, pick the Discord Roles that belong on that step, and press Save.
  4. Untick or tick individual permissions if the defaults are not quite what you want, then Save again. Unsaved edits are flagged on the group until you save or discard them.

To build your own group instead, type a name into New group name and press Create group, then add roles and tick permissions the same way. Delete removes a group after a confirmation; the Discord roles themselves are untouched.

#Settings

SettingWhat it does
New group nameCreates an empty group. Up to 64 characters, and the name has to be unique in this server.
RolesThe Discord roles this group applies to. Up to 50 per group.
All permissionsSwitches the group to *. Reserve it for your most trusted tier.
Permission listEvery command, subcommand and feature the group may use, by category, with a count per category. Subcommands already covered by their command are shown as via command.
Load defaultsCreates the eight-step ladder, adds any newer non-FiveM permissions to existing steps, and enforces the Management-and-up FiveM floor on lower default groups.
DeleteRemoves the group. Its members lose whatever only that group granted.

Saving a group takes effect immediately, no re-sync, no restart.

#Groups also define "staff"

Being in any permission group is what makes someone staff to the rest of the bot, alongside the owner and Administrators. That matters for the buttons FiveUnity posts, which are not commands. Each staff button checks the permission of the command that does the same thing: claiming a ticket checks ticket.claim, deleting one checks delete-ticket, saving a transcript checks ticket.transcript, escalating checks ticket.escalate, accepting or denying an application checks applications, approving a role request checks rolerequests, Mark as Processed on a Tebex purchase checks tebex. Searching Tebex purchase logs through /logs find or Ask the logs also needs tebex; without it those channels stay out of the search even when Log Lookup indexes them. On the default ladder, Senior Admin holds both tebex and logs.find so store operators can mass-search gameplay and purchase logs for abuse without Management. The page arrows on log embeds work for whoever ran the search.

Configuration panels opened from /setup need the setup permission, except the panels of a command that has its own permission: the log lookup panel checks logs.setup, the txAdmin dashboard refresh checks dashboard, the keyword defaults picker checks keyword, the queue panel checks queue, the linked-server panel checks linked-server, and the Tebex panels check tebex. Editing permission groups from Discord needs permissions, so a Head Admin with setup cannot quietly hand themselves *.

Who can open the dashboard. Discord's Administrator or Manage Server still opens every section. Config permissions on this page also open the matching dashboard sections for that role, and hide the rest: queue opens Queues, tebex opens Store (and Core's Tebex fields), edit-ticket-panel opens Tickets, channel-setup opens Channel setup, setup opens the broad configuration set, permissions opens this Permissions page, and so on. Day-to-day staff actions such as ticket, warn, ban or reviewing applications do not open the dashboard. Billing and the staff-log viewer list stay Administrator / Manage Server only. Who can edit your documentation site is set page by page under Dashboard โ†’ Content โ†’ Documentation โ†’ Page permissions.

#Audit with AI

Dashboard โ†’ Server setup โ†’ Permissions also has Audit with AI. Describe what you want in plain English and FiveUnity drafts findings plus optional suggestions. Nothing is written until you review the plan and type APPLY PERMISSIONS. Needs the Pro plan, a working AI Assistant key, and the permissions permission (the same node as editing groups from Discord). Holding setup alone is not enough, so a Head Admin cannot quietly hand themselves every command.

Example prompts on the page:

  • "Audit our permission groups and flag anything too broad."
  • "Compare our groups to the default ladder and suggest missing grants."
  • "Give Moderator the warn and timeout commands, nothing else."

Press Draft audit. The review shows:

  • Findings (info, warning or danger): informational only. They are never written. FiveUnity adds its own checks to the AI's, such as a group that holds All permissions (*) or an owner-only command.
  • Suggestions, each tagged will apply, suggest only or blocked, after the safeguards below have run: a blocked row says which safeguard stopped it, and a row naming a role that does not exist says so. Only the will apply rows are written, and only after you type APPLY PERMISSIONS. When nothing is left to apply, the plan says Nothing will change instead of asking for the confirmation.
  • What will happen: new groups to create, and existing groups to update.

You can Update draft with a refinement ("do not grant ban, or only report findings") or Discard plan (it asks first). After apply, the page lists each change with its result. If the apply failed and nothing was kept, Try again checks the same plan against your groups again without another AI request.

Safeguards the helper cannot bypass:

  • It never grants /factory-reset or /echo.
  • It never grants All permissions (*) to a group that does not already hold it.
  • FiveM permissions stay on Management and Owner unless a group already has one.
  • permissions, setup, channel-setup and backup stay off groups below Head Admin unless they already have them.
  • It never deletes a group.
  • Unknown permission names are dropped.
Warning

This changes who may use FiveUnity commands. Read every will apply row before you type the confirmation.

#In Discord

Run /setup and press Manage Permissions. The panel gives you Load Defaults, Create Group, Delete Group and View Commands, plus a dropdown listing every group with its role and permission counts so you can edit one. A group's view has a role menu already holding its roles: pick or unpick roles and the group ends up with exactly what you picked, and the view updates to show what was added and removed. Delete Group asks you to pick the group, then tells you how many roles lose how many permissions before you confirm. Adding permissions in Discord works by category and lists whole commands; for subcommands and the descriptions, use the dashboard. It is the same data in both places, so changes made in either show up in the other straight away.

#Tips

Tip

Give trusted staff a group rather than Discord's Administrator permission. Administrator bypasses every FiveUnity check, including command cooldowns, per-channel limits and the danger zone.

Warning

All permissions (*) grants every command the bot has, including future ones. Prefer Management, which excludes the server reset, for anyone who is not an owner.