You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+38-8
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
# SimplePushEvents Plugin
2
2
3
3
## Description
4
-
This Spigot plugin, for use with the latest Minecraft version, automatically sends notifications to a push service (ntfy.sh), when players join or leave the server, as well as when the server starts up or shuts down. It helps server administrators and players stay informed about server activities in real-time.
4
+
This Spigot plugin, for use with the latest Minecraft version, automatically sends notifications to a push service (ntfy.sh), when players join, leave, execute specific commands or the server starts/shuts down.
5
+
It helps server you and your players to stay informed about server activities in real-time.
5
6
6
7
7
8
## Ideas
@@ -17,6 +18,14 @@ Compatible with Minecraft 1.20.6 and requires Java 21.
17
18
- Configurable message content and status for each event.
18
19
- Easy integration with the ntfy.sh push service.
19
20
- Quick setup with minimal configuration required.
21
+
- Checks and notifies for specific player commands:
22
+
-`op`
23
+
-`deop`
24
+
-`ban`
25
+
-`banip`
26
+
-`pardon`
27
+
-`pardonip`
28
+
-`whitelist`
20
29
21
30
22
31
## Setup
@@ -42,24 +51,45 @@ Before deploying the plugin, ensure you configure the following parameters in th
42
51
```yaml
43
52
donottouch:
44
53
configexists: true
45
-
pushchannel: generated-unique-channel-id
46
-
54
+
pushchannel: 1c228642f083
47
55
messages:
48
56
general:
49
-
title: "Minecraft Server:"
57
+
title: 'Minecraft Server:'
50
58
startup:
51
59
status: true
52
-
content: "The server is online now!"
60
+
content: The server is online now!
53
61
poweroff:
54
62
status: true
55
-
content: "The server is shutting down!"
63
+
content: The server is shutting down!
56
64
player:
65
+
command:
66
+
op:
67
+
status: true
68
+
content: The player %PLAYER% executed /op for %TARGET% !
69
+
deop:
70
+
status: true
71
+
content: The player %PLAYER% executed /deop for %TARGET% !
72
+
ban:
73
+
status: true
74
+
content: The player %PLAYER% executed /ban for %TARGET% !
75
+
banip:
76
+
status: true
77
+
content: The player %PLAYER% executed /ban-ip for %TARGET% !
78
+
pardon:
79
+
status: true
80
+
content: The player %PLAYER% executed /pardon for %TARGET% !
81
+
pardonip:
82
+
status: true
83
+
content: The player %PLAYER% executed /pardon-ip for %TARGET% !
84
+
whitelist:
85
+
status: true
86
+
content: 'The player %PLAYER% used a whitelist command: %CONTENT%'
0 commit comments