I host a server which would be really handy if I can get the server to send messages periodically using the “say” command.
Does anyone know of a plugin or a way to get the server to send messages periodically to the chat for the players to see?
Yes, this is possible by scripting a Lua plugin for the server.
Here’s the example Lua:
local announcementInterval = 600000 --in milliseconds
local announcementMessage = "Your message here!" --string that will appear in chat
--configure above this line
Save that as a .lua file, in a plugin folder in the server’s
Start your server and it should send a message to all clients once every 10 minutes or however often you configure it.
Thank you ! I will give this a go! Appreciate the detailed reply!