Remove permission

Description

Remove a permission to the subject. The subject won't have the permission anymore.

Permission

permissionmanager.commands.subject.remove.permission

Command

/pm <collection> <subject> remove permission <permission> [-s <server>] [-w <world>]

Options

  • -s: The server where the subject will have the permission removed.
  • -w: The world where the subject will have the permission removed.

Examples

Remove a permission to a player.
/pm user player_name remove permission permission.to.remove

Remove a permission to a group.
/pm group group_name remove permission permission.to.remove

Remove a permission to the default subject.
/pm default default remove permission permission.to.remove

Remove a permission for the world DIM1.
/pm <collection> <subject> remove permission permission.to.remove -w DIM1

Remove a permission for a server. Only works if you have more than one server connected to your database.
/pm <collection> <subject> remove permission permission.to.remove -s server_name

Remove a permission for the server test.permissionmanager.com in the world DIM-1.
/pm <collection> <subject> remove permission permission.to.remove -s test.permissionmanager.com -w DIM-1