Inactive [CHAT] HeroChat v4.10.3 - Comprehensive Chat Channel Plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by DThielke, Jan 26, 2011.

  1. Offline


    HeroChat The Chat Channel Plugin (v 4.10.3)
    Download HeroChat
    Source Code on GitHub This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
    Redmine (Issue/Feature Tracker)

    Permissions 3.0
    Rcjrrcjr has been working quite hard on this upgrade to Permissions. However, it currently still suffers from a number of bugs. The most important of these which directly affects HeroChat is the non-functioning of prefixes and suffixes. There are less-than-pretty workarounds, but I'm refraining from fully supporting an update until Permissions 3.1 is released which should include a number of significant bug fixes. When this does occur, however, I have a build ready for you guys that should work. You can download it here. Again, I highly suggest not using this until Permissions 3.1 is released unless you really don't care about prefixes and such.

    See you when I get back!

    Is your config resetting when you make changes?
    If you make changes to the config while the server is running, you need to use the /ch reload command to make the changes stick. I wish this message wasn't necessary, but people only seem to read things in big, bold, red text (if at all).

    Have a problem? a feature request? Go here.
    HeroChat now has its very own redmine found here. If you have an issue or would like to suggest a new feature, I urge you to file it via redmine. I will be checking this much more often than this thread from here on out.

    Show your thanks! Maintaining plugins like HeroChat is very nearly a full time job. If you enjoy my plugins and appreciate the support I provide, then please consider providing some support of your own. Donating even a tiny amount keeps me motivated and makes me feel loved so go ahead and donate!

    What is HeroChat? HeroChat brings a multiple channel system to Minecraft. Through the use of highly customizable channels, even the largest of servers can have manageable and readable chat.

    • Chat channels
      • Highly configurable
      • Public, private and password protected channels
      • Configurable custom message formatting including colors and health bars
      • Channel moderation
      • Local channels
    • Ignore lists
    • Regex-based censorship
    • User setting persistence
      • Automatically saves your settings when you log out
    • Permissions integration
      • Prefixes and suffixes
      • Restrict joining and speaking in channels
      • Restrict important commands
    • CraftIRC integration
      • Relay messages between Minecraft and IRC
      • Configurable links between in-game and IRC channels
    How do I install it? Take a look at the installation and configuration wiki found here.

    How do I use it? Take a look at the usage wiki found here.

    A Message to Users
    Thanks for all your support! I will do my best to keep this plugin updated and bug free. If you have any issues or feature requests, feel free to either leave a message here or find me in #herochat on EsperNet.

    Extra special thanks to my donors: TheYeti, playnight

    Change Log
    Show change history (open)

    Version 4.10.3
    • Fixed players not rejoining private channels when Permissions isn't loaded first.
    Version 4.10.2

    • Fixed a bug with {group} when not using Permissions
    Version 4.10.1

    • Fixed a bug with CraftIRC join/leave events ignoring the join-messages option
    • Added the {group} tag
    • Added the {groupprefix} tag
    • Added the {groupsuffix} tag
    Version 4.10.0

    • Added the separate-chat-log option
    Version 4.9.0

    • Renamed the global craftIRC-tag option to craftIRC-prefix to avoid confusion
    • Replaced the channel specific craftIRC-tags option with game-to-IRC and IRC-to-game to allow one-way communication
    Version 4.8.11

    • Added color support for the irc-tag
    Version 4.8.10

    • Fixed a bug with privileged channels and reloads
    Version 4.8.9

    • Added the local-distance option to set the local distance on a per-channel basis
    Version 4.8.8

    • Removed debugging code I left in accidentally
    Version 4.8.7

    • Fixed an infinite loop with certain censors
    Version 4.8.6

    • Updated for CraftBukkit 612
    Version 4.8.5

    • Updated for CraftBukkit 602
    Version 4.8.4

    • Added a permissions check before rejoining channels during a /ch reload
    Version 4.8.3

    • User settings are now saved before /ch reload does its thing
    Version 4.8.2

    • Added one-time tells to the /tell command
    • Added the {receiver} tag for use in tell formats
    Version 4.8.1

    • Changing focus now ends /tell conversations
    Version 4.8.0

    • Added the cross-world-chat channel option
    • Separated user data into multiple files
    • Added the /ignore alias for /ch ignore back in
    Version 4.7.6

    • Minor improvement to command handling
    Version 4.7.5

    • Minor fix for certain command specific help pages
    • Added global toggle (toggles all channels) to /ch toggle
    Version 4.7.4

    • Minor internal change to how format tags work
    • Minor change to how messages are sent to CraftIRC (allows player specific tags such as {prefix})
    Version 4.7.3

    • Fixed issue with CraftIRC messages being repeated in IRC
    Version 4.7.2

    • Fixed a bug where /qm g ? would show the command help rather than sending a message
    Version 4.7.1

    • Fixed a minor formatting bug regarding join/leave messages in the console
    Version 4.7.0

    • Added the /tell command to create private conversations
    • Added the incoming-tell-format and outgoing-tell-format options to the config
    Version 4.6.0

    • Added the /ch toggle command to allow temporary enabling/disabling of channels
    Version 4.5.0

    • Added custom replacements to the censor feature in the format 'censoredword;replacement'
    • Added the 'herochat.color' permission to allow players to use colors on the fly in their messages
    • Added the mute (per channel) and gmute (global) commands
    • Revamped help menu
    • Added command specific help. Type /<command> ? to use it (ie. /ch create ?)
    Version 4.4.3

    • Fixed a bug when creating a channel with all 5 arguments provided
    Version 4.4.2

    • Improved command handling
    • Fixed a bug where commands longer than the actual commands were being accepted
    • Removed the {color.COLOR} tags - use the usual &c colors now
    • Replaced the {color.CHANNEL} tag with {color}
    Version 4.4.1

    • Fixed a bug with colors in message formats containing underscores
    Version 4.4.0

    • Added regex based word censor
    Version 4.3.7

    • Fixed any and all line wrapping issues (thanks to Bukkit for fixing MC's color line-wrapping bug)
    Version 4.3.6

    • Added the reserved channel name list back in
    • Fixed a potential issue with the /<channel> <message> shortcut command
    Version 4.3.5

    • A default configuration file is now created if you do not have one
    Version 4.3.4

    • Removed the DEBUG message I left in
    Version 4.3.3

    • Fixed line wrapping issues related to Finnish characters.
    Version 4.3.2

    • Fixed the ignore feature
    Version 4.3.1

    • Quick messaging now also relays to IRC
    • Added an option to configure the format for game->IRC messages
    Version 4.3.0

    • Added CraftIRC support!
    Version 4.2.1

    • Updated the help command to reflect the password additions
    Version 4.2.0

    • Added passworded channels
    • Updated /ch create command to allow passworded channel creation
    Version 4.1.6

    • Fixed a bug related to negative health values.
    Version 4.1.5

    • Fixed an error when using custom display names.
    Version 4.1.4

    • Added full error reporting to Permissions issues.
    Version 4.1.2

    • Added licensing information to source and original post.
    Version 4.1.1

    • Finally found the cause of the line wrapping bug. It's fixed now.
    • Implemented stricter version checking for Permissions. HeroChat will disable itself it the right version isn't found.
    Version 4.1.0

    • Added a message for the plugin's onDisable() method.
    • Re-implemented the old quick message feature.
    • Added world specific channels.
    • Fixed the /ch reload command.
    • Added the {world} and {healthbar} tags.
    • Added an overloaded sendMessage for other plugins to use.
    Version 4.0.2

    • Minor change to make HeroChat compatible with future Permissions version names
    Version 4.0.1

    • Fixed a bug when creating channels without specifying a color
    • Decided on a more logical version naming scheme
    Version 4.00

    • Major internal rewrite
    • Added error handling around Permissions to help identify issues with Permissions configs
    • Temporarily removed iChat support
    • Updated for new versions of Permissions
    • The old /ch channels command is now /ch list
    • The old /ch list command is now /ch who
    Version 3.21

    • Another attempt to fix line wrapping.
    Version 3.20

    • Fixed an issue with the /ch remove command.
    Version 3.19

    • Minor adjustment to line wrapping.
    Version 3.18

    • Moved command handling to onCommand.
    • Removed replaced old quick messaging behavior with /qm <channel> <message>.
    • Reworked /ch create command.
    • Added special /ch help create menu.
    • Updated to add Permissions 2.4 support.
    • Removed GroupManager support.
    Version 3.17

    • Fixed banning and kicking players again.
    Version 3.16

    • Players are no longer able to speak in a channel after being kicked or banned from it.
    Version 3.15

    • Added configurable option that defines the tag used to prefix all plugin messages - defaults to [HeroChat]
    Version 3.14

    • Added support for {healthbar} tags in prefixes and suffixes
    Version 3.13

    • Added support for GroupManager. Permissions should still work though!
    Version 3.12

    • Minor internal changes
    Version 3.08

    • Updated to meet new Bukkit standards
    • Fixed long constructor spam
    Version 3.07

    • Added support for other plugins to send messages to channels without a Player object
    • Bug Fix: another attempt to work around the local chat location issues
    Version 3.06

    • Bug Fix: other plugin commands should work again
    Version 3.05

    • Bug Fix: accidentally forgot to set loaded channels to saved
    Version 3.04

    • Added checks for cancelled events.
    • Bug Fix: channels are now only saved if the "saved" option is added
    Version 3.03

    • Bug fix: local channels should REALLY save and work correctly - seriously.
    • Bug fix: the /ch reload command no longer crashes the client
    Version 3.02

    • Bug fix: local channels should now save correctly.
    Version 3.01

    • Bug fix: fixed missing permissions check when automatically joining channels the first time a user enters the server
    Version 3.00

    • Added optional join/leave messages.
    • Channel moderators can now delete their own channels.
    • Channel moderators can now ban users preemptively, even if they aren't online.
    • All user settings are now saved across logins.
    • Removed the /ch auto and /ch default commands as they are now obsolete.
    • Configurations are now stored in a different file with a slightly different format. Old data.yml files are converted automatically to assist in this change.
    Version 2.67

    • Bug fix: issue with /ch list
    • Bug fix: issue with /ch mod
    Version 2.66

    • Bug fix: fixed an issue where players couldn't toggle off their personal autojoins
    Version 2.65

    • Bug fix: forgot to include plugin.yml in the jar last build
    Version 2.64

    • Fixed censor color code formatting
    Version 2.63

    • Cleaned up code a bit
    Version 2.62

    • Improved line wrapping so the last color of the first line is reapplied for each subsequent line
    Version 2.61

    • Players can now add channels to auto-join with the /ch auto command
    • Minor bug fixes
    Version 2.53

    • Actually removed channel joining messages when plugin is enabled (silly typos)
    Version 2.52

    • Removed channel joining messages when plugin is enabled (or externally reloaded)
    Version 2.51

    • Fixed rejoining default channels when reloading the plugin via Essentials
    Version 2.50

    • Added health bar support from iChat (iChat required)
    • Bug fixes
    Version 2.42

    • Minor bug fix to improve player nickname support
    Version 2.41

    • The join, leave and ignore commands can now also be accessed using /ch join, /ch leave and /ch ignore, respectively
    Version 2.40

    • Fixed major bug with /ch reload command
    • Message formatting now uses Player.getDisplayName() instead of Player.getName()
    Version 2.33

    • More bug fixes (fixed channels not being checked for join permissions when attempting to autojoin channels at startup)
    Version 2.32

    • Various bug fixes
    Version 2.31

    • Prefixes and suffixes can now be user-specific
    Version 2.30

    • Slight configuration file restructuring (I promise this will be one of the last times this occurs)
    • Channels can now have restricted join and speak privileges based on permission groups
    • Channels can choose to override the default format string
    • Minor bug fixes
    Version 2.20

    • Console logging added.
    Version 2.10

    • Fixed bug so that message formatting works properly
    • Hidden channels are now hidden from the channel list even if you're in them
    Version 2.00

    • Massive restructuring of code
    • Redone config files - make sure to read the new configuration section
    • Channel moderation added (/ch kick, /ch ban, /ch mod)
    • Custom message formatting added
    • Local channel distance is now adjustable
    • More bug fixes
    Version 1.10

    • Added the /ch reload command
    • Improved suffix support
    • Improved multi-line message support
    • Various minor bug fixes
    Version 1.00

    • Initial public release!
  2. Offline


    Thanks for this great plugin! I have it up and running in Bukkit 670 and it seems to be running nicely :)

    I have a feature request and I'm not sure how feasible it is. Basically, log the chat to some log file in the /plugins/HeroChat folder instead of in the main server.log file. I used to play EVE Online and I grew quite attached to having chatlogs, so I love that I can go looking up chatlogs. However, when I go digging through my log file for server errors there is a whole ton of chatlog and my errorlog is burried deep in there somewhere.

    If it is possible to make it not log to the main server.log file and instead log to some other file (bonus points if it does a new file per day with a datestamp in the filename :D) then sweet, if not, well, that's OK, I'll certainly still keep using this awesome plugin :D
  3. Offline


    Done. One caveat, however, is that if you enable separate-chat-log, you won't see chat in the console.

    Change Log
    Version 4.10.0
    • Added the separate-chat-log option
  4. Offline


    Hi I'm having a bit of a problem with this plugin. I am on CB670 using the default config for HeroChat but whenever I try o join a channel, it says I'm already in it however my text is still green and there is a G for global behind my name. Also is there anyway I can add the group name behind the username, like in iChat?
  5. Offline


    Hello, I read your wiki page but I want to know how I could use following message format:
    There is a “{prefix}” variable, but only for the player's prefix.

  6. Offline


    Thank you so much! :D I just loaded it up on my server and I can confirm that after I changed "separate-chat-log: false" to "separate-chat-log: true" (in the config.yml file, near the top under "globals:") that HeroChat now does indeed 1) no longer write chatlog data to the main server.log file and 2) writes chatlog data to plugins/HeroChat/chat.log :D

    Any ideas on how I might be able to configure this a bit further? Perhaps options for each channel to log it or not? Right now, the config.yml section for Global chat looks like this:
            color: GREEN
            nickname: g
                speak: []
                join: []
            message-format: '{default}'
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
                bans: []
                moderators: []
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: false
    Maybe add a line to the bottom (below the "forced: false") for something like "chatlogged: false"? Perhaps better yet, set it to only log if set to true?

    My thinking here is that if I keep a chatlog of main channels (global especially) then if I find some way to post that in some sort of automated way via ftp to our servers' forums or something then people are less likely to be jerks. In other words, if there is a chatlog everyone can read then I think people are less likely to say stupid stuff (because it will be 'on record'.) I don't, however, want to go all 1984 on people and record everyone's private chats and stuff and post that where everyone can see it :p Thus I'm thinking some sort of flag that can be set in the config to set which chats are logged (and, by extension, which are not logged.)

    Also, anyway to make different chatlog files for each date and then datestamp the file name? I'm thinking if I ever want to go digging for something in particular (like, for example, I have to ban someone because they were being verbally abusive and I want to show them the chatlog to prove it) then it'd be nice to be able to just sift through one or two day's worth of stuff (in one or two files) rather than digging through the whole chatlog of my server forever and ever. If this is not really feasible through Bukkit, I think I might tinker with some ftp options but it's worth a shot :)

    Don't get me wrong, if you don't do anything else with it, I'm still happy :) I just figured I'd ask - can't hurt :)

    Thanks again soooo much for getting that update out so quickly, you rock! :D
  7. Offline


    I was wondering if it was possible to make a certain region only able to use trade or global chat.

    Let' me give you an example, even on herocraft server, there's alot of chatter that goes on, and on my server I get annoyed with 912312039120 chat's going on without people knowing how to use the proper chatting system.

    Is it possible to have a certain region that has been defined by cuboid, or towny, etc. too join a certain channel when you enter? Kind of like an entity.

    I.E You enter sanctum then you join channel <GLOBAL> <TRADE>, when you leave you go back to <LOCAL><PARTY><TOWN> chats.

    Not sure if it out of your league, but I hope not :)
  8. Offline


    @6y7t8h, joining a channel is not the same as giving focus to a channel. To focus a channel and make it the source for future messages, use /ch <channel>. There's currently no {group} tag but I'll add it for the next release.

    @xZise, this currently isn't possible, but it will be in the next release.

    @Qanthelas, I feel that's getting a little too specific for public needs. However, if the reasoning behind this is to display only certain channels on a website, you can use something as simple as grep to extract the channels you want.

    @BioRage: Out of my league, no. Out of the scope of this plugin, yes. This is something best handled by a separate plugin. EpicZones is a perfect example of a plugin that I believe does what you want and integrates nicely with HeroChat.
  9. Offline


    Thanks for the reply, but I still can't get my head around my problem. Whenever I join a channel, it says I'm already in it, but I know I'm not?
  10. Offline


    Do the following to confirm the issue:
    1. Join your server
    2. Type /ch list
    3. Type /ch who
    4. Type /ch <channel>, where <channel> is the name or nickname of the desired channel
    5. Type some text to send a message
    If you still have an issue after following these steps, take a screenshot of the output of the five steps above and post it here.
  11. Offline

    tha d0ctor

    So much for text wrap being Hero cha compatible, any chance we can see hero chat with a built in feature like textwrap please?
  12. Offline


    Thanks for the help, but I found out it was a conflicting plugin! :S
  13. Offline


    Updated with some requested tags and a bug fix.

    Change Log
    Version 4.10.1
    • Fixed a bug with CraftIRC join/leave events ignoring the join-messages option
    • Added the {group} tag
    • Added the {groupprefix} tag
    • Added the {groupsuffix} tag
  14. Offline


    Hi, I'm using WAR plugin, and when you are in a PvP Zone, you can /leave, but when I do this some channels pop up, how can I delete the Channel Support?

    I just like the color and so one, and HeroChat does the job for me, but I'm just asking.

    Armin P.
  15. Offline


    If you're not using channels, you're better off with a simple plugin like iChat. Channels are the core feature of HeroChat and cannot be disabled.
  16. Offline


    It seems like your website has got some problems. Is there an alternative download-link?
  17. Offline


    Here's a temporary link until my host sorts this out: <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Dec 15, 2016
  18. Offline


    Nice, thanks!
  19. Offline


    So in order to have prefixes, you must use Permissions?
  20. Offline


  21. Offline


    Hey i noticed that when i installed herochat my factions tags disappeared. I was wondering if you knew a way i could get around that? Could you add a function to add factions integration or something?
  22. Offline


    Mention it to the dev of Factions. If he's not willing, I'll think about submitting a pull request to Factions.
  23. Offline


    Okay ill send a message.
  24. Offline


    I'm really liking this plugin at the moment, but I'd like to request a feature. Maybe have a limit to how many channels you can be in at one time? (It's because my server members are really really really thick)
  25. Offline



    I've recently set up HeroChat/CraftIRC together, so that it only submits chosen channels to IRC. However, I can no longer see the "Player connected" in IRC, which some of our IRC/Minecraft users have requested to get back, but I cannot find anything in neither HeroChat or CraftIRC configs on how to set this up. At the moment, all chat in the global chat is the only thing transmitted to IRC.

    So basically I want the default Minecraft-info that when a player joins, to be transmitted to IRC.

    In advantage,
  26. Offline


    I would love to have a flag for every channel "auto-quit" so people leave that channel once they leave the server. Alternative I would be also fine with a setting that forces people to leave every channel that is not auto-join when they leave the server.

    Also, while working with CraftIRC, I realized that simply attaching a chat channel to a IRC channel via the tag transports the chat over despite the even for "all chat" being false (which is good). To transport the joins & quits however, the events in CraftIRC have to be true. This is a bit contradictory to me. It also prevents someone from hiding channel joins in one IRC channel from any other IRC channel. All joins and quits are allways shown in all IRC channels.

  27. Offline


    I'll consider adding an option for this.

    This will be in the next update.

    I'll add a global option for it in the next release.

    Regarding your second issue: the joins and quits you are seeing are the default CraftIRC messages. To let HeroChat handle this, set the events back to false and set join-messages to true in your HeroChat config.
  28. Offline


    First, thanks so much for this great plugin! I've read enough plugin threads to know that people don't say "Thank you!" nearly enough to plugin developers!

    Second, I'm not much of a programmer but I want to do what I can do to help. I'm decent as a documenter so I offer my services as such :) With this in mind, two things 1) Would you like any tutorial videos made for your plugin? I have FRAPS and a decent computer so I wouldn't mind making some sort of tutorial video for this plugin if you want :) Just quote part of this message or send me a PM or something if you do! 2) I'd like to share the configuration of my working server to help answer others' questions.

    I have several plug ins, including this one, up and running and (so far as I can tell) they are all getting along and working. I know when I go looking for new plugins I'm always curious if somehow the new plugin will 'break' my current plugins so I'm posting this info for each of the plugins that I use. People always post in a plugin's thread when things don't work so I want to post something that does work for comparisson :)

    Basically, I just want people to know that yes, you can run this plugin and all these other ones without breaking the world.

    Pastebin of the config.yml file for HeroChat:

    Current Bukkit Version: 670

    Plug Ins

    CommandBook 1.2.1
    HeroChat 4.10.1
    iConomy 4.6.5
    LocalShops 2.2.1
    mcMMO 0.9.27
    Permissions 2.6
    PreciousStones 3.2
    Runecraft 2.5.1
    Towny v61Fuzzev5_CB670 (semi-officially forked version) (Note the semi-official fork now has a semi-official bukkit thread here.)
    VirtualChest aka GiftPost 3.3.1
    WorldEdit 4.3

    Pastebin of server.log on restarting the server:

    Pastebin of my Permissions file (since I currently only have one world and that world is called PhoenixRealms, the file is called PhoenixRealms.yml):
  29. Offline


    Please add Nickname Support! Setting a display name != real username like in iChat it mostly configured to have ~Michael instead of miho...
  30. Offline


    I'm glad you're enjoying it :)
  31. Offline


    @Qanthelas, I appreciate the support.

    There are plenty of plugins out there that allow users to set nicknames. HeroChat supports any of them that simply change the display name. I don't plan on adding this directly into HeroChat.

Share This Page