Skip to content

Player Private Messages (/pm)

In the Chats section of the website, you can view players' private messages (sent via /pm and /r commands). To enable this feature, you must integrate your chat plugin with RustApp.

An image

Recommendation

We strongly recommend enabling this integration! It significantly simplifies tracking players who violate limits (1+/2+/3+), detecting cheaters, and identifying those selling resources for real money outside the official store.

Supported Plugins

  • IQChat - If purchased officially, this plugin is automatically integrated and supports displaying private messages between players.
  • ChatPlus - If purchased officially, this plugin is automatically integrated and supports displaying private messages between players.

For Chat Plugin Developers

If you develop a chat plugin, you can follow the instructions below to add RustApp support. Once implemented, we’ll include your plugin in this list.

Example

This documentation is intended for technically proficient individuals. If you’re not a developer, please share this link with one, and they can add RustApp support to your chat plugin.

To display private messages in the chat, your plugin must call our API when a /pm message is sent:

csharp
void RA_DirectMessageHandler(string senderId, string targetId, string message);

// Example usage:
plugins.Find("RustApp")?.Call("RA_DirectMessageHandler", senderId, targetId, message);
  • Parameters:
    • senderId: The Steam ID of the message sender.
    • targetId: The Steam ID of the message recipient.
    • message: The content of the private message.

Reminder

Ensure this API call is also implemented for the /r command to capture reply messages.