FiveUnityManual

Moderation commands

The moderation commands are what your moderators use day to day: Discord punishments and the case history behind them, gang strikes, role management, staff time records and the status blacklist. FiveM bans and kicks are separate; they live on FiveM commands.

Note

Where: In Discord ยท Who may run them: Dashboard โ†’ Server setup โ†’ Permissions

#Who can use these commands

The server owner and anyone holding Discord's Administrator permission can run every command on this page. Everyone else needs a permission group.

Open Dashboard โ†’ Server setup โ†’ Permissions (or /setup โ†’ Permissions), create a group, add the roles that belong in it, and tick the commands it may use. Ticking a command grants all of its subcommands as well.

Press Load defaults once and FiveUnity creates an eight-step ladder, each step including everything below it. Three of the steps cover this page:

GroupWhat it adds on this page
Moderator/warn, /timeout, /untimeout, /kick, /purge, /modlogs, /ban-evidence, /list-strikes, /ratings, /dutylog, /ticket delete (via the delete-ticket node)
Senior ModeratorEverything above, plus /ban, /massban, /massunban, /role, /temprole (except tiers), /stickyrole, /blacklist, /strike-gang, /clock log and /ticket-reset
AdminEverything above, plus /gang-admin and /temprole tiers

So once you have loaded the defaults and put your moderator role on the Moderator step, everything in that first row works for them; move the role up a step when you are ready to let them ban.

Each command's own line below names the lowest step that grants it.

Some commands also carry a Discord permission, listed per command. Discord uses it to decide whether the command even appears in that member's command menu; FiveUnity's group check still runs afterwards. See Permissions for the full picture, and How commands work for turning commands off, restricting them to channels and adding cooldowns.

Tip

In the tables below, a row such as add word means the word option of the add subcommand.

#Members and punishments

/ban, /kick, /timeout, /untimeout and /warn all refuse a target whose highest role sits at or above your own, the server owner, and yourself: the same rule Discord applies to its own ban and kick buttons, so routing an action through FiveUnity cannot be used to get around it. The bot must sit above the target as well.

#/ban

Bans a member, DMs them the reason first, and opens a numbered case. It also bans an account that is not here yet, and can carry the ban to every Discord linked to this server.

OptionRequiredWhat it is
userNoThe user to ban.
useridNoA Discord user ID to ban instead, even if the account has never joined.
reasonNoThe reason for the ban. Defaults to "No reason provided."
crossNoYes also bans them from every side Discord linked to this server. Defaults to no.

Give either user or userid. If you give both they must be the same account, otherwise the command stops rather than guessing which one you meant.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Ban Members.

text
/ban user:@Troublemaker reason:Advertising in DMs

#Ban an ID before they join

userid takes a raw Discord user ID, so somebody who was banned on another platform, named in an intelligence share, or spotted on an alt can be dealt with before they ever open your invite. Discord enforces the ban at the door: the account is turned away the moment it tries to join.

Turn on Settings โ†’ Advanced โ†’ Developer Mode in Discord to copy an ID. The reply says which account it belongs to when FiveUnity can look it up, and bans the ID either way when it cannot. There is no DM, because there is no shared server to send one through.

text
/ban userid:123456789012345678 reason:Known cheater, banned on partner server

#Ban across your linked Discords

cross:Yes bans the same account in every side Discord attached to this server. It needs the PRO plan and at least one linked server.

Run it on the main server. A side Discord cannot ban across the network, because that would let one department's moderators decide who is allowed in everybody else's Discord; FiveUnity refuses and points you at the main server.

The reply lists every linked Discord and what happened there, including the ones it could not act on: the bot is no longer in that server, it is missing Ban Members there, the account owns that Discord, or the account sits at or above the bot's highest role there. One refusal never stops the others. Each ban that lands opens its own numbered case in that Discord, credited to you, and the side server's Discord audit log names you and this server as the origin.

Someone already banned here is not re-banned or re-cased, but cross:Yes still pushes their ban out to the network, which is how you bring a Discord you linked recently in line with bans you placed months ago.

Lift a network ban with /massunban ... cross:Yes.

text
/ban user:@Troublemaker reason:Advertising in DMs cross:Yes
/ban userid:123456789012345678 reason:Ban evasion cross:Yes

#/kick

Kicks a member, DMs them the reason first, and opens a numbered case.

OptionRequiredWhat it is
userYesThe user to kick.
reasonNoThe reason for the kick.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Kick Members.

text
/kick user:@Newcomer reason:Ignoring staff instructions

#/timeout

Times a member out so they cannot talk or join voice, DMs them, and opens a case.

OptionRequiredWhat it is
userYesThe member to time out.
durationYesHow long, for example 10m, 2h, 7d. Discord caps a timeout at 28 days.
reasonNoWhy they are being timed out.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Moderate Members.

text
/timeout user:@Member duration:2h reason:Spamming general

#/untimeout

Lifts a timeout early and records it as a case.

OptionRequiredWhat it is
userYesThe member to release.
reasonNoWhy the timeout is being lifted.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Moderate Members.

text
/untimeout user:@Member reason:Appealed and apologised

#/warn

Warns a member. FiveUnity DMs them the reason and opens a numbered case.

OptionRequiredWhat it is
userYesThe user to warn.
reasonYesThe reason for the warning.

A member who has already left is still recorded: the case is opened against their user ID and the reply says no warning DM was sent.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Moderate Members.

text
/warn user:@Member reason:Third reminder about voice chat rules

#/purge

Bulk deletes recent messages in the channel you run it in.

OptionRequiredWhat it is
amountYesNumber of messages to delete, 1 to 100.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Messages.

Warning

Discord will not bulk delete messages older than 14 days, so those are skipped and the reply tells you how many were actually removed.

text
/purge amount:50

#/massban

Bans a whole list of Discord user IDs in one go, including accounts that have never joined. This is the pre-ban tool: paste an intelligence share, a list of alts, or a ban list from a partner community, and every account on it is turned away at the door.

OptionRequiredWhat it is
user_idsYesDiscord user IDs separated by spaces, commas or new lines. Pasted mentions work too.
reasonNoThe reason recorded against every ban in the list.
crossNoYes also bans them in every side Discord linked to this server. Defaults to no.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Ban Members.

Up to 100 IDs per run. Anything past that is reported back, not silently dropped, so you can paste the rest and run it again. Duplicates are collapsed and anything that is not an ID is listed in the reply rather than sent to Discord.

Every ID is checked before it is used: you cannot ban yourself, the server owner, the bot, or anyone whose highest role sits at or above your own. Those are named in the reply and the rest of the list still runs. Each ban that lands opens its own numbered case crediting you.

Nobody is DMed. A single /ban warns the member first; a list of a hundred accounts, most of which have never been here, is not a conversation.

The reply is a report: how many landed, one line per server, and a Not banned list with the reason for each. Lift the whole thing again with /massunban.

text
/massban user_ids:123456789012345678 234567890123456789 reason:Ban evasion ring
/massban user_ids:123456789012345678 cross:Yes
Tip

The same tool is on the website under Safety โ†’ Moderation โ†’ Mass ban, for pasting a long list somewhere with more room than a slash command. It is Administrator-only there. See Moderation.

#/massunban

Unbans several people at once from a list of Discord user IDs.

OptionRequiredWhat it is
user_idsYesDiscord user IDs separated by spaces, commas or new lines. Pasted mentions work too.
crossNoYes also lifts the ban on every side Discord linked to this server. Defaults to no.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

It reads a list the same way /massban does: up to 100 IDs a run, duplicates collapsed, anything that is not an ID listed back under Not run instead of being sent to Discord.

An ID that was not banned is not a failure. The report counts it separately and says so, because on a list pulled from a spreadsheet most IDs usually were not banned in the first place. Only a real refusal from Discord is reported as failed.

cross:Yes is how a ban placed with /ban ... cross:Yes or /massban ... cross:Yes is lifted again. It follows the same rules: PRO, run it on the main server, and the reply gives one line per server. An ID that was never banned here is still cleared from the network, so a ban that only ever landed on a side Discord can be undone from one place.

text
/massunban user_ids:123456789012345678 234567890123456789
/massunban user_ids:123456789012345678 cross:Yes

#Case history and evidence

#/modlogs

Shows the recorded moderation history for a member, one case, or the server's recent activity.

OptionRequiredWhat it is
usern/aSubcommand: a member's full moderation history. Six cases per page, with prev/next buttons for the person who ran it; the buttons stop working after five minutes.
user userYesThe member to look up.
casen/aSubcommand: show one case by number.
case numberYesThe case number, from 1 upwards.
recentn/aSubcommand: the most recent moderation actions in this server.
recent actionNoOnly show one kind of action: Warn, Timeout, Timeout removed, Kick, Ban, Unban, Purge or AutoMod.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Moderate Members.

text
/modlogs user user:@Member

#/ban-evidence

Opens a form for the reason and the evidence links behind a ban, and files it against that user.

OptionRequiredWhat it is
userYesThe user who was banned.

The form asks for two things, both required: the reason for the ban, and evidence (links to video or screenshots).

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/ban-evidence user:@Troublemaker

See Moderation for where cases and ban evidence are stored and reviewed.

#Roles

#/role

Assigns or removes a role you are allowed to manage.

OptionRequiredWhat it is
addn/aSubcommand: adds a role to a user.
add userYesThe user.
add roleYesThe role.
removen/aSubcommand: removes a role from a user.
remove userYesThe user.
remove roleYesThe role.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators. Members with Discord's Administrator or Manage Roles permission can hand out any role; everyone else can only hand out the roles bound to a role they already hold, set with /role-bindings bind. FiveUnity's own role must sit above the role being given.

text
/role add user:@Member role:@Whitelisted

#/temprole

Gives a member a role that removes itself when the time is up.

OptionRequiredWhat it is
addn/aSubcommand: grant a role for a set duration.
add userYesWho receives the role.
add roleYesThe role to grant.
add durationYesHow long, for example 30m, 12h, 3d, 2w.
add reasonNoWhy, shown in the audit log and logs.
removen/aSubcommand: drop a temporary role early.
remove userYesWhose role to remove.
remove roleYesThe role to remove.
listn/aSubcommand: show a member's active temporary roles.
list userYesWhose roles to list.
membership given/aSubcommand: give a member a membership for a number of days.
membership give userYesWho receives the membership.
membership give tierYesThe membership tier, chosen from autocomplete.
membership give daysYesHow many days it lasts, 1 to 365.
membership give reasonNoWhy, shown in the audit log and logs.
membership revoken/aSubcommand: end a member's membership now.
membership revoke userYesWhose membership to end.
membership revoke tierYesThe tier to take back.
membership statusn/aSubcommand: show a member's memberships and when they run out.
membership status userYesWhose memberships to show.
tiers addn/aSubcommand: add a tier, or point an existing one at a different role.
tiers add nameYesWhat you call it, for example VIP. Up to 32 characters.
tiers add roleYesThe role a member of this tier holds.
tiers removen/aSubcommand: forget a tier.
tiers remove nameYesThe tier to forget, chosen from autocomplete.
tiers listn/aSubcommand: show the membership tiers this server has.

#Memberships

A membership is a named tier you set up once so staff can hand out "VIP for 30 days" without having to look up a role. Set the tiers up first with /temprole tiers add: a server can have up to 25, each one a name and a role, and one role cannot be two tiers.

Underneath, a membership is an ordinary temporary role, so it comes off on its own when the days run out and it appears in /temprole list and on the dashboard's temporary-role list alongside everything else. Giving a member a tier they already hold moves the expiry to the new date rather than stacking a second membership on top.

/temprole tiers remove only forgets the name: memberships already granted from that tier keep their expiry and still come off on time.

membership status also lists a tier whose role the member is holding with nothing scheduled to remove it, so a membership handed out by hand shows up rather than sitting there permanently unnoticed.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท Discord permission: Manage Roles. The tiers subcommands are Admin and above: handing a membership out is everyday staff work, but deciding which roles are sold as memberships is not. Every grant is checked the same way: FiveUnity must sit above the role, and the role must be below your own highest one.

text
/temprole add user:@Member role:@Event Access duration:3d reason:Weekend event
/temprole tiers add name:VIP role:@VIP
/temprole membership give user:@Member tier:VIP days:30 reason:Tebex order 4821

#/stickyrole

Manages the roles FiveUnity re-applies to a member when they rejoin the server.

OptionRequiredWhat it is
addn/aSubcommand: makes a role sticky.
add roleYesThe role to make sticky.
removen/aSubcommand: removes a role from the sticky list.
remove roleYesThe role to remove from the sticky list.
listn/aSubcommand: lists all current sticky roles.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/stickyrole add role:@Quarantined

#/queenverify

Verifies a member and gives them the one role you chose on the dashboard, posts a message in the channel saying so, then writes who verified who to a log channel of your choosing. Unlike /verification, which posts a button members press themselves, this one is run by a staff member on somebody else.

OptionRequiredWhat it is
userYesThe member to verify.

Who can use it by default: nobody until you configure it. Open Dashboard โ†’ Safety โ†’ Moderation โ†’ Queen verification, turn it on, pick the role it hands out and pick the roles allowed to run it. Those roles, the server owner, Discord Administrators and any permission group holding queenverify (the Management step and above by default) can then use it. No Discord permission is set, so it stays visible to the roles you pick even when they hold nothing else.

The role it hands out has to be one FiveUnity may grant on its own: not managed by an integration, below the bot in the role list, and never one carrying Administrator. The dashboard refuses one and the command refuses it again at grant time.

text
/queenverify user:@Member

#Gangs

#/gang-admin

Creates gangs, manages their leaders, adds and removes members, and clears leave cooldowns.

OptionRequiredWhat it is
createn/aSubcommand: create a gang with a Discord role and a leader.
create roleYesGang or faction role.
create leaderYesFirst gang leader.
create nameNoDisplay name. Defaults to the role name.
deleten/aSubcommand: delete a gang record.
delete gangYesGang name.
set-rolen/aSubcommand: set the Discord role leaders assign to members.
set-role gang_nameYesGang name.
set-role roleYesRole to assign.
add-leadern/aSubcommand: add a leader to a gang.
add-leader gangYesGang name.
add-leader userYesNew leader.
remove-leadern/aSubcommand: remove a leader. A gang must keep at least one.
remove-leader gangYesGang name.
remove-leader userYesLeader to remove.
leadersn/aSubcommand: list leaders for a gang, or every gang.
leaders gangNoOptional gang name.
listn/aSubcommand: list registered gangs.
mass-addn/aSubcommand: add many members at once. Bypasses the leave cooldown.
mass-add gangYesGang name.
mass-add usersYesMentions or user IDs, separated by spaces.
removen/aSubcommand: kick a member from a gang. Applies the leave cooldown.
remove gangYesGang name.
remove userYesMember to remove.
reset-cooldownn/aSubcommand: clear a member's gang leave cooldown.
reset-cooldown userYesUser to clear.

Who can use it by default: the Admin group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/gang-admin create role:@Ballas leader:@Member name:Ballas

#/strike-gang

Issues a strike against a registered gang and posts it to your strike log.

OptionRequiredWhat it is
gangYesThe gang role to strike. The role must already belong to a gang created with /gang-admin create.
reasonYesThe reason for the strike.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/strike-gang gang:@Ballas reason:RDM at the docks

#/list-strikes

Lists every gang that currently has strikes, with the total for each. Takes no options, shows up to 25 gangs, and replies privately to you.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/list-strikes

Strikes are removed with /delete-strike. See Admin and setup commands. For the wider feature, see Gangs.

#Staff time and tickets

#/clock log

Views and manages department clock in and clock out records.

OptionRequiredWhat it is
viewn/aSubcommand: view stored department hours.
view userNoOnly show a single member.
view departmentNoOnly show a single department. Suggestions appear as you type.
view periodNoLast 7 Days, Last 30 Days or All Time. Defaults to All Time.
forceoutn/aSubcommand: clock a member out of their active shift.
forceout userYesThe member to clock out.
resetn/aSubcommand: wipe stored clock records after logging a summary.
reset confirmYesThis permanently deletes the stored records.
reset departmentNoOnly reset a single department. Defaults to all.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

Danger

/clock log reset deletes the stored records for good. A summary is logged first, but the individual shifts cannot be recovered.

text
/clock log view department:Police period:30d

Members clock themselves in and out. See Departments.

#/dutylog

Views the duty time logs for staff members.

OptionRequiredWhat it is
userNoThe staff member whose logs you want to view. Leave it out for everyone.
periodNoLast 7 Days, Last 30 Days or All Time. Defaults to All Time.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/dutylog user:@Staff Member period:7d

#/ratings

Shows the ticket rating scoreboard for your staff, five per page, with buttons to move between pages. Takes no options.

Who can use it by default: the Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/ratings

See Staff for how ratings are collected.

#/ticket-reset

Clears a member's open ticket record when they are stuck and cannot open a new one.

OptionRequiredWhat it is
userYesThe user whose open ticket data you want to clear.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

text
/ticket-reset user:@Member

See Tickets.

#FiniAC lookups

#/finiac

Searches your connected FiniAC server for ban history, identifier matches, ban context and recent bans. Replies are ephemeral. FiveUnity never shows the FiniAC access or secret key.

OptionRequiredWhat it is
discordn/aSubcommand: check a Discord ID and any FiveUnity-linked identifiers.
discord userNoA member in this server.
discord idNoA Discord ID for someone who is not in the server.
identifier valueYesA prefixed identifier such as license:โ€ฆ, license2:โ€ฆ or steam:โ€ฆ.
player queryYesA FiniAC player name or IP address.
uid valueYesThe FiniAC player UID.
recentn/aSubcommand: show the newest bans FiniAC returns.

Who can use it by default: the Management group and above, plus the server owner and Discord Administrators ยท Discord permission: Moderate Members. FiniAC is grouped under FiveM on the permissions page.

Tip

Create the FiniAC key with read-only permissions only. The dashboard's Anticheat tab names the exact scopes and warns when the verified key is missing one.

text
/finiac discord user:@Player
/finiac identifier value:license:0123456789abcdef0123456789abcdef01234567

The lookup is read-only. It does not create or edit FiniAC bans.

#Status blacklist

#/blacklist

Manages the status blacklist: a Quarantined role, a quarantine channel that is the only thing the role can see, and the list of words you do not allow in a member's custom status. See Moderation for how the pieces fit together.

OptionRequiredWhat it is
setupn/aSubcommand: creates the Quarantined role and the quarantine channel, hides every existing category from that role, and enables the system.
addn/aSubcommand: adds a word to the status blacklist.
add wordYesThe word or phrase to blacklist. Not case sensitive.
removen/aSubcommand: removes a word from the status blacklist.
remove wordYesThe word or phrase to remove.
listn/aSubcommand: lists all blacklisted words.
togglen/aSubcommand: enables or disables the status blacklist system.

Who can use it by default: the Senior Moderator group and above, plus the server owner and Discord Administrators ยท No Discord permission is set, so FiveUnity's permission check does the gating.

Tip

Run /blacklist setup once. Categories you create afterwards are not hidden automatically. Deny View Channel for the Quarantined role on new categories yourself.

text
/blacklist add word:free nitro

/blacklist is a setup command, so it disappears from the command menu while Hide setup-only commands is switched on at Dashboard โ†’ Server setup โ†’ Slash commands.