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)
@ThisUsernameIsMine
It collects all messages which are possible for this joining player and chooses one randomly. That means it won't select a message that is not related to this player.
I hope that I could answer your question.
Hello again FantasticSkyThrow!
I'm the guy who requested the random (player/group/default) messages thingie :-)
I'm not quite sure how this random mode works. I'm just hoping it won't pick a message from a different player rank (i.e. offender/prisoner) when an Moderator/Admin/Op or owner enters the server =P
Thanks a lot for keeping this up-to-date! :)
- ThisUserNameIsMine
@EpicTimoZz
You can do this with AdvancedMessagesMode. There's nothing with permissions. I don't use commands because I think it's not necessary. It contains a bigger potential for mistakes and you won't change the message every day.
If you want to make a suggestion, describe it more detailed after you cought up on the whole plugin. Feel free to answer in case of any questions
@Kanegae
You can already define the message of a certain group or player with Advanced Messages Mode. There's no difference whether you give them permissions or use the group in Advanced Messages Mode. Your example would look like that
Just read this page
If this was not what you intended, explain it in another way
Please add a feature that...
"for players with <> permission node, they will have <> login message and <> quit message."
config example: http://pastebin.com/znP9XmG0
(all configurable, please!) That's what I'd need, and I think many others. Thanks for reading!
@FantasticSkyThrow
Thanks! Looking forward to it! :) +1 rep :D
@ThisUsernameIsMine
I'll work on this as soon as I have enough time :)
The option itself is not difficult but to implement it in a appropriate way could be interesting. If I'm not able to implement it in the public version, I'll make a special version for you.
I will contact you, when I've got something new.
If you allow me i have a request for your plugin:
I have many random messages that are under the section Default, i also have some more personal messages that are mostly under Group and a couple under Player.
The problem of prioritizing and thus seperating these messages, is that you have to copy all generic messages to all groups/players, if you also want them to have non-personal random-messages.
Since we're having 8 different ranks/groups on our server, you can guess how tedious this can be(come) when the list of messages grows.
My solution for this would be to create an extra stragegy or mode (lets call it 'random mode') where it randomly picks between a player-message (if the player has one), a group-message (if the player's group is mentioned), a default message (if available) or a standard message.
I'll give you an example:
Lets say that a player named FantasticSkyThrow joins the server and has an Admin rank.
Also lets say that we've defined a player-message for him, a group-message and a default-message exists.
What it would do, is randomly choose one of the following options/possibilities:
- one of the player-messages for player FantasticSkyThrow
- one of the group-messages under: Admin
- one of the default messages
I hope that you'll consider adding this to your already amazing plugin. It would save me and owners of big/many rank servers lots of precious time! ;)
@FantasticSkyThrow
Thanks for answering all those questions i had! :)
So there's really no way/option to donate something, somehow? (come on! =P)
Thanks again for creating this wonderful mod!
(hopefully it will be a long-/ever-lasting mod for the Minecraft community ;) )
@ThisUsernameIsMine
Thank you :) A simple compliment is enough. I don't need any donations. I think the bukkit team is happy about any help.
Yes it would be possible but I'm not sure whether this is better or just more complicated. I could imagine that nearly nobody uses more than one join/quit message. I can implement it as another option. If I change it generally, it will make problems with the existing configurations.
Interesting observation. I had the same thought after I tested it for some times but every message appeared. I'm using a method given by Java (java.util.Random). To prove that this works I let it generate and count 10,000 random numbers. The result:
No, it doesn't.
I use Random which is the main class for random things. I don't know other ways to create random figures with Java (without additional libraries) and I see no reason why you shouldn't use that.
I hope that my answers are helpful. Feel free to reply in case of any questions. I'm sorry about any mistakes. I do what I'm able to with my English ;)
Oh My God, what an amazing plugin this is! <3 <3 <3 +4 rep :) (where can i donate?)
I'm currently using "Join Messages" by WinneonSword, but this one looks (much) more promising ;)
I only have one remark:
Wasn't it possible to leave the JM, QM etc. out and simply add them under their own section?
e.g. (please don't mind the formatting =P):
Default:
JoinMessages:
- '%chatplayername &ejoined the game'
- '%chatplayername &ewants to play'
LeaveMessages:
- '%chatplayername &eleft the game'
- '%playername &ehas left'
and randomly pick a message from the appropriate category?
JM1, JM2, QM1, QM2 etc. seems kind of unnecessary to me, but i would love to hear your thoughts on this ;)
NOTE: i've added multiple join- and leave-messages (only 3 in total) under Default: but the plugin often chooses the same/last join-/leave from the list.
Does the order of JM/QM matters?:
JM1 vs JM1
JM2 vs QM1
JM3 vs JM2
QM1 vs QM2
QM2 vs JM3
QM3 vs QM3
Also: How many random number functions/methods are there with Java, and which one do you use?
Thanks ;)
- ThisUsernameIsMine
@Marium0505
Ok I could give you a test version. This version includes Herochat support, too. But I haven't tested it yet. If you're interested, give me your email address
@FantasticSkyThrow
I would highly appreciate if you could add %suffix and %prefix as soon as possible.
Regarding the other suggestion, forget it, I found an easier way. ;) But thank you for trying to figure out what I meant. :P
@Marium0505
I'm currently abroad and back after the next weekend.
No problem but I thought that this would make it more difficult.
You can disable the first join message using "FM1: off". But I don't get the sense. Maybe it's easier if you explain me your special case. You can give me your Skype name (for chatting) if you want to talk more detailed. But next week at the earliest.
Can you add %prefix and %suffix?
I understand if this request is too hard to implement, but I would like to prevent the (first) join/quit announcements for a certain group. But, I want the announcement when the player gets promoted to the above group, is this somehow possible to do?
I understand if its hard to understand, its just as hard for me to explain. :P
@FantasticSkyThrow
Ok i made a ticket.
@FlakDzn
Which version are you using? I implemented that in version 0.4. If it doesn't work for you, write a ticket
Could you make it work with vanishnopacket's silent join and leave? I need it to not show me joining and leaving my server.
That would be quite easy :) But the last release is only one day ago. I could send you a personal one if you're interested. So please tell me how important it is for you.