zChat
zChat is a very simple chat manager for Bukkit. It was optimized to work with zPermission and requires Vault (other permissions plugins which uses Vault should also work, I only tested the plugin with bPermissions).
Place "!" before your message to write in to the global chat.
List of features:
- color chat
- local chat (optional)
- prefix/suffix support
- Factions support
Installation
Make sure you have following plugins installed and configured:- Vault
- Vault-supported permissions system (there is a list on the Vault page)
Config
formats:
message-format: '[%world] %prefix %player: &f%message'
local-message-format: '[LOCAL] %prefix %player: &f%message'
toggles:
ranged-mode: false
factions-support: false
other:
chat-range: 100.0
- message-format - Format of a chat message when ranged mode is disabled or a global message format if ranged mode is enabled
- local-message-format - Explains itself :)
- ranged-mode - Disable or enable local chat
- factions-support - Disable or enable factions support. Be sure to disable that, if you don't have Factions plugin, otherwise you will get errors
- chat-range - Local chat radius
Place "!" before your message to write in to the global chat.
Permissions
- zchat.spy - Allowes you to see all local and global messages. Useful for moderators.
- zchat.color - Allowes you to use color codes in the chat
Just fyi, have this working on a Tekkit/bukkit server running cauldron. Working on a 1.6.4 mc tekkit 1.2.9i server. Booya :D thanks for the awesome mod man :D works well with zpermissions.
I have an issue with a specific group rank the helper rank i used a command /setjoin helper "joined the game! and /setchat helper" username joined the game! How to i remove these commands? How can I turn off the chat formattation for this group helper?
Not Support Plugin Jobs
I have a problem, when users join my server for the first time, they are not put in the default group, or any group for that matter. That means I have to manually put the users in the default group and I can't keep up with which ones I have, and which I haven't. Please respond quickly.
If you use PwnFilter for chat altering, don't use zChat until it's updated. PwnFilter will do warnings and trigger events, such as kicks and such, but will not successfully alter chat.
Hi can you uptade the plugins plus :D
DeadMiners.servegame.com:25550
faction-support doesn't work for 1.7.2 Faction
Whenever we say % it breaks chat.
Edit: Seems you fixed it in the github source, going to build that.
Is it possible to have a player specific message-format? I'm using zPermissions and I tried this:
/perm group Owner metadata set message-format "%prefix..."
Unfortunately it didn't work. An alternative to a custom message-format would be a way to color the name, is that possible?
Cheers
hello, Your plugin is good but can you add permissions to the global chat? so that the player does not had this permission can't speak in global chat. This will greatly improve your plugin!
Sorry for my translate, i'm french ^^
leboucher_
@hamzaxx
(zPermissions configuration? It's the file on X:\IDK\plugins I suppose :P) I deleted it. Still doesn't work.
@Rapidgame7
Are you running vault if you are try deleting your all your zpermissions data.
@hamzaxx
Nope, 0% errors... Maybe I have to delete the config file first? I will test.
EDIT: Deleted the config file. Doesn't work. I'm using zChat 0.3.1
@Rapidgame7 Its working fine for me any errors?
The "%" character problem is still present. here is the error:
When I chat, I only see my name, but not my prefix, nor the other things I've put in the config.
I have this in the configuration file:
I'm expecting to get the dark gray square brackets with my prefix, but instead of
[OP] <Rapidgame7> i hate hating the haters... i hate them
I only see
<Rapidgame7> textMEEMtext
I'm doing anything wrong now? :P (Or I had to first delete the config file before downloading the new version?)
@Rapidgame7
Fixed.
@rymate1234
When I have forked it, your plugin was not usable with zPermissions because of the NullPointerException which was thrown. The problem was in the zPermissions API, it returned 'null' if the player had no prefix. So I've added the check for the 'null'. Another point was that zPermissions Chat Hook had no method to get directly the prefix of the player's main group. So I had to use Vault permissions hook to get main group and then I was able to get the prefix of the main group.
Why I didn't made a pull request? Because I've seen that there were no changes for about three months , so it was improbable that you will see it.
Here is an example of the code I've changed:
After I've upgraded zChat to 0.3 the messages are now appearing doubled! Please fix it!
Meanwhile I'll use the previous version...
@rymate1234
nice find o.O