Hirsty submitted a new resource:
Timed Notifications - Will allow someone with permissions save a notification to be posted at a certain time of day (GMT)
Read more about this resource...
Timed Notifications [Unmaintained]
Discussion in 'Plugin Support' started by Hirsty, Aug 2, 2015.
-
And you can not do, that it was not a planned action, but simply to display messages on the interval, instead of the chat?
-
Code:
TODO List: Notification Removal - can use reset, edit the MyEvents data file for the meantime) Hooks (if any dev has idea for how they wish to hook in send me a PM) Run custom commands at the time and date specified. Console commands
May open a Trello board for future ideas.
-
I would like to make it so that every Friday and Saturday it says a message.
-
Atm you will need to add them individually recurrence has been added to the to-do list
-
Really interested in this once we can run console commands. Good to see it's planned.
-
Hirsty updated Timed Notifications with a new update entry:
0.0.2
[DOUBLEPOST=1438638052][/DOUBLEPOST]Whoops forgot to say - no configs or data files will be harmed in this update....or any other update if i can help it, they will simply be edited. -
Hello and big thanks for this plugin.
I have a question ( in order not to make a mistake ).
Could you tell me if it is possible ( and how to do it ) to add an automatic admin message on the server ( even if I am not there ) each day of the week at 7 pm ( for the first message ) and at midnight ( for the second one ).
Thanks in advance. -
Atm you would need to add them separately like /notification add 10/08/2015 19:00 "admin message" but I am working on daily weekly monthly and hourly but fighting with my old sata2 SSD and windows 10 atm
-
Hirsty updated Timed Notifications with a new update entry:
0.0.3
-
Thank you.
Could you please give me an example ( command ) to make a notification each day of the month poping at 7pm and tellingdo I have to use daily - monthly ? yearly ?)
message : Raid is starting - You can attack, steal and destroy houses
/notification add daily 19:00 "MESSAGE" ? ( and the message will pop at 19h00 ? )
Cause I made a test at 09h20 this morning on the server I maede /notification add daily 09h25 "test"
The notification was saved but the message came on chat screen directly after ( and no pop up : I have installed the popupnotification ) I am sure I don t use your plugin correctly.Last edited by a moderator: Aug 13, 2015 -
all in "/notification help"
/notification daily|monthly|weekly|yearly 13/08/2015 19:00 "MESSAGE"
Once notice has been had it will automatically alter the date for you in the data file -
this worked but wouldnt stop repeating every second rather than hour :/
what did i do wrong? -
what command did you put in?
-
[DOUBLEPOST=1439832460][/DOUBLEPOST] -
Hmmm think i may have gone a little ott on the release believe it only checks days atm
-
-
Hi Hirsty,
Thanks for putting in the work to code up this plugin - it is exactly what I have been looking for!
That said, I'm not sure if I entered something incorrectly, or if there is an issue with the plugin... I did as follows:
I entered the command /notification add daily 06:45 ""The server will be automatically restarting for daily maintenance in 15 mins. Players should get to safe locations as soon as possible."
The notification text popped up immediately in the "Pop Up Notifier Window", not at the time planned/entered. I also got a list of command syntax in the chat log, along with the message "Notification Saved".
Looking around, I also noticed two other things:
1) When I entered /notification list, I got "No events scheduled..."
2) Checking the "My Events.json" in the data directory, the file was updated as follows:
{
"Events": [
{
"EventDate": "0001-01-01T00:00:00",
"EventInfo": "The server will be automatically restarting for daily maintenance in 15 mins. Players should get to safe locations as soon as possible.",
"CommandLine": "",
"broadcast": true,
"Schedule": "none"
}
]
}
It seems that the time variable, as well as the "daily" schedule variable where not written correctly. I have no idea as to why the /list command didn't show the event at all.
Hope this info is useful to you. Of course, if the problem is me/my entry - please let me know! -
Hey Jacob thanks for the feedback the command is actually:
/notification daily 23/08/2015 06:45 "The server will be automatically restarting for daily maintenance in 15 mins. Players should get to safe locations as soon as possible." (The server needs the data so it can iterate through them) -
Failed to call hook 'notification' on plugin 'TimedNotifications v0.0.3' (IndexOutOfRangeException: Array index is out of range.)
This is on the newest updates.