Skip to content

open.mp: Automated Server Messages – Keep Your Players Up to Date on News, Social Links, and More!

Learn how to set up recurring messages on your open.mp server on a VPS using a filterscript

12 November 20262 min read34 Views0 helpful

Don't have your own server yet? Host your Open.mp VPS with ZAP-Hosting from €7.29 / month.Or try 3 days from €1.31

Introduction

Automated server messages are an easy way to send important information directly to your players in-game: server rules, event announcements, tips, or reminders about your Discord server, at regular intervals and without an admin needing to be online.

There’s no built-in feature for this in the dashboard on your VPS. You can set up recurring messages using a game plugin or mod, or use Windows Task Scheduler to send a command to the server at regular intervals. Both options require the game to support a suitable command or scripting interface. This guide explains how it works with open.mp.

How automated messages work in open.mp

With open.mp, the most reliable way to send recurring messages is directly through the server: use a small filterscript that sends a message to all players at regular intervals using a timer. This works whether or not an admin is online and doesn’t require any additional programs on your VPS.

Alternatively, you can use Windows Task Scheduler to run an RCON program at regular intervals with the say [text] command. This takes more work and depends on whether your RCON program can send commands from the command line.

Create an automated message with a filterscript

  1. Connect to your VPS using Remote Desktop.
  2. In the C:\ZapX-GameServers\openmp\server\filterscripts\ folder, create a file named ankuendigungen.pwn with the following contents:
Code
#include <open.mp>

forward Ankuendigung();

public OnFilterScriptInit()
{
    SetTimer("Ankuendigung", 600000, true);
    return 1;
}

public Ankuendigung()
{
    SendClientMessageToAll(0xFFFFFFFF, "Besuche auch unseren Discord!");
    return 1;
}
  1. Compile the script into ankuendigungen.amx using the Pawn compiler included in the open.mp download.
  2. Stop the server using open.mp (openmp) - Stop and add the filterscript to pawn.side_scripts in config.json, for example: "side_scripts": ["filterscripts/ankuendigungen"].
  3. Start the server using open.mp (openmp) - Start.

The value 600000 is the interval in milliseconds, which means every 10 minutes. Edit the message in SendClientMessageToAll to change its text.

Adjust message intervals

Common uses include:

  • Displaying server rules every few minutes
  • Announcing upcoming events
  • Sending gameplay tips to new players
  • Reminding players about Discord or website links

To change the interval or message, edit the script, compile it again, and restart the server. To rotate through multiple messages, you can add a list of messages to the script and display them one after another.

Important notes

With /rcon say [text], the message always appears as "Admin: [text]". A filterscript lets you choose the message and its color. Learn more about commands in open.mp: Server Commands, and about config.json in open.mp: Server Configuration. Before making changes, create a backup using the open.mp (openmp) - Backup shortcut; filterscripts are included in the backup.

Conclusion

With a small filterscript, your announcements run automatically on your open.mp server. If you have questions or need help, our support team is here for you every day! 🙂

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

The easiest way is to use a filterscript that calls SendClientMessageToAll at regular intervals using SetTimer. Compile it into a .amx file and add it to pawn.side_scripts in config.json.
No. Set up recurring messages on your VPS using an in-game script or Windows Task Scheduler with an RCON command.
Adjust the value in milliseconds in SetTimer (600000 = 10 minutes), recompile the script, and restart the server.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.