bChatManager
bChatManager - The easy to use chat manager for bukkit
What is this?
bChatManager is an easy to use chat plugin for bukkit. Now supporting any plugin that works with vault, it has a number of features such as:
- Supports most plugins that provide prefixes
- Intuitive messaging format based off the twitter @messaging system
- Factions support
bChatManager was originally forked off the PEX ChatManager, so users coming from pex may vaguely recognise the config file. (even though I completely reworked it)
Installation and Usage
Requirements
- Vault
- Craftbukkit
Configuration
Once you've installed the plugin (which I'm not going to go into here, if you can't put a jar file in a folder then god help you), you may want to configure it. Here is the default config.
formats: message-format: '%prefix %player: &f%message' local-message-format: '[LOCAL] %prefix %player: &f%message' personal-message-format: '[MSG] [%player -> %reciever] &f%message' op-message-format: '&c[OPS ONLY] %player: &f%message' me-format: '* %player %message' toggles: control-me: true ranged-mode: false special-features: true other: chat-range: 100.0
Formats
- message format: Format of a global chat message
- local-message-format: Format of a local chat message.
- personal-message-format: Format of the @messaging messages
- me-format: Format for /me
- op-message-format: Op only message format
Toggles
- control-me: Toggle whether bChatManager should handle /me
- ranged-mode: Toggles local messages. Doesn't work with chat channels.
- special-featues: Toggles whether @messaging and !global messaging in local chat should be enabled,
Other
- chat-range: If local chat is enabled, this sets how far the players can speak
Special Chat Functions
- !message - Sends a message globally. Only useful in ranged mode.
- @playername message - Sends a private message to another player on the server. Can autocomplete the name, so if you have someonee called "OmG_CoMpleX1234" you could just do @omg message to message them. You can also message ops with @ops message.
Formatting Placeholders
- %message - Message text
- %player - Player's name
- %prefix - Player's prefix
- %suffix - Player's suffix
- %group - Player's group
- %world - World the player is in
- %mvworld - Multiverse formatted world tag. Requires bChatManager 3.1 and Multiverse core
- %faction - the faction the player is in. Requires factions 2.0
- %displayname - displayname of the player. USE THIS FOR ESSENTIALS NICKS
- Colors you can use - http:www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes for the colors. Alternatively, try this site - http://buildworx-mc.com/bukkitColor/
- &l - bold text
- &m - striked text
- &n - underlined text
- &o - italic text
Permissions nodes
- bchatmanager.chat.global - allows you to use global chat in local chat
- bchatmanager.chat.color - allows you to color chat
- bchatmanager.chat.message - allows you to @message someone
- bchatmanager.spy - 1.3.2 feature, allows you to hear all PM's and local messages
Commands
- /me <message> - the /me command
- /bchatreload (must have the permissions bchatmanager.reload or be op) - Reloads bChatManager
Why did you remove the chat channels?
The way I had implemented chat channels was terrible. It was buggy, the code was convulted and messy, and I really should't have released it. Chat channels have therefore been removed from bChatManager 3.0 until I can implement them in a more robust fashion.
MCStats
Older versions of bChatManager had a anonymous plugin stats tool called MCStats built into bChatManager. If you're using one of these older versions, and wish to disable it, find the PluginMetrics folder in your plugins folder and edit the config.yml to disable the stats :). If you wish to see these stats, they are publically avaliable https://mcstats.org/plugin/bChatManager. All the information there is the information that gets sent. Nothing else.
Video Tutorial (Thanks to BukkitTeacher)
Download
Latest version is 3.0. Download from http://dev.bukkit.org/bukkit-plugins/bchatmanager/files/26-bchat-manager-v3-1-4/ today!
Development builds of this project can now be acquired at the provided continuous integration server located at http://rymatemc.co.uk/jenkins/job/bChatManager/
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Source code!
My github is at https://github.com/rymate1234/bChatManager Feel free to fork me :P
The bottom bit
Any suggestions on how I can improve this plugin? Post in the comments! And if you need any help, also feel free to post on the forums section of this :)
Are you going to support nicknames from Essentials? EDIT:It work if you put %displayname instead of %playername
@TehSeph
Well, its out now! http://dev.bukkit.org/server-mods/bchatmanager/files/6-bchat-manager-1-3/
The global formatting is now seperate from local formatting, yes.
@rymate1234
Does that 2nd one mean we'll be able to format the global formatting? Also, when can we expect 1.3? :)
Things I'm adding to 1.3:
I need and herewith want to suggest:
it to be shown when a player chats only regional. Like EssentialsChat uses [L] and [Spy] (for those that can see it over greater distances)
Nickname-Support.
EssentialsChat uses "(DISPLAYNAME)" for that.
Multiworld-support:
I have two worlds. One "FreeBuildWorld" and one "RolePlayWorld". I don't want the people on the RPW get bugged/annoyed by the global-talks of the FBW.
And Towny-Support.
Means new formatting-Placeholders:
%TT for Town-Tags
%Town for the town-name
%NT for the Nation-Tag
%Nation for the nation-name.
To that there comes the TownyChat-Support... so /tc and /nc are being used in your plugin, too and connect to Towny.
@Calman102
It still works fully with it!
Update for new bPermissions plz!
pleeze help
http://pastie.org/private/e8nswcentlnt93nw1omueg
http://pastie.org/private/mhmibbgn8zvj4jlbqrmuq
Hello, I really like this plugin, only thing I really miss is option for coloring global chat, because it can be really messy, when you think, there's someone close to you, but he's not actually... I would really appreciate, if you can make it till Christmas, because we're starting new server that day :) (Or I can make it myself, if you tell me, which libraries do you use...)
Anyway to add a %group variable that maybe gets from a 'group.NUMBER.GroupName' node? This would be nice, as alot of other chat managers can display what group you are in.
Right now I am using prefix for the color and suffix for the group name, but now I can't have a group name in one color and the player name in a separate color, not a huge deal, but would be nice.....
Also anyway it can use the display name of a user, say the nickname instead of the account/ player name?
Other than that great addition to the banana family.
Can we configure options for global chatting too? I'd like to distinguish them :)
@ProjectInfinity
done! its in 1.2 :P
@Thyrin
Not yet :(
Is it possible to create channels? Or is there a plugin that works with this that adds channels ?
@rymate1234
I realized that after I posted that .... I was half-asleep when I posted and was not all here ... LOL
@SilentShadow79
sure, just edit the config :P Thats what its there for, editing
Make /me configurable. Like, being able to disable it.
Is it possible to remove the < > tags from the prefix and player name and just make it a simple : . Don't know what is is about those < > tags but they just bug me.
Things I plan to add into bChatManager in 1.2:
Announcement!
I'll start work on 1.2 once there is a stable RB of bukkit