Clear parents

Description

Remove all the parents of the subject.

Permission

permissionmanager.commands.subject.clear.parents

Command

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

Options

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

Examples

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

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

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

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

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

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