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


    Is there any way to stop the censors from blocking words with them in it? Like 'glass' is censored because of what's contained in it, how can I fix that?
  3. Offline


    I found out it was a problem with my EssentialsChat, but I still don't know how to disable it. Even when EssentialsChat is removed the extra 'Noob' is still there. I have a feeling its Essentials itself.

    Edit* When I remove HeroChat, everyone's prefix is [Noob].
  4. Offline


    thx man :)
  5. Offline


    You can force, that a space must before “ass”: \sass

  6. Offline


    Sorry? I didn't quite understand that, could you rephrase it?
  7. Offline


    Ehr? You want to censor only the word ass and not glass. I thought you need the regex to detect, that somebody wrote ass and not glass? To do this, this should test, if a space is in front the word. So it will censor “gl ass” but not “glass”. Actually you should use (^|\s)ass as the detecting regex so if the line starts with “ass” or there is a space in front of it.

  8. Offline


    Oh I sort of understand now, thanks for the help!

    and what about something like "shitty", when I make it replaced by "dungy", it uses "dungty" becaus I have "shit" being replaced by "dung", what would I do for that one?

    How would I make it so that it works with both "grass" and "assassin", like before and after?

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


    This should replace “shitty” with at least one t and at least no y with dung.
    Depends. If you want to filter only the word ass you could use:
    This should replace all ass. The “problem” could be word combinations like “asshole”. So then you have to add a specific censor entry or combine this into one.

    You could test it with this tester and check the case insensitive.

  10. Offline


    I'm really having a headache getting this to work with CraftIRC

    Can someone please post some samples for the correct herochat and craftirc configs - i checked the wiki but it didn't mention what to put under 'game-to-IRC:' etc..

    I tried - channel
    That was in a sample thread here but it didnt do anything for me

    Then i thought maybe it meant the irc channel name so i tried that but it didnt work either

  11. Offline

    Russian potato

    say i cant find any nodes i mean idk if i will even need them but if you could write them out that would be great but again its not that important
  12. Offline


    Anyone know how to get rid of the [g] at the start of everyones chat?
  13. Offline


    @DThielke : Please test against latest RB.

    @weresdrim : Remove all channel prefixes, such as [h] and [g]:

        default-message-format: '[{nick}] {color.WHITE}{prefix}{player}{suffix}{color.WHITE}: '
    Only remove tag from global chat ([g]) and leave other tags in, such as [h] (In your global channel config):

            message-format: '{color.WHITE}{prefix}{player}{suffix}{color.WHITE}: '
  14. Offline


    Can you please add a more customizable {world} tag? What I mean by this is that if the world folder name is world_nether, I want to have an alias for it so it displays Nether in chat for exampe. Also an option to toggle showing of the {world} tag depending on the world.

    This is the scenario I am trying to create.
    I have world, world_nether and sky
    I want people that are in world_nether to say Nether in the chat, and people in sky to say Sky. However I do not want people in the default world (world) to have world next to their name.

    If you could implement this it would be awesome :)
  15. Offline


    On the latest version , and all my channels are no longer appearing in the list etc, Any reccomendations?
  16. Offline


    Does anyone know how to get this to output to the console?
  17. Offline


    Hi there, I understand that there are a lot of support related questions on this thread, so I will not expect this to be answered right away. With that said, I have a question regarding the chat color functionality of this plugin.

    I am running the latest build of craftbukkit and am running minecraft 1.7.2. (not that this will really matter for the question but i figured it wouldn't hurt to mention that.). I have successfully configured the plugin and it is running flawlessly, I just have one minor question that I'm confused on. Embarrassing as it may be, I have no idea how to add color to different groups. I am purely wanting nothing but the groups name to hold a given color value that I assign it.

    I have tried to do my research and I'm fairly certain that with permissions, you can customize the colors of the group names. Within permissions, I have assigned the groups a color value in the "prefix" line, but that has proven so far to do nothing. I am running the latest stable build of permissions. YAML formatting, (will soon be switching over to the SQL version of that, but I'm assuming that won't cause an issue with this problem.)

    Given the situation and problem that I have, would someone be able to help me troubleshoot my group name color issue I am having?

    I would greatly appreciate any help that one may have to offer.

  18. Offline


    It is my understanding that the Latest 3.x of Permissions, although okay, doesn't work with HeroChat in terms of using prefix and suffix's.
  19. Offline


    Thank you very much, if this was documented somewhere, sorry for my ignorance ^_^. With that said, is there a combination of other plugins that can be used alongside herochat to give the groups in game a name color?
  20. Offline


    HeroChat works completely fine on my side with Permissions 3.1.6

    I have used Prefixes and Suffixes and with colors..
  21. Offline


    Anywere i can get an older version? I'm using Group manager over Permissions and I've got a few problems with the latest version - I.E. No channels or commands actually exist.
  22. Offline


    Would you mind giving showing your herochat configuration and permissions configuration so i can see the differences between yours and mine?

    Please, and thanks :)
  23. Offline


    i cant get anything except the defaults working. can i edit everything from the config file? or only ingame?
  24. Offline


    default: true
            - xxxxxx
            inheritance: []
                prefix: '&8[Guest] '
                build: false
                suffix: ''
            default: false
            - xxxxxxxx
            inheritance: []
                prefix: ''
                build: true
                suffix: ''
            default: false
            - xxxxxxxxxxxx
            - player
                prefix: '&6'
                build: true
                suffix: '&6'
            default: false
            - '*'
            inheritance: []
                prefix: '&a='
                build: true
                suffix: '&a='
    I just removed the permission nodes from the config to save space

        separate-chat-log: false
        incoming-tell-format: '&5From&f {prefix}{player}{suffix}&5: '
        - xxxxxx
        plugin-tag: '[HeroChat] '
        craftIRC-prefix: '#'
        outgoing-tell-format: '&5To&f {receiver}&5: '
        default-channel: Global
        default-message-format: '{color}[{nick}] &f{prefix}{player}{suffix}{color}: '
        craftIRC-message-format: '[{nick}] {player}: '
            color: RED
            nickname: q
                - Moderator
                - SuperAdmin
                - Moderator
                - SuperAdmin
            message-format: '&4[AdminChat] {prefix}{player}{suffix}{color}: '
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
                bans: []
                moderators: []
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: true
            local-distance: 30
            color: GREEN
            nickname: l
                speak: []
                join: []
            message-format: '&2[Local] &f{prefix}{player}{suffix}{color}: '
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
                bans: []
                - DarkAge0
                - XeroS1x
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: true
                cross-world-chat: true
                join-messages: false
                forced: true
            color: LIGHT_PURPLE
            nickname: a
                - Admin
                - SuperAdmin
                join: []
            message-format: '&dAnnouncement{color}: '
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
                bans: []
                moderators: []
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: true
            color: LIGHT_GRAY
            nickname: g
                speak: []
                join: []
            message-format: '{prefix}{player}{suffix}{color}: '
                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: true
  25. Offline


    Use code-tags instead of quote-tags.

  26. Offline


    Ah damn that's embarrasing... how could I forget that xD
  27. Offline


    I have the same problem, if i change anything in the config file and reloads the server the config flie is restored to default.

    Edit: I guess that big red text was too big and red for my eyes to see, also i jumped to assume it was a bug, since I'm not used to that kind of behavior from a plugin and it's config-file. Thank you and sorry.
  28. Offline


    Are you so lazy and don't read even the OP? Oh man :(

  29. Offline


    Edit : Solved Problem Sorry.
  30. Offline


    Could you please extend the ChannelMessageEvent to make it useable not only for badword filters? Adding the player would already help alot ;) Maybe even extend the PlayerChatEvent?
  31. Offline


    ...and prefixes work on "groups" other than Default?

    I would simply be extatic if you could share your herochat and Permissions config.

Share This Page