Skip to main content

Moderator Commands

Moderator commands require the Ban Members permission. A server admin can grant this to a role by running /add-moderator-role.

Note: If you have configured a webhook URL on your PlaySafe dashboard, all moderator actions will also trigger a webhook event.

Action Value Mapping​

Each moderation command maps directly to an action value in your PlaySafe action policies. As long as your action policies are configured correctly, the actions you take through these commands will apply the matching policy rules automatically.

Command ActionPlaySafe Action Value
Permanent banperma_ban
Temporary ban (timeout)temp_voice_ban
Warningwarning

Discord User Moderation​

/perma-ban-discord-user​

Permanently ban a Discord user from the server.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe user to ban (tag with @)
strikesNumberNo1Number of strikes to apply (minimum 0)
reasonStringNoN/AReason for the ban

/temp-ban-discord-user​

Timeout a Discord user for a specified duration.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe user to timeout (tag with @)
strikesNumberNo1Number of strikes to apply (minimum 0)
duration-minutesNumberNo5Duration of the timeout in minutes (minimum 1)
reasonStringNoN/AReason for the ban

/warn-discord-user​

Warn a Discord user.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe user to warn (tag with @)
strikesNumberNo1Number of strikes to apply (minimum 0)
reasonStringNoN/AReason for the warning

/forgive-discord-user​

Forgive and unban a Discord user from the server.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe user to unban
reasonStringNoN/AReason for the unban
reset-strikesBooleanNofalseWhether to reset the user's strike count

/get-discord-user-status​

Get the moderation status of a Discord user.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe user to check (tag with @)

In-Game Player Moderation​

/perma-ban-player​

Permanently ban an in-game player.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username (case-insensitive)
actionStringNoN/AThe moderation action type
duration-minutesNumberYesN/ADuration in minutes (minimum 1)
strikesNumberNo1Number of strikes to apply (minimum 0)
reasonStringNoN/AReason for the ban

/temp-ban-player​

Timeout an in-game player for a specified duration.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username (case-insensitive)
actionStringNoN/AThe moderation action type
duration-minutesNumberYesN/ADuration in minutes (minimum 1)
strikesNumberNo1Number of strikes to apply (minimum 0)
reasonStringNoN/AReason for the ban

/warn-player​

Warn an in-game player.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username (case-insensitive)
actionStringNoN/AThe moderation action type
duration-minutesNumberYesN/ADuration in minutes (minimum 1)
strikesNumberNo1Number of strikes to apply (minimum 0)
reasonStringNoN/AReason for the warning

/forgive-player​

Forgive and unban an in-game player.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username (case-insensitive)
reasonStringNoN/AReason for the unban
reset-strikesBooleanNofalseWhether to reset the player's strike count

/get-player-status​

Get the moderation status of an in-game player.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username (case-insensitive)

Ban Appeals​

/approve-discord-appeal​

Approve a Discord user's ban appeal.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe Discord user whose appeal to approve
review-notesStringNoN/ANotes for the review
reset-strikesBooleanNofalseWhether to reset the user's strike count

/reject-discord-appeal​

Reject a Discord user's ban appeal.

ParameterTypeRequiredDefaultDescription
userUserYesN/AThe Discord user whose appeal to reject
review-notesStringNoN/ANotes for the review

/approve-game-appeal​

Approve an in-game player's ban appeal.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username whose appeal to approve
review-notesStringNoN/ANotes for the review
reset-strikesBooleanNofalseWhether to reset the player's strike count

/reject-game-appeal​

Reject an in-game player's ban appeal.

ParameterTypeRequiredDefaultDescription
usernameStringYesN/AThe in-game username whose appeal to reject
review-notesStringNoN/ANotes for the review

/list-appeals​

List all ban appeals for the server.

ParameterTypeRequiredDefaultDescription
statusStringNoN/AFilter by status: Open, Approved, or Rejected
searchStringNoN/ASearch by username
limitIntegerNo10Number of appeals to show (1–20)