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 :)
@Fourthbrook The update will fix that error :)
Hi bChatManager crashes on my server. I know you are posting an update but could you inform me of all the plugins it won't work with. here is my pastebin of the server log http://pastebin.com/hrRJ00Rm
Thank you! i only bugged you because my players are being so anoying perstering me like did it update!!!!
Sorry to ask but an estimated time of Release would be nice. Please and Thank You.
I'M WORKING ON AN UPDATE - PLZ BE PATIENT
Please Update this! My server uses this plugin, because it is the only chat plugin that hooks into bpermissions without chat channels, etc,etc or if you dont update, can someone please take over this project
Has anyone got this working in #2032? I've tried and tried and it just doesn't want to work.
On installing multiverse 2.4
Or narrowtuxlib with showcase, both MC1.2 compatible. also with deadbolt
21:21:17 [INFO] [bChatManager] Enabling bChatManager v1.4 21:21:17 [SEVERE] Error occurred while enabling bChatManager v1.4 (Is it up to date?) java.lang.NullPointerException at net.rymate.bchatmanager.bChatManager.setupCommands(bChatManager.java:71) at net.rymate.bchatmanager.bChatManager.onEnable(bChatManager.java:42) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:531) at org.bukkit.Bukkit.reload(Bukkit.java:174) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:818) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:778) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:761) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
@zyxep
Hey man I had this problem too and I figured it out!
Replace this with your message format in config.
message-format: '%prefix %player: %suffix%message'
get this error today after update
http://pastie.org/3465571
tracked it down to being related to chesscraft. still strange
@zyxep
colour codes in the prefixes... (or suffixes)
a suggestion.
could be cool to add custom text color, i have seen on big servers that moderators, helpers, admins etc. are talking in another color that members.
that could be cool, herochat has something like that.. but that sux big time cuz of the channel system.
@Hollowhead
add a colour code into the config :)
@rymate1234
Hey how do I make it so the text after the name is in color too?! I got the name and everything, but how do you make what he/she types in color?
@rymate1234
how come i get this error... http://pastie.org/3440846
@11RJB
Not for a couple of weeks. This is why:
IMPORTANT UPDATE
Broken my right arm ¬_¬
Any chance this will ever support the %mvalias for Multiverse variable?
@ThisUsernameIsMine
I was unable to reproduce the /me bug, however I sucessfully reproduced the bug with the @ message. I shall work on that bug for the 2.0 update
Thanks for the update!
One thing though: If i do /me message a blank line apears. I had to set-up a color-code in front of the /me handle to solve this. Is this supposed to happen or should it normally default to &7 or &f if no color-code is entered/found?
edit: when adding - bchatmanager.chat.message to groups and sending two messages with only a @ character (or @non-existing player name) results in an Internal server error.
(tested with no other plugins enabled, except bPermissions 2.8.6 @ RB 1.1-R4)
Best regards!
important
bChatManager has been updated for the new bPermissions!