Skip to main content

Introduction

Fake permissions allow you to grant users or roles temporary access to jar commands, without needing to modify their actual permissions in the server. This is useful for giving users access to commands they normally wouldn’t have, such as moderation commands, without making them moderators. For example, if you give a role the Kick Members fake permission, users with that role will be able to use the kick command through jar, even if they don’t have the Kick Members permission in Discord.
Fake permissions can only be added by the Server Owner, due to the potential security risks involved.
Here are some recommended permissions to consider when granting fake permissions:
  • Manage Messages: Allows the user/role to delete messages.
  • Timeout Members: Allows the user/role to mute (timeout) members.
  • Manage Nicknames: Allows the user/role to change nicknames of members.
  • Kick Members: Allows the user/role to kick members from the server.

Adding a fake permission

To add a fake permission, you’ll need to run the following command:
fakepermissions add <user or role>
jar will then prompt you to select the permissions you want to give the user or role.
Fake permission addition prompt
You can select multiple permissions at once.
Fake permission addition selection
Once you’ve selected the permissions you want to give, jar will confirm the addition by showing you the selected permissions.
Fake permission addition confirmation

Editing a fake permission

To edit a fake permission, you’ll need to run the following command:
fakepermissions edit <user or role>
jar will then prompt you to select the permissions you want to edit.
Fake permission edit prompt
Once you’ve selected the permissions you want to edit, jar will confirm the changes by showing you the selected permissions.
Fake permission edit confirmation

Removing a fake permission

To remove a fake permission, you’ll need to run the following command:
fakepermissions remove <user or role>
jar will then confirm the removal by showing you the removed permissions.
Fake permission removal confirmation

Removing all fake permissions

To remove all fake permissions for the server, you can use the following command:
fakepermissions reset
jar will prompt you to confirm the removal of all fake permissions.
Fake permission reset prompt

Viewing all fake permissions

To view all fake permissions in the server, you can use the following command:
fakepermissions list
jar will display a list of all users and roles, along with the permissions they have been granted.
Fake permission list