# Commands and Permissions

## Main Commands

{% hint style="info" %}

* Command alias: `/playertimelimit`
  {% endhint %}

| Command                         | Description                                                          |
| ------------------------------- | -------------------------------------------------------------------- |
| `/ptl message`                  | Enables or disables the time limit information message for yourself. |
| `/ptl check (optional)<player>` | Checks player time left and total time.                              |
| `/ptl info`                     | Checks the remaining time for play times reset.                      |
| `/ptl reload`                   | Reloads the config.                                                  |
| `/ptl addtime <player>`         | Adds play time to a player.                                          |
| `/ptl taketime <player>`        | Takes play time from a player.                                       |
| `/ptl resettime <player>/*`     | Resets play time for a player or all players.                        |

## Permissions

| Permission                              | Description                                                                           | Enabled by Default |
| --------------------------------------- | ------------------------------------------------------------------------------------- | ------------------ |
| `playertimelimit.admin`                 | Grants access to all plugin commands.                                                 | false              |
| `playertimelimit.commands.message`      | Access to /ptl message command                                                        | true               |
| `playertimelimit.commands.info`         | Access to /ptl info command                                                           | true               |
| `playertimelimit.commands.check`        | Access to /ptl check command                                                          | true               |
| `playertimelimit.commands.check.others` | Access to /ptl check command.                                                         | false              |
| `playertimelimit.limit.<group>`         | This permission will set a specific time limit defined in the config, for the player. | false              |
