Перейти к содержимому
Mineforgian

SimplePMs

Simple plugin that allows for /msg, /r, and social spy

Загрузки
3K
Подписчики
9
Обновлён
16 марта 2026 г.
Лицензия
MIT

Опубликован 13 января 2023 г.

SimplePMs

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 Default What it do
message.reload OP Allows reloading the config/locale
message.basic.* true Gives all basic messaging functionality
message.basic.send true Allows sending messages
message.basic.receive true Allows receiving messages
message.basic.toggle true Allows toggling direct messages on or off
message.basic.block true Allows blocking, unblocking, and listing your blocked users
message.admin.* OP Gives all subsequent admin permissions
message.admin.override OP Allows messaging users who have their messages disabled, have you blocked, or do not have the receive permission
message.admin.social-spy OP Shows a log of direct messages being sent between players
message.admin.console-spy OP Shows a log of any direct messages being sent between the console and players (from this plugin)
message.bypass.social-spy OP Prevents messages you send or messages being sent to you from being shown to others with social spy
message.bypass.command-spy OP Prevents commands you send from being shown to social spy

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

Ченджлог

2.5.0Релиз1.21.9, 1.21.10, 1.21.11 · 16 марта 2026 г.

Add Webhook Support (#16)

  • Add Webhook Support
  • Make HTTP Request Async
  • Fix error message grammar
2.4.3Релиз1.21.9, 1.21.10, 1.21.11 · 20 ноября 2025 г.

Fixes an issue where the autocomplete on /unblock would sometimes spam console with stacktraces

2.4.2Релиз1.21.6, 1.21.7, 1.21.8 · 21 июля 2025 г.
  • Fixes issue where older versions of the plugin were not properly upgrading the database
  • Fixes #6
  • Tested on 1.21.8
  • No other changes
2.4.1Релиз1.21.3, 1.21.4, 1.21.5 · 13 июня 2025 г.
  • Fix for sql initialization if you didn't have the config already
  • Fix for the plugin just dying because of not being in a preview java version
2.4.0Релиз1.21.3, 1.21.4, 1.21.5 · 6 июня 2025 г.

2.4.0

Very few changes for admins

  • sounds are now declared as their namespaced keys instead of the enum value minecraft:block.note_block.xylophone instead of BLOCK_NOTE_BLOCK_XYLOPHONE for example.
  • Plugin is now a 'paper plugin' - though it has been based on paper for a long time, it should show up in the 'paper plugins' section now
  • Player's names should properly autocomplete in /msg and /block commands regardless of if the paper setting for autocompleting names on a null return is enabled or not
  • Commands now use brigadier, which means you can do this now, if you want, for some reason console command 'execute as @e run msg RhythmicSystem test' followed by around a hundred lines of the server sending RhythmicSystem the word test
  • Save handling is now done async so there shouldn't be any issues with SQL calls freezing the server, nobody reported issues with that but now it shouldn't happen regardless
2.3.1Релиз1.21.3, 1.21.4, 1.21.5 · 18 мая 2025 г.

Changed

Changed alias list to remove reundant aliases:

  • /msg aliases are now /tell and /w
  • /reply aliases are now /r
  • /socialspy aliases are now /ss

If you need to add, remove, or change the commands / aliases shown here, please see PaperMC: Bukkit Commands Configuration or GitHub - Zefferis: commands.yml for an example.

2.3.0Релиз1.21.3, 1.21.4, 1.21.5 · 10 марта 2025 г.

2.3.0

Added:

  • Sounds config section
  • Configurable sounds for:
    • Receiving a message
    • Sending a message
    • Receiving a social spy notification

Fixed

  • /block <user> <reason> should now work as expected
  • The permission message.bypass.social-spy should now work as expected
  • /msgtoggle should now work as expected
  • Issues fixed:
    • Attempting to /block someone while you have an empty block list causes error spam in console
    • Using /block does not properly update the block list, it updates on restart only
    • The permission for bypassing Social Spy was not consistently checked.
    • Message toggle was pointing to an old method that it shouldn't have
    • Message toggle straight up didn't work because I literally just had 'if it isn't true, set it not true' so
2.2.0Релиз1.21.2, 1.21.3, 1.21.4 · 2 января 2025 г.

Adjusts default permissions, please read if you have specific permissions setup

Basic functionality is now enabled by default, these permissions are now default as true:

  • message.basic.send
  • message.basic.receive
  • message.basic.toggle
  • message.basic.block

If you have a setup where you have only specific groups with these permissions, you will need to adjust things so that now the groups you don't want having those permissions have them set to false instead. The other permissions are unchanged.

Комментарии

Загружаем…