ChatAlert
Description
ChatAlert v1.5 now supports Essentials nickname tagging. Please make a copy of your config.yml and then delete the original one and let it regenerate with new options
ChatAlert v1.4.1 now supports Craftbukkit1.7.9. Please note that the player you tag will be matched with the player who has the same display name. ChatAlert does not support UUID tagging.
ChatAlert v1.4 now supports default chatcolor. This new feature is optional but will require Vault . See advanced section for more info
NOTE: When tagging players , The default chat color of the message will be ignored. This this is due to the chat color coming from other plugins. Hence the alternative config for the Message Color when tagging people Ever been on a large server and chat is being spammed 24/7 ?, Are you tired of trying to look for a message someone tried to type to you ? Ever wished there was some sort of plugin which informed you if someone mentioned you name. Well now introducing the new light weight chat enhancement plugin the ChatAlert.
ChatAlert is a Chat enhancement plugin which allows you to tag/highlights the other players name in chat when you have the permission node. When a player is tagged, the plugin will change the player name to gold by default if the player is online. It will also alert the player with a Sound(Current default sound is the facebook notification sound). It also has a 10 second spam prevention so you can only tag every 10 seconds. ChatAlert also has tab-completion which means you can type:
Example: @jack<press tab> to get @jacklin213
This plugin has been tested and works with other chat plugins like , Essentials Chat, ChatManager. It also has multiple world support. Though on someservers it maybe cause errors due to a conflict , in that case http://pastebin.com the error and sumbit a ticket thanks.
How to Install and use ?
Because ChatAlert is such a lightweight plugin all you have to do is a simple drag and drop.
The following is optional:
- Configure default chat color when tagging
- Configure tagging color
- Toggle update checking
- Toggle auto updating
- Change the cooldown time
- Enable Vault support and allow normal chatcolor to be used (See advanced)
- Enable Essentials Nickname tagging (See advanced)
Steps:
- Download Chat Alert from here
- Save it into your plugins folder
- Start your server up
- It is ready to be used
To use ChatAlert in game, Either OP yourself (If you dont have a permissions plugin) or simply give players or groups the permission node - chatalert.alert. Then you can tag people in chat by typing '@' and then the players name
For example:
"Welcome to the server ~ @jacklin213"
Advanced
In ChatAlert v1.5 you are now able to tag essentials usernames as well as normal usernames. To use this feature you need to set:
- UseEssentialsNickTag: true (Requires Essentials)
In ChatAlert v1.4 there was a full code rework to allow normal chatcolors to work. To use this new feature you need to set:
- UseVault: true (Requires Vault)
- UseSuffix: true (This gets the players suffix as there chatcolor)
When UseSuffix is true it will ignore MsgColor and proceed to format the message using the Suffix. If the players default chat is white You must make sure the suffix is &f or it will not work
Note: That means if the suffix is anything but a color code your chat will look very messy. Currently this is the only way to do it. If you do know another way please feel free to PM me or make a ticket or comment about it.
Commands
Command | Description | PermissionNode |
---|---|---|
/chatalert | Reloads the config and displays the chat color and the tag color | chatalert.reload |
Permissions
Permission Node | Description | Default |
---|---|---|
- chatalert.alert | Allows players to use the tagging function | OP |
- chatalert.reload | Allows player to reload the config | OP |
- chatalert.nocooldown | Ignores tagging cooldown | OP |
To-Do List:
Finish version 1.0 of pluginDone(Version 1.0)Add configurationDone(Version 1.2)Add configuration for Plugin Chat Prefix, CooldownDone(Version 1.2)Tagging more than one playerDone(Version 1.2)Tab Completion supportDone(Version 1.4)Fix chat formattingDone(Version 1.4)Essentials nickname supportDone(Version 1.4)- Disabling Vanilla username tagging
- Add configuration for Sound
How can i help?
If you would like to help with ChatAlert feel free to give me a PM, if you find bugs please submit a ticket. Any feedback is encouraged so leave comments :D
Donations are also very important <3
Dont forget to tell your friends about this plugin
Source Code
The source code may be used but only for learning purposes
SOURCE
@jacklin213
Well I taught on the Minecraft username but you can also add support for Essentials nicknames..
@leongrdic
by nick do you mean essentials nick names?
Could you make that you can type only a part of the player name so it recodnizes the whole nick and corrects it? Thanks!
Have you released the source code yet?
@ChengZi368
我让他变成 optional 选择
@Liger_XT5
I will add a configuration for the second release so you can choose then
I really like this, though any plans to make the line of text for user be all gold (or choice of color), and only he sees it in that color?
Example would be:
@Zain has the issue been fixed?
He'd see it in gold, everyone else would see it in normal chat format.
那个权限应该给所有人吧:P