Random Messenger

About

A Minecraft Fabric mod for version 26.2 that adds a "/msg random" command. When executed, the mod selects a random online player who does not have the "only accepts messages from friends or followed players" privacy setting enabled. The mod then opens a private message channel between the sender and that random player, allowing them to chat directly. The command filters out players with restricted messaging settings and ensures the random target is not the sender themselves. The mod integrates with the vanilla messaging system, displaying the message in the standard private message format with the sender's and recipient's names. It provides a fun and spontaneous way to connect with other players on the server, encouraging social interaction and discovery of new friends. The mod is lightweight, client-side compatible, and works seamlessly with existing chat features.