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)?
@TheCoolGuy123_5_Minecraft
You will need to upload the error that shows up to pastebin or similar and link it here. I do not know how different spigot is compared to bukkit with regards to join and quit messages, so I will do what I can when you give me the error.
Join and leave messages are broken for Admins and up on my server (Full Permissions) Running SpigotMC 1.6.4
Sometimes the join/leave messages work, sometimes they don't, sometimes I can't fix it.
A simple command to toggle whether you output messages or not would be nice - join, leave, and death. /cm hide <all, join, leave, death> CustomMessages.hide.all CustomMessages.hide.join CustomMessages.hide.leave CustomMessages.hide.death
@psycowithespn
When we can expect a possibility to change Death Messages? :D
@phil14052
What do you want me to update? Nothing is broken right now, so I assume you want something added?
UPDATE!
@ThisUsernameIsMine
Oh, thanks for reporting that. Sent in for v 2.3.1. Just have to wait for bukkit dev.
When issueing /cm quit in-game, i'm getting the following error (under v2.3):
complete error: http://dev.bukkit.org/paste/7901/
Kick And Death Message would be the bomb :)
@slimedog007
It is only possible to have the characters that minecraft allows ingame. Whatever characters those are now should work just fine.
If you're still working on this, it would be interesting to see all of the ASCII characters usable in the configuration. It would be neat if you could change login and logout messages to:
→ Slimedog007
← Slimedog007
*Please add Kick message Thanks *
@CC3475
The kick message should be coming in a future update. I have just been trying to design a system so you can control any message from either a jar, or even a text file. If that fails, then expect just the kick message soon.
When will you release the kick message? thanks!
Released version 2.2, it is currently in the bukkitdev approval process. A few notes, there are some new config.yml options to look out for, including "show-messages-to-console" and "debug", and the developer api was restructured to make more sense. Read the API link at the top of the page to find out more.
Ok, I see the BukkitDev staff have approved the file. This is a link to the beta description. It lists all of the new things and how to use them. Please reply with feedback on whether the beta is working or not.
Hello, After a long period of inactivity by me, I have come back with some changes. I have finally implemented the long requested group join and quit messages (firstjoin messages are not included in this for obvious reasons). I will be putting information in the description on how it works, but what it does is it searches vault for the group to see if it exists and then pulls the message from the config.yml.
On the developer side of new things, the command system was rewritten again and it now it theoretically allows custom subcommands for the /cm command. There is also a MessageVariable class that can be used to allow for custom variables since I know I can not cover every plugin that people would want variables for. This will go into the description soon. Custom MessageVariables can also be made to override the default ones that I provide.
I have chosen to release this as a beta build for now because of all of these changes. I would like feedback from anyone that uses it (dev or otherwise) on how I can improve upon it, if there is an API that you would like to see added, etc. Again, This is a beta build being released. Expect a bug or two to pop up. (It will also take time for bukkitdev staff to approve it) I have tested it to the highest extent I could, but I can't test all unique situations.
tl;dr: Beta build to test new stuff. Feedback is appreciated.
@Tunix2
There is a source code to GitHub at the top of the page
GitHub link?
@A_Noother
Thanks for the suggestions. Ill add them to my to do list. There should be a new build out sometime this weekend when Im done testing things.