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


    Hello Dthielke, I was wondering;

    Is it in any way possible to have different keyboard presses to talk in certain channels?

    Er go,

    Simply PRESSING " T " brings up the typing interface, where you will automatically type to your "current" channel, where you can then type "/ch channelname" to CHANGE your active channel...

    What I would like, is for pressing " T " to bring up global chat, and whatever you type will be sent to global chat, and simply PRESSING " G " or " C " would bring up chat to your permissions group only?

    Is it at all currently possible to configure it as such?

    Just curious.

    - thanks!
  3. Offline


    Using this since day 1, never failed us, thanks for all the hard work.

    Any chance we can get a 'whichworldplayerisin' prefix thing for multiworlds? <3
  4. Offline


    Can you add a verification before sending chat message?
    i've my own plugin who cancel chat event, but it seem that herochat send the msg even with event.isCancelled() who report it cancelled.
  5. Offline


    Got some compatibility questions:
    1) Is the current version compatible with Towny? Does anyone run them together?
    2) Does HeroChat replace iChat functionality? (prefix, suffix) So should i remove iChat or are they meant to use together?
    3) When using HeroChat, is there still the "default" Channel, or how do other Mods send stuff? Does HeroChat affect any Mod output such as iAuction, or do they show up no matter which Channels you listen to?

    And another question/suggestion: Is it possible to set the Default channel per Group? I would like new (Trial) members to write to a Trial channel, Members and up should have the "normal" channel as default.
  6. Offline


    I'm going to try a clean install to see if that will help

    Edit: Nope it didn't even if I set everything except local to auto join it still shows me as being in global on the server =/

    Okay it's now decided that I can only talk in global and not any other channel, all other channels do not appear in-game and show as global on the server console.
  7. Offline


    Thank you finally for squishing those bugs! It's been really difficult.

    On other hand, when I created a new channel without "saved" variable, it still stayed (staid?) saved. Updating to 3.03 now to see if that fixes that problem.
  8. Offline


    @Latros, such a feature would require a client-side mod. HeroChat itself isn't able to check for key presses, but you can create such functionality by binding macros using the Improved Chat client-side mod found here.

    @GmK, glad to hear everything is still working well! Multi-world recognition will be implemented, I just haven't gotten a chance to mess with it yet.

    @Spiritax, yeah - will do, sorry. Expect an update in a few minutes.

    1. I haven't tested it myself but I've heard of people using both together without issues. Try it and if you run into problems just let me know and I'll see what I can do.
    2. HeroChat replicates the prefix and suffix features of iChat, but you can still have both installed if you want things like word censoring and/or health bars.
    3. HeroChat shouldn't affect messages sent by other plugins such as iAuction - they should all behave as if the channels weren't there. I plan on adding a way for other developers to route their plugins' messages to a specific channel, I just haven't gotten around to it.
    4. Currently you cannot set a default channel per group. I doubt I'm going to add this at this point because the new persistent settings behavior pretty much eliminates the need for it. You can have the server default set to the Trial channel, but as soon as a member changes their focus to a different channel, this new channel will be saved as their individual future default. It restores any changes a user makes involving joining/leaving/focusing channels when they log back in.
    @Xemnas33, very strange that you're still having issues as it seems to work fine for everyone else at this point. Try starting with the default config again, but make sure you delete the users.yml file and disable all other plugins. If that works, you can start re-enabling plugins to see if its a compatibility issue with something.

    @Juze, yeah that's something I overlooked in the new file saving. That'll be fixed in a few minutes.
    --- merged: Feb 18, 2011 4:30 PM ---
    Update posted.

    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
  9. Offline


    With only permissions, iChat and Herochat on and having done a fresh install with default config etc it still regards every channel as global in the server and shows nothing in-game =/

    Do you have any idea at all? :(

    By the way what does this mean?

    org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at com.bukkit.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.j
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.c(
            at net.minecraft.server.MinecraftServer.d(
  10. Offline


    Erm, that error means it can't load Permissions. Are you sure it's installed correctly?
  11. Offline


    Ah that's fine I was just seeing what happened when I took that off :p

    Anyway yeah it's still the same with just 3 plugins on =/
  12. Offline


    Hmm. Can you post the config and users file here (upload to pastebin)? I know you're saying you're using the default config, I just want to check. Is there any chance that I could connect to the server you're testing this on? You can PM me the info if you're not comfortable sharing it publicly. I really need more information to diagnose this, especially if no errors are being thrown.
  13. Offline


    With HeroChat installed commands for all plugins no longer work... heres what I have installed:

    Build #341
    BigBrother, BorderGuard, dynmap, Essentials, EssentialsBan, EssentialsHelp, EssentialsHome, EssentialsTele, Jail, LWC, Minecart Mania Core, Permissions, WorldEdit, WorldGuard, xWarp
  14. Offline


    I just tested #342 with HeroChat, Permissions, LWC and the various Essentials plugins and had no issues.

    Are you getting any errors?
  15. Offline


    Yeah mine work fine too however i've had trouble with the god command for world guard, the shop commands and also the help command. So there's something odd about the latest build of cb.
  16. Offline


    tested HeroChat(3.05) with last version of bukkit(#342) too, some command didn't work anymore.

    tested with HeroChat(3.03) and woking fine.
  17. Offline


    This updated version should fix the command issues.

    Let me know.

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

    Could you post your users.yml?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 7, 2016
  18. Offline


    I figured it out that after the update it changed the auto-join to true and than everyone in the users.yml got access to ALL channels.

    They couldn't talk in it but they could definitely see it.

    I had to change auto-join to false again and than delete the users.yml
  19. Offline


    Which version of HeroChat did you convert the file with? That was an issue prior to 3.03 but it should be fixed since.
  20. Offline


    How exactly do i change the color of my name? im a bit confused
  21. Offline


    2011-02-19 19:34:49 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-19 19:34:49 [INFO] Loading properties
    2011-02-19 19:34:49 [INFO] Starting Minecraft server on *:25566
    2011-02-19 19:34:49 [INFO] This server is running Craftbukkit version git-Bukkit
    -jenkins-dev-CraftBukkit-29 (MC: 1.2_01)
    2011-02-19 19:34:49 [INFO] Preparing level "world"
    2011-02-19 19:34:49 [INFO] Preparing start region
    2011-02-19 19:34:50 [INFO] Preparing spawn area: 57%
    2011-02-19 19:34:51 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-19 19:34:51 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-19 19:34:51 [INFO] WorldEdit: Permissions plugin detected! Using Permiss
    ions plugin for permissions.
    19/02/2011 7:34:51 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    at com.bukkit.dthielke.herochat.HeroChatPlugin.loadConfig(HeroChatPlugin
    at com.bukkit.dthielke.herochat.HeroChatPlugin.pickLoader(HeroChatPlugin
    at com.bukkit.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.j
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at net.minecraft.server.MinecraftServer.e(
    at net.minecraft.server.MinecraftServer.c(
    at net.minecraft.server.MinecraftServer.d(
    2011-02-19 19:34:51 [INFO] Done! For help, type "help" or "?"
  22. Offline


    Please use or [//code] tags for errors. (Ignore the //)
  23. Offline


    I'm still strugling with local chat. My settings have local set as true in local chat. However, people may hear me far far away (Setting has 50) and nobody is near me. Then I stumbled at this bug: I had a friend next to me, tried talking in local chat and it said "Nobody can hear you".
  24. Offline


    This is a issue we're currently looking into. The player locations don't seem to be updating.
  25. Offline


    You posted this earlier. What i want is something sort of like ichat where i can have different groups be different colors. Id like for it to type out

    Admin <playername>: writing
    Miner <playername>: writing
    Default <playername>: writing
    Vip <playername>: writing
    VIP* <playername>:writing

    How do i set this up?
  26. Offline


    You need Permissions for that...
  27. Offline


    @dragtor, I can't tell you what the issue is with certainty unless you post your config.yml (please upload it to pastebin), but my first guess based on the error itself is that you don't have any channels properly defined.

    @Juze, as RightLegRed said, this has been an issue for quite some time. It is, however, very sporadic and seems to be related to an issue with player locations refusing to update after teleporting inherent in Bukkit. We're still working on consistently reproducing the problem and then fixing it.

    @Stephen92, the Permissions Support subsection of the original post has everything you need. Prefixes and suffixes work EXACTLY like iChat.
  28. Offline


    Are you aware of the bugs involving teleporting? Sometimes local chat stops responding and users have to relog to make people hear them again. Sometimes local will get stuck at the place they teleported from and they will be able to listen and speak in local at that location instead of where they actually are.
  29. Offline


    Read the post directly above yours.
    --- merged: Feb 19, 2011 8:02 PM ---

    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
  30. Offline


    sorry, thanks :)
  31. Offline


    I'm on 3.07 and now local chat doesn't work at all. :S

Share This Page