Deny permission

Description

Deny a permission to the subject. The subject won't be able to use the permission.

Permission

permissionmanager.commands.subject.deny.permission

Command

/pm <collection> <subject> deny permission <permission> [-s <server>] [-w <world>] [-t <seconds>]

Options

  • -s: The server where the subject will have the permission denied.
  • -w: The world where the subject will have the permission denied.
  • -t: How many time the subject will have the permission denied. The time is in second.

Examples

Deny a permission to a player.
/pm user player_name deny permission permission.to.deny

Deny a permission to a group.
/pm group group_name deny permission permission.to.deny

Deny a permission to the default subject.
/pm default default deny permission permission.to.deny

Deny a permission for 10 minutes.
/pm <collection> <subject> deny permission permission.to.deny -t 600

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

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

Deny a permission for the server test.permissionmanager.com in the world DIM-1 for 2 minutes.
/pm <collection> <subject> deny permission permission.to.deny -s test.permissionmanager.com -w DIM-1 -t 120