SimplePMs
A simple yet powerful plugin for organizing private messages between players, offering a complete set of features for comfortable communication.
Main Features
The system includes everything needed for personal correspondence: sending messages and replying to them, the ability to temporarily disable message reception, blocking unwanted users, as well as a "Social Spy" function for administrators. The plugin supports integration with PlaceholderAPI for customizing message formats and allows exchanging messages even from the server console.
Plugin Commands
| Command | Permission | Purpose |
|---|---|---|
/msg <player> <message> |
message.basic.send |
Sending a private message to another player |
/msgtoggle |
message.basic.toggle |
Enabling/disabling private message reception |
/r <message> |
message.basic.send |
Replying to the last conversation partner |
/block <user> <reason> |
message.basic.block |
Blocking a user from sending you messages |
/unblock <user> |
message.basic.block |
Unblocking a user |
/blocklist |
message.basic.block |
Viewing the list of blocked users |
/socialspy |
message.admin.social-spy |
Enabling/disabling viewing of other players' private messages |
/spmreload |
message.reload |
Reloading plugin configuration and localization |
Permission System
| Permission | Default | Functionality |
|---|---|---|
message.reload |
OP | Reloading configuration and localization |
message.basic. |
true |
All basic messaging functions |
message.basic.send |
true |
Sending messages |
message.basic.receive |
true |
Receiving messages |
message.basic.toggle |
true |
Enabling/disabling private messages |
message.basic.block |
true |
Blocking, unblocking, and viewing blocked users |
message.admin. |
OP | All administrative permissions |
message.admin.override |
OP | Bypassing restrictions when sending messages |
message.admin.social-spy |
OP | Viewing private messages between players |
message.admin.console-spy |
OP | Viewing messages between console and players |
message.bypass.social-spy |
OP | Protection against viewing your messages through social spy |
message.bypass.command-spy |
OP | Hiding commands from social spy |
PlaceholderAPI Integration
For customizing message formats in the configuration file, you can use PlaceholderAPI placeholders. For this, use the syntax: <papi:placeholder>
For example, instead of the standard %player_displayname%, use <papi:player_displayname> in the configuration file. It's important to remove the % symbols and specify only the placeholder text.
Note: This feature works only in the
config.ymlfile and is not supported in the localization filelocale.yml. For placeholders to work, the PlaceholderAPI plugin must be installed.