Skip to content

Commit 6a2b151

Browse files
Address review comments: fix permission nodes, copilot-instructions, release glob
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com> Agent-Logs-Url: https://github.com/Dans-Plugins/Nether-Access-Controller/sessions/c71c250a-a4a6-4b4f-bd43-f6bdbac52fa7
1 parent e7613b1 commit 6a2b151

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ making any changes.
1515

1616
- `src/main/java/` – Plugin source code
1717
- `src/main/resources/``plugin.yml` and resource files
18-
- `src/test/java/` – Unit tests
18+
- `src/test/java/` – Unit tests (create this directory as needed)
1919

2020
### Key Packages
2121

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ jobs:
2626
- name: Upload JAR to release
2727
uses: softprops/action-gh-release@v2
2828
with:
29-
files: target/*.jar
29+
files: |
30+
target/*.jar
31+
!target/original-*.jar

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:** `nac.help`
16+
**Permission:** `wac.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:** `nac.allow`
24+
**Permission:** `wac.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:** `nac.deny`
31+
**Permission:** `wac.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:** `nac.list`
38+
**Permission:** `wac.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:** `nac.config`
46+
**Permission:** `wac.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:** `nac.config`
52+
**Permission:** `wac.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-
| `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 |
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 |

0 commit comments

Comments
 (0)