CustomMessages
CustomMessages - Change Join and Leave Messages:
Version: v2.3.1
CustomMessages gives you and your users the ability to change their join and quit messages to whatever you want. This plugin can also change the global join and quit messages of everyone that isn't using the commands. It can also be expanded to include message variables from other plugins, creating a unified experience. Ill try my best to put any suggestions in. Vault is required to have /prefix, /suffix, /group message variables, and group specific messages.
Commands:
- /cm join [enable|disable|reset|message] - Modifies your join message.
- /cm join [player|group] [enable|disable|reset|message] - Modifies a group's or player's join message.
- /cm quit [enable|disable|reset|message] - Modifies your quit message.
- /cm quit [player|group] [enable|disable|reset|message] - Modifies a group's or player's quit message.
- /cm kick [enable|disable|reset|message] - Modifies the global quit message
- /cm globaljoin [enable|disable|reset|message] - Modifies global join message.
- /cm globalquit [enable|disable|reset|message] - Modifies global quit message.
- /cm firstjoin [enable|disable|reset|message] - Modifies the server's first join message.
- /cm colors - Shows all of the colors capable with the color codes. Use them iChat style in message (&colorcode).
- /cm variables - Shows all of the variables usable in messages.
- /cm reload - Reloads configuration from file
Current Message Variables
- /name - The name of the player
- /nname - The nickname of the player
- /count - The number of unique players on your server
- /online - The number of players currently online
- /maxonline - The maximum number of players allowed online
- /prefix - The player's prefix (Vault)
- /suffix - The player's suffix (Vault)
- /group - The player's primary group (Vault)
- /world - The current world the player is in
Permission Nodes:
- CustomMessages.* - All other nodes combined
- CustomMessages.join - Allows access to /cm join
- CustomMessages.join.other - Allows access to /cm join [player]
- CustomMessages.join.group - Allows access to /cm join [group]
- CustomMessages.quit - Allows access to /cm quit
- CustomMessages.quit.other - Allows access to /cm quit [player]
- CustomMessages.quit.group - Allows access to /cm quit [group]
- CustomMessages.kick - Allows access to /cm kick
- CustomMessages.globaljoin - Allows access to /cm globaljoin
- CustomMessages.globalquit - Allows access to /cm globalquit
- CustomMessages.firstjoin - Allows access to /cm firstjoin
- CustomMessages.noprefix - Removes the configurable prefix from your messages
- CustomMessages.reload - Allows access to /cm reload
/cm colors and /cm variables are available to everyone without a node.
Todo:
- Any other suggestions I get
- Death messages
- Server messages on connect (whitelist, banned, etc)
- Kick message
- Localization (if requested)?
What would be very much appreciated is if there was a feature to set the join/quit messages for a specific group. Ex: say for default, I want &c/name &7has joined the game, but for say, admin, I want &2/name &7has joined the game.
Yes, this is possible, but only on an individual or global basis. Just a suggestion that would be awesome to be implemented Another cool suggestion would be instead of unique players, it would be online players. So if someone joins and takes the 31st slot, it would say for example (31) A_Noother has joined the game
@Faffling94
What does the globalquit look like in your configuration? Minecraft might have a maximum length of the message built in. Ill look into this.
globalquit doesn't work correctly. It cuts of the rest or name doesn't work.
@josh_Cropper
You just set it up in this format
I should probably add an example into the config though. Thanks for pointing that out.
How do you set these with the cfg file?
@ritipinheiro
Thank you :D Any way you can think of to make it better?
I am currently working on making the messages disableable. There should also be the first join messages included in the next update if all goes according to plan.
Nice Plugin :DDD
@WACOMalt
Solved over irc. His problem was ColoredTexts was overriding the messages set by cm.
I tried this on my testbed and I get no messages when a player joins or leaves. Any player, vanished or not. Same on my live server. Not sure if something is conflicting?
However the commands seem to work fine, just the messages never get used.
Anyone with comments, problems, etc with the new command system? I formed it to try to be intuitive as possible.
@jtamasu
There really is no way to do afk messages unless i make my own /afk command, which is not the central goal of the plugin.
@FluRoShiFTz
Groups may be possible, Ill look into possibly adding vault in to do this.
This is a great plugin, I reccomend it. Also, could you possibly add custom afk messages for when you go afk? Thanks.
Abandonded?
Would be nice if we could add /group so we know what group they are
Is it possible to just turn off the join/leave message completly?
on 1.2.5 working great. :)
Can you add a only join for that group message?
@Icee2199
If you go into the config file you can just make sure it looks like this for the name
'&1 /name
the name comes after the slash no brackets.
Is there a way to set it so it says the players name without you having to put there name i individuality like {player} and then the player username would show there?
How do I change the login message only for OPs? Or change the login messages for groups?