Clear permissions

Description

Remove all the permissions of the subject.

Permission

permissionmanager.commands.subject.clear.permissions

Command

/pm <collection> <subject> clear permissions [-s <server>] [-w <world>]

Options

  • -s: The server where the subject will have all its permissions removed.
  • -w: The world where the subject will have all its permissions removed.

Examples

Clear the permissions of a player.
/pm user player_name clear permissions

Clear the permissions of a group.
/pm group group_name clear permissions

Clear the permissions of the default subject.
/pm default default clear permissions

Clear the permissions for the world DIM1.
/pm <collection> <subject> clear permissions -w DIM1

Clear the permissions for a server. Only works if you have more than one server connected to your database.
/pm <collection> <subject> clear permissions -s server_name

Clear the permissions for the server test.permissionmanager.com in the world DIM-1 for 2 minutes.
/pm <collection> <subject> clear permissions -s test.permissionmanager.com -w DIM-1 -t 120