Skip to content

Commit 9d79c60

Browse files
committed
change 'simplenick.nick' to 'simplenick.nick.set' to avoid confusion
Update README
1 parent ab392fb commit 9d79c60

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

README.md

+26-8
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,48 @@ Mini-Message comes prepackaged with Paper and all forks of Paper support Mini-Me
2121
- Sets the nickname of the player back to the original username, unformatted.
2222
- Allows users with permission `simplenick.admin` to reset the nickname of another player using the optional [player] argument.
2323

24-
`/nick reload` (TODO)
24+
`/nick reload`
2525

2626
- Reloads the configuration and locale.
2727

28-
`/nick help`
28+
`/nick help` (TODO)
2929

3030
- Provides help text.
3131

32-
## Permissions
32+
### Admin Permissions
3333

3434
`simplenick.admin`
3535

3636
- Allows the player to change other player's nicknames.
3737

38-
`simplenicks.nick.<tag>` (TODO)
38+
`simplenick.usernamebypass`
3939

40-
- Allows for the use of those Mini-Message tags.
41-
- Valid Tags are: `color`, `gradient`, `rainbow`, `underline`, `italic`, `strikethrough`, `bold`, `obsfucated`.
42-
- All Formatting Tags work using `simplenick.nick.format`.
40+
- Allows the player to use the username of another player on the server, as their own nickname
4341

44-
`simplenicks.reload` (TODO)
42+
`simplenicks.reload`
4543

4644
- Allows the player to reload the plugin configuration and locale.
4745

46+
### Player Permissions
47+
48+
`simplenicks.nick.set`
49+
50+
- Allows the player to set their own nickname
51+
52+
`simplenicks.nick.reset`
53+
54+
- Allows the player to reset their own nickname
55+
56+
`simplenicks.nick.<tag>`
57+
58+
- Allows for the use of those Mini-Message tags.
59+
- Valid Tags are: `color`, `gradient`, and `rainbow`.
60+
61+
`simplenick.nick.format.<tag>`
62+
63+
- Allows for the use of those formatting tags.
64+
- Valid Tags are: `underline`, `italic`, `strikethrough`, `bold`, and `obsfucated`.
65+
4866
## TODO
4967

5068
- Provide Config Option for TabList Changing and implement logic for TabList Update.

src/main/java/adhdmc/simplenicks/util/SimpleNickPermission.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public enum SimpleNickPermission {
1515
NICK_BOLD("simplenick.nick.format.bold", StandardTags.decorations(TextDecoration.BOLD)),
1616
NICK_OBFUSCATED("simplenick.nick.format.obfuscated", StandardTags.decorations(TextDecoration.OBFUSCATED)),
1717
//Command Perms
18-
NICK_COMMAND("simplenick.nick"),
18+
NICK_COMMAND("simplenick.nick.set"),
1919
NICK_ADMIN("simplenick.admin"),
2020
NICK_RESET("simplenick.nick.reset"),
2121
NICK_RELOAD("simplenick.reload"),

src/main/resources/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
simplenick.usernamebypass:
2020
description: allows user to nickname themselves another person's username
2121
default: false
22-
simplenick.nick:
22+
simplenick.nick.set:
2323
description: allows usage of the /nick command
2424
default: op
2525
simplenick.nick.reset:

0 commit comments

Comments
 (0)