ZMessages
Super simple private messaging plugin!
Summary
This is an extremely simple (yet modestly powerful) private messaging plugin. It offers the following features:
- Command aliases (msg, tell, pm, write, w)
- reply command
- socialspy
- Works out of the box (no permissions plugin required)
- Send private messages to the console and vice versa!
Commands
Most of the commands were listed in the summary.
/msg [PlayerName] [Message] - Sends a private message to a player. The playername can also be 'console','terminal' or 'server' to send a message to the console.
/reply [Message] - Sends a private message to the player who last sent you a message.
/socialspy - Toggles socialspy mode. When this mode is enabled, the socialspy will see all exchanged private messages.
/zmessages - This reloads the config file. You can do '/zmessages reload' if it makes you feel better.
Permissions
The philosophy of this plugin is that it should just simply work when it's installed. No need to install a whole permissions plugin just to get this plugin to work right. This is great for small servers that don't normally have a need for a permissions plugin.
The nodes are the following:
ZMessages.msg - Allows use of the /msg command (default: true)
ZMessages.reply - Allows use of the /reply command (default: true)
ZMessages.socialspy - Allows use of the /socialspy command (default: ops only)
ZMessages.reload - Allows use of the /zmessages command (default: ops only)
ZMessages.* - Grants all of the above permissions
Configuration
Most of the configuration is for customizing the messages. Every message is read from this file, with an exception of some errors that are outputted to the console.
Only the messages under the format category are formatted, with an exception of notFound.general. The formatting options are the following:
%sender% - the sender of the private message
%reciever% - the receiver of the private message
%message% - the private message itself
The plugin will automatically fill in any config options you accidentally leave out. However, just in case you need it, the default config can be found here.
One of the config options of interest is the Remove_social_spy_on_logout. If this is set to true, then when a player logs out, his socialspy status will be turned off. This might have a negligible performance gain on large servers that stay up for long periods of time.
The other option of interest is the Console_is_socialspy. By default this is true, and player messages are logged to the console. However, this might seem a bit redundant, as the console already logs player commands. If the message logging and command logging seems redundant, you can shut off the message logging here.
Source
Source can be found on github!
Video
Thanks SamVenom for making a video!
-
View User Profile
-
Send Message
Posted Mar 18, 2015@Islid
You might have some luck using bukkit's built in tab complete. Type 'coolguy' and hit tab, and if coolguy123 is online, it should fill the rest of his name in for you.
-
View User Profile
-
Send Message
Posted Mar 10, 2015Perfect replacement for a different plugin we were using. :)
One quick question - is it possible to include the ability for the plugin to search the list of names and match partial name inputs? For example, if someone named "coolguy123" was on, can you make it so that I can type something like this:
/msg coolguy Hey, what's up?
...and have it go to coolguy123?
Other than that minor thing, it's perfect. We'll probably continue to use it regardless of if you include the feature or not, it's just a small request. :) Thanks!
-
View User Profile
-
Send Message
Posted Mar 6, 2015@MrZoraman
Hi there this plugin is perfect for me except for 1 thing... is there a way you can add an "autoreply" so that if a certain player gets a msg, tell, pm, write, w from any player a default response is created. With the ability to add default responses per person with that permission node.
-
View User Profile
-
Send Message
Posted Aug 7, 2014Good
-
View User Profile
-
Send Message
Posted Oct 4, 2013Make it so you can toggle message invisibility. So when you go into vanish mode and people try to to message you it says player cannot be found.
-
View User Profile
-
Send Message
Posted Sep 4, 2013@MrZoraman: It appears that /socialspy is not working at all anymore. It says toggled on and off, however no chats appear.
-
View User Profile
-
Send Message
Posted Aug 31, 2013@linusgjersvold
Feature added for ZMessages 1.3.4
-
View User Profile
-
Send Message
Posted Jul 12, 2013When I have socialspy enabled and log out it gets reset to disabled. I have to do /socialspy everytime I log in to the server. Can you please do so it stays enabled when I log off? It would be perfect! Love the plugin!
-
View User Profile
-
Send Message
Posted Sep 13, 2012@ace1177
So you are asking that /tell does the same as /msg? Thats how I'm interpreting your question anyways. As far as the plugin works it should already have that capability, unless something is conflicting with the /tell command...
-
View User Profile
-
Send Message
Posted Sep 9, 2012@MrZoraman
Hopefully you keep updating it. I don't care for a total chat plugin I just want the private message aspect of it and that is harder to find then it seems. Would it be possible to make /tell show the message you sent like you did with /msg ?
-
View User Profile
-
Send Message
Posted Jul 28, 2012Wow! Thanks! I'm glad to see that my plugins are being used and enjoyed. :)
-
View User Profile
-
Send Message
Posted Jul 27, 2012If ya want you can Put it near the top =)
-
View User Profile
-
Send Message
Posted Jul 27, 2012Here's A video I made of the Mod Enjoy! http://youtu.be/6URHpkNwBVE
-
View User Profile
-
Send Message
Posted Jul 25, 2012Wow great plugin! :)