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
* Improved player join/quit email notifications to reduce notification sent when a player drops from the game briefly and re-joins within a specified time interval.
168
+
169
+
A configuration entry `notify-delay` can be added to increase or decrease the time interval before issuing a quit notification. Default time is 5 minutes.
170
+
171
+
* Added configuration entry `l10n-file` to specify which localization file to use (e.g l10n_fr-fr.yml)
172
+
173
+
* Added capability to send email notification in HTML format for richer formatting and interactive experience using hypertext.
174
+
175
+
A default `l10n_html.yml` file has been included to demonstrate. It can be assigned to `l10n-file` config entry.
176
+
177
+
* Added capability to suppress email notifications temporarily on a server "restart" (stop followed by start).
178
+
179
+
Console command to suppress notification => `stop noemail`
180
+
181
+
* No longer sends email notifications when the "reload" command is issued.
Copy file name to clipboardExpand all lines: BuddyNotify-source/resources/l10n.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,10 @@ email:
14
14
event-quit: "%s left '%s'"
15
15
body:
16
16
greeting: "Hello %s,\n\n"
17
-
signature: "\n\nFrom,\n%s\n\n--Sent from '%s'"
17
+
signature: "\n\nFrom,\n%s\n\n----\nSent by BuddyNotify\nhttps://forums.pocketmine.net/plugins/buddynotify.1344/"
18
18
players-hdr: "\n\nOnline Players:\n\n"
19
-
players-row: " * %s -> %s\n"
19
+
players-row: " * %s -> %s - %s\n"
20
+
players-ftr: ""
20
21
event-start: "Server started. Enjoy the game!\n\nDate: %s\n\nServer: %s\n\nVersion: %s"
21
22
event-stop: "Server stopped. Game play will resume shortly.\nYou will receive a message when the server is available.\n\nDate: %s\n\nServer: %s\n\nVersion: %s"
22
23
event-auth: "%s joined the game.\n\nDate: %s\n\nServer: %s\n\nWorld: %s"
event-stop: "<p>Server stopped. Game play will resume shortly. You will receive a message when the server is available.</p><table cellpadding='1'><tr><td bgcolor='e8e8e8'><strong>Date</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>Server</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>Version</strong></td><td bgcolor='f8f8f8'>%s</td></tr></table>"
24
+
event-auth: "<p><strong>%s</strong> joined the game.</p><table cellpadding='1'><tr><td bgcolor='e8e8e8'><strong>Date</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>Server</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>World</strong></td><td bgcolor='f8f8f8'>%s</td></tr></table>"
25
+
event-quit: "<p><strong>%s</strong> left the game.</p><table cellpadding='1'><tr><td bgcolor='e8e8e8'><strong>Date</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>Server</strong></td><td bgcolor='f8f8f8'>%s</td></tr><tr><td bgcolor='e8e8e8'><strong>World</strong></td><td bgcolor='f8f8f8'>%s</td></tr></table>"
26
+
cmd-send: "<p>%s</p>"
27
+
commands:
28
+
msg-add-success: "%s added to buddy list"
29
+
msg-add-error: "%s is already a buddy"
30
+
msg-del-success: "%s removed from buddy list"
31
+
msg-del-error: "%s is not a buddy"
32
+
msg-list-email-label: "Address: "
33
+
msg-list-email-unset: "Empty - use '/email reg <email>' command"
34
+
msg-list-buddy-label: "Buddies: "
35
+
msg-list-buddy-unset: "Empty - use '/email add <player>' command"
36
+
msg-reg-success: "Email address added"
37
+
msg-reg-error: "Invalid email address"
38
+
msg-unreg-success: "Email address removed"
39
+
msg-send-success: "Your email was sent"
40
+
msg-send-general-error: "Unable to send. Contact the Admin."
41
+
msg-player-not-registered: "No email address for '%s'"
42
+
console:
43
+
msg-all-notifications-off: "Unable to send. Check the master switch in the 'config.cfg'"
44
+
msg_player_no_buddies: "%s has no buddies"
45
+
msg-player-not-registered: "Unable to send. The player, %s, has not registered an email address."
46
+
msg-send-error: "Unable to send. Check the 'sendmail_path' property in 'php.ini' is correct."
47
+
msg-send-success: "Your email was sent"
48
+
msg-sysadmin-email-notset1: "System alerts disabled. System operator email address not set in 'config.xml'."
49
+
msg-sysadmin-email-notset2: "Unable to send. System operator email address not set in 'config.xml'."
50
+
msg-no-registered-emails: "Unable to send. There are no registered email addresses."
51
+
usage:
52
+
header: "---Showing email sub-command help page"
53
+
player:
54
+
cmd-add: "Add buddy to your alerts"
55
+
cmd-del: "Remove buddy from your alerts"
56
+
cmd-list: "Show your email and buddy configuration"
57
+
cmd-send: "Send a player an email"
58
+
cmd-reg: "Register your email to receive alerts"
59
+
cmd-unreg: "Unregister your email from receiving alerts"
60
+
cmd-unsub: "Unsubscribe from a buddy's alerts"
61
+
console:
62
+
cmd-add: "Add buddy to player's alerts"
63
+
cmd-del: "Remove buddy from player's alerts"
64
+
cmd-list: "Show player's email and buddy configuration"
65
+
cmd-send: "Send a player or everyone an email"
66
+
cmd-reg: "Register player's email to receive alerts"
67
+
cmd-unreg: "Unregister player's email from receiving alerts"
68
+
cmd-unsub: "Unsubscribe player from another player's alerts"
0 commit comments