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.
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
- You can use placeholderAPI placeholders in the messages by doing:
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 tospm.message.send
, andspm.message.receive
has been addedspm.socialspy
is now required to see social spy messagesspm.socialspy.toggle
is now a child ofspm.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 serverspm.recipient.override
has been added, which allows someone to message a player who hasspm.message.receive
set to false
Full Changelog: https://github.com/ADHDMC/SimplePMs/commits/v1.0