90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

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.

Fixes

  • Fixes the issue where people's social spy would be reset, still. (Really, I hope it's actually fixed now)

Additions

  • Adds the ability to spy on commands, list of commands to spy on is configured in config.yml
    • Disabled by default
    • Added to allow for /minecraft:msg and similar commands to be monitored without disabling them completely.
  • Adds bypass permission for both socialspy and commandspy, which will prevent your messages and any messages sent to you from being spied on
    • (Note, this does not mean any messages sent through something like /minecraft:msg to you will not be shown, as those messages only are checked by the sender, not reciever)
    • message.bypass.social-spy
    • message.bypass.command-spy

Complete rewrite

  • Changes storage to SQLite or MySQL - which should fix #2 's issue of social spy settings not persisting
  • There is now an option in the config named console-has-social-spy: true which allows console to have the same formatted readout that people with socialspy do
  • Options for messaging hidden-players (vanished) and console, as well as config options for what to use as the name for console.
  • Formatting for how names appear in direct messages and social spy are in the config, other messages can be updated in the Locale
  • The server can now message itself, if you wanted to do that for some reason
  • Adds 4 commands
    • /block <user> [reason]
    • /unblock <user>
    • /blocklist
    • /msgtoggle
  • Changes permissions
Permission What it do
message.reload Allows reloading the config/locale
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.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)
  • Fixes the mappings so that paper will not remap it.
  • No other changes
  • Switch internal stuff over to 'simplexity' instead of adhdmc
  • add 1.18.2 support

Fixes an issue where the Set spyingPlayers would just hold players there until the server stopped

The plugin now removes players from the set when they quit the game.

Also fixed PrivateMessageEvent so it actually works now, so other plugins can listen to this event/cancel it - there is no import for this plugin as of right now, it'd have to be manually added to your resources.

SimplePMs Javadocs

SimplePMS v1.0

on Apr 26, 2023
Download

New Features:

  • Placeholder API support
    • You can use placeholderAPI placeholders in the messages 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

Fixed issues:

  • #1
  • Text after the reply command should no longer constantly tab-complete names

Breaking Changes:

  • Language options are now controlled in the locale.yml file

    • The keys for the locale options are not the same as previously, so you will need to customize the message under the new key
    • The previous default placeholders for sender/recipient have been altered in the new locale.yml in order to allow for all messages to be parsed through the same parser methods, rather than constructing individual parser methods for each method
  • Permissions have changed slightly

    • spm.send has been changed to spm.message.send, and spm.message.receive has been added
    • spm.socialspy is now required to see social spy messages
    • spm.socialspy.toggle is now a child of spm.socialspy
    • spm.consolespy has been added, which allows someone to see the messages that the server sends (using /msg) to a player, or that a player sends to the server
    • spm.recipient.override has been added, which allows someone to message a player who has spm.message.receive set to false

Full Changelog: https://github.com/ADHDMC/SimplePMs/commits/v1.0

Initial beta release


Project members

Simplexity

Simplexity

Organization

Details

Licensed MIT
Published 2 years ago
Updated 5 days ago