Commit 12724a7
Stop players /ignore'ing staff JPerms groups (#38)
* Stop players /ignore'ing staff JPerms groups
* Update trial helper group name
* Refactors ignore command for staff exemption
Changes the ignore command to use the `essentials.ignore.exempt` permission instead of relying on JPerms for staff identification.
This allows admins to easily configure staff members who cannot be ignored, regardless of their group membership.
Also, ensures that exempted players are automatically unignored by all other players upon joining.
* Code for /mail to get sent via Discord (#11)
* Prototype code for /mail to get sent via Discord
* Remove ]
* Resolve stale pr conflicts
* Versioning
* Fix merge error
* Enhances Discord mail integration
Improves the Discord mail forwarding feature by:
- Ensuring mail forwarding only occurs if both Discord plugins are enabled.
- Preventing forwarding to online players.
- Preventing forwarding to players who have disabled the feature.
- Adds logging for successful and failed Discord mail attempts.
- Fixes a typo in the UserData class that was preventing UUID's being set correctly.
---------
Co-authored-by: Garsooon <carson12345678910@hotmail.com>
Co-authored-by: Garsooon <46406077+Garsooon@users.noreply.github.com>
* Resolve build issues
* Stop players /ignore'ing staff JPerms groups
* Update trial helper group name
* Refactors ignore command for staff exemption
Changes the ignore command to use the `essentials.ignore.exempt` permission instead of relying on JPerms for staff identification.
This allows admins to easily configure staff members who cannot be ignored, regardless of their group membership.
Also, ensures that exempted players are automatically unignored by all other players upon joining.
* Make ignore check occur earlier
---------
Co-authored-by: Rhys B <jetpackingwolf@gmail.com>1 parent 5602482 commit 12724a7
File tree
3 files changed
+57
-2
lines changed- Essentials/src/main
- java/com/earth2me/essentials
- commands
- resources
3 files changed
+57
-2
lines changedLines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
| |||
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
7 | 18 | | |
8 | 19 | | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
14 | 43 | | |
15 | 44 | | |
16 | 45 | | |
| |||
26 | 55 | | |
27 | 56 | | |
28 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
29 | 65 | | |
30 | 66 | | |
31 | 67 | | |
| |||
34 | 70 | | |
35 | 71 | | |
36 | 72 | | |
37 | | - | |
38 | | - | |
39 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
| |||
0 commit comments