Skip to content

Commit 4894894

Browse files
committed
Adjust so that basic functionality permissions are enabled by default
1 parent 1a03733 commit 4894894

3 files changed

Lines changed: 25 additions & 22 deletions

File tree

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Releases available on [Modrinth](https://modrinth.com/plugin/simplepms)
44

55
Simple plugin for handling direct messaging that features:
6+
67
- Message and Reply
78
- Toggle messages on or off
89
- Block users
@@ -25,18 +26,20 @@ Simple plugin for handling direct messaging that features:
2526

2627
### Permissions
2728

28-
| Permission | What it do |
29-
|-----------------------------|------------------------------------------------------------------------------------------------------------------|
30-
| `message.reload` | Allows reloading the config/locale |
31-
| `message.basic.*` | Gives all basic messaging functionality |
32-
| `message.basic.send` | Allows sending messages |
33-
| `message.basic.receive` | Allows receiving messages |
34-
| `message.basic.toggle` | Allows toggling direct messages on or off |
35-
| `message.basic.block` | Allows blocking, unblocking, and listing your blocked users |
36-
| `message.admin.*` | Gives all subsequent admin permissions |
37-
| `message.admin.override` | Allows messaging users who have their messages disabled, have you blocked, or do not have the receive permission |
38-
| `message.admin.social-spy` | Shows a log of direct messages being sent between players |
39-
| `message.admin.console-spy` | Shows a log of any direct messages being sent between the console and players (from this plugin) |
29+
| Permission | Default | What it do |
30+
|------------------------------|:-------:|------------------------------------------------------------------------------------------------------------------|
31+
| `message.reload` | OP | Allows reloading the config/locale |
32+
| `message.basic.*` | `true` | Gives all basic messaging functionality |
33+
| `message.basic.send` | `true` | Allows sending messages |
34+
| `message.basic.receive` | `true` | Allows receiving messages |
35+
| `message.basic.toggle` | `true` | Allows toggling direct messages on or off |
36+
| `message.basic.block` | `true` | Allows blocking, unblocking, and listing your blocked users |
37+
| `message.admin.*` | OP | Gives all subsequent admin permissions |
38+
| `message.admin.override` | OP | Allows messaging users who have their messages disabled, have you blocked, or do not have the receive permission |
39+
| `message.admin.social-spy` | OP | Shows a log of direct messages being sent between players |
40+
| `message.admin.console-spy` | OP | Shows a log of any direct messages being sent between the console and players (from this plugin) |
41+
| `message.bypass.social-spy` | OP | Prevents messages you send or messages being sent to you from being shown to others with social spy |
42+
| `message.bypass.command-spy` | OP | Prevents commands you send from being shown to social spy |
4043

4144
### PlaceholderAPI integration
4245

@@ -46,5 +49,5 @@ You can use placeholderAPI placeholders in the messages in the config by doing:
4649
<br>You will need placeholderAPI installed for those placeholders to work
4750

4851
> Note: This only works in the `config.yml`
49-
>
52+
>
5053
> This will not work for messages in the `locale.yml`

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>simplexity</groupId>
88
<artifactId>SimplePMs</artifactId>
9-
<version>2.1.0</version>
9+
<version>2.2.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SimplePMs</name>

src/main/resources/plugin.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,29 @@ commands:
3636
description: "reloads SimplePMs"
3737
permission: message.reload
3838
permissions:
39-
message.reload:
40-
default: op
41-
description: reloads the config and locale
4239
message.basic:
43-
default: op
40+
default: true
4441
description: Base permission for basic functionality
4542
children:
4643
message.basic.send: true
4744
message.basic.receive: true
4845
message.basic.toggle: true
4946
message.basic.block: true
5047
message.basic.send:
51-
default: op
48+
default: true
5249
description: Allows sending messages
5350
message.basic.receive:
54-
default: op
51+
default: true
5552
description: Allows receiving messages
5653
message.basic.toggle:
57-
default: op
54+
default: true
5855
description: Allows enabling/disabling direct messages
5956
message.basic.block:
60-
default: op
57+
default: true
6158
description: Allows blocking direct messages from and to specific users
59+
message.reload:
60+
default: op
61+
description: reloads the config and locale
6262
message.admin:
6363
default: op
6464
description: Base permission for the admin commands

0 commit comments

Comments
 (0)