Personal Login Message (PLM)
Looking for an easy plugin which gives you the possibility to add own messages when a player joins or quits? Looking for a plugin which can be easy and advanced at the same time?
Features
- Define own messages for login and logout -> Change join message and quit message
- Use the format for players like you see them in global chat. Example: [Admin] Player is now online
- Restrict which player will cause a message with permissions
- Advanced Messages Mode:
- Define own messages for players, groups and default depending on time or chance
- Replace world names like "world234" by suitable expressions
- Welcome messages and additional public messages
- More information here
- VanishNoPacket support!
- Herochat channel support!
- Essentials nick name support!
- Compatible with nearly every version
- Regularly updates: Request a feature and I may implement it (I managed nearly every request so far)
Modes
This plugin contains two basic modes which I want to compare here:
Standard Mode
This is the easiest way to change your server's join/quit message. You just have to modify the concerning message and it's done Reload necessary since v0.5.2. Additionally you can determine who will cause a message using permissions. If you use Vault, you can use the formatted player names, too! Your message can contain the name, the group, the world where the player currently is, the number of logins, the time he was offline and the country with GeoIPTools. This mode is very easy and reliable. See information on how to use here
Advanced Messages Mode
This mode is more difficult but submits many new possibilities. You want to define special messages for players or groups? No problem. A list of features:
- Define own messages for players, groups and default depending on time or chance
- Replace world names like "world234" by suitable expressions
- Add welcome messages
- Additional messages when a certain player joins
- Define a "First Message" for new players
- Send messages to Herochat channels
- Use all the placeholders/variables from Standard Mode
Information here
VanishNoPacket
PLM is able to see whether you are vanished or not and hides the join/quit message if you're vanished. If you want that PLM imitates the join and quit messages when you use /vanish, you just have to set "usefakejoinmessage" and "usefakequitmessage" under "VanishNoPacket" to true
VanishNoPacket: usefakejoinmessage: true usefakequitmessage: true replaceVNPfakemessages: false
If you want to use "/vanish fq" or "/vanish fj" (commands by VanishNoPacket) set "replaceVNPfakemessages" to true. Note: Set usefakejoinmessage and usefakequitmessage to false if you don't want that anyone sees when you use "/vanish"
Herochat
Since PLM version 0.5 you can use channels defined in Herochat (BukkitDev Page) to print join/quit messages. This can be useful if you want that your players can decide whether they see who has joined or left the server. They just have to join the channel and they can see them.
To activate the use of channels set "Use Channels" in the config.yml to true. Under the point "Channels" you can write down the channels where you want to see the messages. If you still want to use the normal bukkit communication channel, just add "Default" to the list.
You only want messages from a special group or player in a channel? Add the point "CH:" to the AdvancedMessages configuration file as you can see it in the example here
Changelog | Older files
- v0.6 (Apr 26, 2014) Focus: 1.7.8 support
- v0.5.4 (Apr 13, 2014) Focus: VanishNoPacket fake join/quit using the VNP commands
- v0.5.3 (Feb 26, 2014) Focus: New placeholder and few improvements
- v0.5.2 (Feb 09, 2014) Focus: Performance, placeholders
- v0.5.1 (Dec 23, 2013) Focus: Random mode, preparation for the first release
- v0.5 (Oct 07, 2013) Focus: Optimization, Herochat support, new placeholders
- v0.4 (Jun 16, 2013) Focus: Optimization, VanishNoPacket, Login counter, Welcome and Public message in AMM
- v0.3.1 (May 09, 2013) Focus: %time, more than one FM
- v0.3 (May 05, 2013) Focus: Optimization, Advanced Messages Mode
- v0.2.1 (Apr 06, 2013) Added %world
- v0.2 (Apr 03, 2013) Focus: Standard Mode
See the whole changelog here
Testing | Planned | Issues
Some tested combinations:
- EssentialsChat + GroupManager
- PermissionsExChat + PEX
All other combinations supported by Vault should work, too. Please send me feedback about your experience!
Planned
- Kick message (postponed)
- Code improvement (ongoing process)
- Complete 1.7.8/1.8 support
Issues, Problems, Conflicts
- Reading wrong values if line order in messages.txt is not correct
- Other plugins can overwrite the changed message and reset it. If you want to know the output which was selected by PLM, activate 'debug' in config.yml and it will print the message in the console.
- If you want to use off with Advanced Messages Mode, never use it without '! Bukkit accepts 'off' but not off alone. When you don't use ' it will return "false". I don't know why at the moment
Privacy
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org: A unique identifier, the server's version of Java, whether the server is in offline or online mode, the plugin's version, the server's version, the OS version/name and architecture, the core count for the CPU, the number of players online, the Metrics version.
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
You can see everything I can see here
Contact
Questions? Any ideas? Contact me via [email protected] or pm.
Feel free to leave a comment! I'll try to answer it as fast as possible
Languages:
- English
- Deutsch (German)
- Un peu francais (easy French)
@Androkai
Thanks for that feedback :). Haven't really tested it on 1.8 yet, so tell me if something isn't working as expected. I'm not very active at minecraft at the moment...
Works like a charm with 1.8, good job! *thumbs up*
@TheMcGuider
Sorry for my longer abesence. Could you tell me more about your problem? Errors, hints etc? I haven't worked with my plugin for a long time so I need some time to get back into it :)
Seems to be broken with Spigot 1.8
@rtcabooservb
Don't forget about Spigot, a 1.8.x build is expected to be released pretty soon(ish).
@FantasticSkyThrow
That is correct. I don't necessarily need the login stats.
Using PLM (having it installed), users who are forced to vanish on login with VanishNoPacket but not set to silently join, their login/logout messages are not broadcasting. Not using PLM (having it removed from plugins directory), users automatically vanished on login do have login/logout broadcasts.
As for Bukkit, I am not entirely sure myself. It is a bit of a stalemate at the moment with the code being DMCA taken down and many devs merging to the replacement, Sponge.
@rtcabooservb
Nice to hear that you like it!
So you don't want all those login stats (apart from the last login time), am I right? I could implement that. Should be no big deal. But it'll take so time because I'm quite busy at the moment.
I'm sorry but I don't get what's your problem. Maybe I just don't understand your wording as a non-native speaker. What do you mean with "With PLM disabled"? Disabled in the config of PLM? Try to explain it in a different way :D
I was not on bukkit for a very long time: Can you tell me what happened with the project? I just read very sad posts on bukkit.org. This would be so crappy if this is the end. What do you know about it?
I'm sorry that it took a while until I answered and I hope that I'll understand your problem :)
I've also noticed a bug with PLM when using with VanishNoPacket. I have my default server group login vanished forcefully. They only have the permission 'vanish.joinvanished'. With PLM enabled, players who joined vanished do not have a login/logout message. With PLM disabled, players who join vanished do have a login/logout message. I'd very much like to keep my login/logout message for all users.
Any ideas what could be wrong and how long it would take for a hot-fix?
Great plugin! Glad I found it.
I was wondering, is it possible to disable the PLM.yml logging for totallogins, uniqueplayers, and specific player UUID logins?
@FantasticSkyThrow
TLDR (but i've read it all :D )
I again PM'd the author about it (in case he can do something about it) and waiting for his answer ;-)
To answer your question:
- http://dev.bukkit.org/paste/10128/
@ThisUsernameIsMine
As you can see LogIt uses the highest event priority possible (higher ones are just to read those events but I need to change it). The event priority determines the order of plugins using events. "Highest" is "more important" than "High", "Normal",... and there's no convenient way to change the join message after LogIt. If you're able to understand "null" you'll notice that the plugin deletes the join message after PLM changed it. Unfortunately I can't do anything against that. The only way to bypass this problem would be sending a detached message.
Successfully? :D
This would be very easy if LogIt just disables the join message in case of a failed login (not in every case as it is right now). I'm not sure but this could solve the whole problem concerning the join messages. Maybe it's more complicated because I can just guess the functionality of LogIt... It's worth a try.
Finally a question: Does the server output a message when a login fails?
If the developer really finds no solution and you absolutely want to use both plugins, I could try to find a solution ^^
FantasticSkyThrow,
I have a request for a plugin-workaround:
I have an online-mode server that allows offline-mode players (don't ask me how this is possible, i found a plugin for it), and because of that i'm using an auth (login) plugin.
But, there's a problem... The auth-plugin i use intercepts/overrules PLM's (join) messages (probably due to LogIt having its own message-features).
I'm hoping that you're able (and willing) to help me with a solution, so that PLM's messages will come through again.
I already notified the dev of the auth-plugin (the plugin is named LogIt), but if you could workaround this problem by yourself i would be upper-most pleased/grateful.
IF you decide/plan to help me, the final thing i have to say (or ask) is:
Only broadcast the join-messages for successful player-logins and hide messages for all failed login-attempts, including the disconnect mesages for those players (this to prevent spam).
Obviously, legitimate (premium) players must not be affected.
With kind regards,
- ThisUsernameIsMine
@FantasticSkyThrow
Here's what comes up on the server console when a player joins.
http://pastebin.com/pKY9CFbg
Let me know if you need more info.
@Undearius
Could you give me the whole error log, please. I need to know where's the problem in my plugin. I'm not able to simulate an error with this version at the moment
When using AdvancedMessage mode, the server dumps error messages at PlayerJoinEvent and PlayerQuitEvent.
PLM 0.6 and 0.5.4
Vault 1.2.31
CraftBukkit dev 1.7.9-R0.1 #3074
@Delebird
I agree. Words can't describe/define the level of this craftsmanship.
i've been looking for this plugin forever! glad i finally found it!
@Vivi_Coral
There is a quite tricky solution for your problem. I try to explain it as best I can. I hope that you already use "AdvancedMessagesMode" because it's not possible to do this using "StandardMode". Try to understand it. In case of any problems/questions: Feel free to reply.
How you can hide the join message for the sender:
Use "Public Message" in AdvancedMessagesMode. Public Message is an additional message, therefore you have to disable the normal join message (-> "JM1: 'off'" below "Default"). The advantage of "Public Message": It hides the message by default for the joining player. The whole file (AdvancedMessages.yml) could look like this:
I have one question: Why do you want to hide the quit message for the quitting player? He can't see it anyway :D
Hope this helps! (...and it works. I'm not able to test it at the moment because I'm not at home)
Hi Fantastic.
Is there any way (is it even possible?) you could add an option to hide the join and leave messages for ONLY the player themselves?
This way it saves some space on the MOTD as the player themselves don't need to see they have joined/left.
This means every other player sees they have joined/left.
@TheMcGuider
Basically, it should work. I'm not sure whether it's good to use the UUID in AdvancedMessages.yml (the ID is not very user-friendly). Maybe it's better to change the name in AdvancedMessages.yml every time after you modified your username.
As far as I know, I only have to renew PLM.yml at the moment.