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: src/main/resources/config.yml
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,15 @@ invoice:
259
259
# Number of invoices to return per page
260
260
per-page: 10
261
261
262
+
# Notifications for unpaid invoices (see messages.invoice.notify)
263
+
notify:
264
+
# Send message when a player joins
265
+
join: true
266
+
# Periodically send message while player is online
267
+
# Interval between messages in seconds
268
+
# Set to 0 or negative to disable
269
+
interval: 300
270
+
262
271
# Messages
263
272
messages:
264
273
# Command usage message
@@ -583,6 +592,14 @@ messages:
583
592
# Same placeholders as details
584
593
footer: "<hover:show_text:'Click to see the previous page'><click:run_command:<cmd-prev>><green>← Previous</green></click></hover> <gray>Page <page></gray> <hover:show_text:'Click to see the next page'><click:run_command:<cmd-next>><green>Next →</green></click></hover>"
585
594
595
+
# You have unpaid invoices
596
+
# Sent periodically and on login (as configured in invoice.notify)
597
+
# Set to empty string to disable
598
+
# Placeholders:
599
+
# <unpaid> - number of unpaid invoices></yellow>."
600
+
# <unpaid-choice> - choice placeholder for unpaid invoices; see https://docs.advntr.dev/minimessage/dynamic-replacements.html#insert-a-choice
601
+
notify: "<click:run_command:/invoice list><hover:show_text:'Click to view unpaid invoices'><yellow>(!) You have <gray><unpaid></gray> unpaid invoice<unpaid-choice:'0<s'>. <gray>Click to view.</gray></yellow></hover></click>"
0 commit comments