Skip to content

Simplexity-Development/SimplePMs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimplePMs

Releases available on Modrinth

Simple plugin for handling direct messaging that features:

  • Message and Reply
  • Toggle messages on or off
  • Block users
  • Custom formatting with Placeholder API integration
  • Social Spy
  • Ability to message users from the console, and them to message back

Commands

Command Permission What it do
/msg <player> <message> message.basic.send Send a private message to another user
/msgtoggle message.basic.toggle Enables/disables recieving private messages
/r <message> message.basic.send Replies to the last person you were talking to
/block <user> <reason> message.basic.block Prevents this user from private messaging you
/unblock <user> message.basic.block Allows this user to private message you again
/blocklist message.basic.block See the list of users you have blocked
/socialspy message.admin.social-spy Toggles whether the user can see the logged messages of other users
/spmreload message.reload Reloads the plugin configuration and messages

Permissions

Permission What it do
message.reload Allows reloading the config/locale
message.basic.* Gives all basic messaging functionality
message.basic.send Allows sending messages
message.basic.receive Allows receiving messages
message.basic.toggle Allows toggling direct messages on or off
message.basic.block Allows blocking, unblocking, and listing your blocked users
message.admin.* Gives all subsequent admin permissions
message.admin.override Allows messaging users who have their messages disabled, have you blocked, or do not have the receive permission
message.admin.social-spy Shows a log of direct messages being sent between players
message.admin.console-spy Shows a log of any direct messages being sent between the console and players (from this plugin)

PlaceholderAPI integration

You can use placeholderAPI placeholders in the messages in the config by doing: <papi:placeholder>
You will need to remove any % from the placeholder, and put in the text alone, so for the placeholder %player_displayname% you would use <papi:player_displayname> in the file here.
You will need placeholderAPI installed for those placeholders to work

Note: This only works in the config.yml

This will not work for messages in the locale.yml