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
http://pastebin.com/2RcWmgWC
@Yoshifan95 Ah yeh was supposed to release a new build for that, but I forgot to upload it. Thanks for pointing that out :)
Errors on any chat message, using Spigot 1.10 - appears to be a problem with the Spigot's getOnlinePlayers method changing itself, nothing caused by another plugin.
@Sikatsuu
Do you have any error logs regarding this issue?
Doesn't work, using DeluxeChat and Spigot 1.8.7
I was thinking of making this.. But it's already been made I guess
@Done84
What version of chatalert, craftbukkit and essentials are you running
I cant get it to work. Console error: http://pastebin.com/8qvS9HqN Im using herochat, could that be the cause?
@Karim_NexusNode
can you post your error to http://pastebin.com and paste the link here
I'm getting an Async something problem with this plugin, it used to work fine for me, what happened!
@z65703071
Ah that would be because you are running Spigot 1.7.2 update to Spigot 1.7.9 and the error should go away
@jacklin213
http://pastebin.com/L874GC68
@z65703071
can you post the error to http://pastebin.com and paste the link here
@jacklin213
When I using Essentials with this plugin. It's okay, nothing else problem but if I using hChat. Whenever I say something so many many error message would be spawned.
@z65703071
What do u mean by add support for hChat, can you clarify what you want me to support thanks :D
Could you add support for hChat?
http://dev.bukkit.org/bukkit-plugins/hchat/
It's a great plugin.
@Fluby26
Changes in ChatAlert v1.4:
1) Added Tab support
2) Removed ~
3) Removed underline
4) Added option in config to use Vault to get chatcolor
@jacklin213
3. When you do @name on my server it doesn't just show color it underlines it and 4. Lets say my chat color is red. Whenever I speak its red automatiucally if I do @name hi! My chat is no longer red
@Fluby26
What do you mean by point 3 and 4
@jackline213
1. You should add tab support 2. You should remove the ~ before the @name 3. You should remove the underline just make it 1 color 4. If your chat color is red(&c) then when you do @name hello your chat color turns back into white