Skip to content

Commit 70ca6b5

Browse files
Change all permissions from wac.* to nac.* in plugin.yml, docs
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com> Agent-Logs-Url: https://github.com/Dans-Plugins/Nether-Access-Controller/sessions/73794ca4-33bc-4324-8a80-9bd715079832
1 parent 6a2b151 commit 70ca6b5

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

COMMANDS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,43 @@ All commands use the `/nac` base command.
1313
### /nac help
1414

1515
**Description:** Lists all available commands.
16-
**Permission:** `wac.help`
16+
**Permission:** `nac.help`
1717
**Usage:** `/nac help`
1818

1919
## Whitelist Commands
2020

2121
### /nac allow \<playerName\>
2222

2323
**Description:** Adds a player to the nether access whitelist, allowing them to create and use nether portals.
24-
**Permission:** `wac.allow`
24+
**Permission:** `nac.allow`
2525
**Usage:** `/nac allow <playerName>`
2626
**Example:** `/nac allow Steve`
2727

2828
### /nac deny \<playerName\>
2929

3030
**Description:** Removes a player from the nether access whitelist, preventing them from creating and using nether portals.
31-
**Permission:** `wac.deny`
31+
**Permission:** `nac.deny`
3232
**Usage:** `/nac deny <playerName>`
3333
**Example:** `/nac deny Steve`
3434

3535
### /nac list
3636

3737
**Description:** Displays all players currently on the nether access whitelist.
38-
**Permission:** `wac.list`
38+
**Permission:** `nac.list`
3939
**Usage:** `/nac list`
4040

4141
## Configuration Commands
4242

4343
### /nac config show
4444

4545
**Description:** Displays all current configuration settings and their values.
46-
**Permission:** `wac.config`
46+
**Permission:** `nac.config`
4747
**Usage:** `/nac config show`
4848

4949
### /nac config set \<option\> \<value\>
5050

5151
**Description:** Sets a configuration option to the specified value. Use single quotes around values that contain spaces.
52-
**Permission:** `wac.config`
52+
**Permission:** `nac.config`
5353
**Usage:** `/nac config set <option> <value>`
5454
**Example:** `/nac config set preventPortalUsage true`
5555
**Example:** `/nac config set denyUsageMessage 'You cannot enter the nether.'`

USER_GUIDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Use single quotes around messages that contain spaces.
5858

5959
| Permission | Default | Description |
6060
|------------|---------|-------------|
61-
| `wac.help` | op | Access the help command |
62-
| `wac.list` | op | View the nether access whitelist |
63-
| `wac.allow` | op | Allow a player nether access |
64-
| `wac.deny` | op | Deny a player nether access |
65-
| `wac.config` | op | View and modify configuration |
61+
| `nac.help` | op | Access the help command |
62+
| `nac.list` | op | View the nether access whitelist |
63+
| `nac.allow` | op | Allow a player nether access |
64+
| `nac.deny` | op | Deny a player nether access |
65+
| `nac.config` | op | View and modify configuration |

src/main/resources/plugin.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ commands:
88
nac:
99

1010
permissions:
11-
wac.help:
11+
nac.help:
1212
default: op
13-
wac.list:
13+
nac.list:
1414
default: op
15-
wac.allow:
15+
nac.allow:
1616
default: op
17-
wac.deny:
17+
nac.deny:
1818
default: op
19-
wac.config:
19+
nac.config:
2020
default: op

0 commit comments

Comments
 (0)