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

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

  1. Offline

    DThielke

    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.

    Features
    • 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

    nemesis91

    I already have. Go read all of what I said rather than the first paragraph.

    Another tip - read and think for yourself.

    You definitely have a penchant for not fully reading what is in front of you. Allow me to elaborate:

    1. There is practically no documentation for the CraftIRC integration. It is a small section which does not show examples of working HeroChat IRC integration configuration settings or configuration changes which need to be done to CraftIRC to even get it to work.

      He does point out this (as a sorry little one-liner):



      This is incorrect. I tried this and it failed using CraftIRC 2.13 and HeroChat v4.10.3. I had to enable these events AND change 'cancelled-chat' to true only after discovering what was going on through looking at CraftIRC debug messages.
    2. It doesn't provide the correct configuration settings - just more one-liners. I read through this thread, found countless people with the same problem (who were equally ignored) and nobody posted their working CraftIRC configurations. The documentation fails to point out if you're supposed to list the IRC channel or related CraftIRC TAG node. It states "channel tag" which is conflicting because he fails to additionally point out if he is referencing an IRC channel name or the channel tag inside CraftIRC's config.yml.
    3. He deviates from the standard use of a reload command. This is also poorly documented. Dear God I don't want to elaborate on this one. What a boatload of fail. And he has the nerve to get angry!

    I have. I even posted my HeroChat config.yml. Did you miss that too? Learn to read and I will gladly stop the ad hominem attacks. Until then I am rightfully pissed off that a broken plugin exists with ill-supporting documentation while the resident fanbois fiercely defend a buggy piece of software with feigned righteousness when someone asks for simple help while providing his HeroChat configuration and relevant CraftIRC settings.
     
  3. Offline

    Redyugi

    @nemesis91 Broken? Buggy? Go away.
    There are so many responses to this thread that we can't catch them all, so no we didn't see your config. So back off. At least you figured out what was wrong. Good for you. Now stop spamming the thread with your selfrighteous attitude, and let us help people who actually need it.
     
  4. Offline

    4am

    CraftIRC documentation was changed. "Last edited by ochristi, June 07, 2011" - perhaps this did not used to be true? I don't remember having to do that. Again, it has been a while since I updated or reconfigured CraftIRC; however I don't think its fair you get angry because you failed to read and understand CraftIRC's documentation. It is not HeroChat's job to document CraftIRC, and while there is a discrepancy between the two, you would have realized that based on actually reading both. Then you could have politely pointed this out for others, which would have helped the author of this plugin be aware of an outstanding issue and others in the thread to understand a solution to this problem.

    You definitely have a penchant for not fully reading what is in front of you. I don't see how that could be made any clearer.

    I dont' recall the author of this plugin getting angry at anyone (or posting to you). I'm not going to go back 67 pages and look for it, either. This plugin was created before Bukkit has persistence, and saving the config file when the plugin is disabled is used as a method to preserve any channel changes and settings you may have made in-game. This is WELL documented. If you INSIST on editing your config file while your server is running, /ch reload. I'm fairly certain many major plugins have their own reload command so that config changes can be made without /reload-ing the whole server. WordEdit and Essentials come to mind immediately.

    No one had to defend anything until you acted like an ass to try and get attention. Perhaps next time offer some constructive criticism instead of whinning like a baby.
     
  5. Offline

    PureTryOut

    Because nobody is answering here is my problem again:

     
  6. Offline

    Redyugi

    Sounds like you need to post an error log because you have an issue with your config probably.
    You probably have Essentials Chat.
     
  7. Offline

    4am

    It sounds like you are making a change to the config file which isn't valid YAML. When the plugin tries to reload, it doesn't have a config to go by (because it can't be loaded) and it disables itself. Are there any errors in your log when this happens? You should see errors from snakeYAML and then HeroChat will say its disabled. If you could post a spoiler of the snakeYAML error and what you're changing, we can help further.

    Make sure you're not using any other chat plugins like iChat, mChat, EssentialsChat, or two copies of HeroChat by accident.

    Weird, your post didn't show up before but now I see it. Well anyway, yes, correct on both counts.

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

    dave47561879

    how can i get ride of "[DEFAULT-NICK]" in front of everyones name? i tried just deleting "[DEFAULT-NICK]", not the whole line, so its just blank, but it keeps coming back. any help appreciated
     
  9. Offline

    Redyugi

    Post your config. Sounds odd.
    And make sure you edit your config while the server is offline.
     
  10. Offline

    dave47561879

    Code:
    globals:
        separate-chat-log: false
        incoming-tell-format: '&8From {player}: &d'
        censors:
        - \bu+\W*m+a+d+(\W*br(a|o)+)?
        - some_other_word;replacement
        plugin-tag: '§e[HeroChat] '
        craftIRC-prefix: '#'
        outgoing-tell-format: '&8To {receiver}: &d'
        default-channel: Global
        default-message-format: '{color}[{nick}] &f{prefix}{player}{suffix}{color}: '
        craftIRC-message-format: '[{nick}] {player}: '
    channels:
        Staff:
            color: LIGHT_GREEN
            nickname: staff
            permissions:
                speak: []
                join:
                - admins
                - mods
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: true
                forced: false
        Local:
            local-distance: 100
            color: YELLOW
            nickname: l
            permissions:
                speak: []
                join: []
            message-format: '&f{prefix}{player}{suffix}{color}: '
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: true
                cross-world-chat: true
                join-messages: false
                forced: false
        AlertSystem:
            color: ROSE
            nickname: alert
            permissions:
                speak:
                - admins
                - mods
                join: []
            message-format: '&4[ALERT]{color}: '
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: true
        HelpMe:
            color: LIGHT_BLUE
            nickname: h
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: false
        Global:
            color: WHITE
            nickname: DEFAULT-NICK
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: false
    
     
  11. Offline

    4am

    You have your global channel's nickname set to "DEFAULT-NICK". The 'nickname' field is supposed to be a shortened name for your channel (this is normally set to 'g') so you can do /g <message> and send a message to that channel quickly, without changing your focus when you're in more than one channel.

    The reason you see it is that your default display-format settings are used (because of message-format: '{default}') and default-message-format: '{color}[{nick}] &f{prefix}{player}{suffix}{color}: ' puts the channel nickname the message is coming from before the player's prefix.

    If you prefer, you can edit your default-message-format: to not have {nick} in it, but then you won't know what channel a message came from!

    Change nickname: DEFAULT-NICK to nickname: 'g' and your problem will be solved (HeroChat will operate like normal). What where you trying to do when you changed your setting like that? Perhaps we can suggest a way to accomplish what you wanted?

    If you edit your config file while HeroChat is running, use /ch reload - don't /reload your plugins. When HeroChat is reloaded by the server, it saves over your config file with whatever settings are currently running (this is to preserve your channels in case you made new ones in-game). If you /ch reload, it forces all settings from the config file to be loaded from disk. PLEASE NOTE - if any players have made channels, they'll be deleted if they haven't been saved to the config file previously.
     
  12. Offline

    Drool

    Are you using CraftBukkit RB 1000? As I pointed out before, I too had HeroChat and CraftIRC working well together until upgrading to build 1000 from some 1.6.6 build. Several others have reported this problem. IRC-to-game works, game-to-IRC doesn't. Can you confirm - IS there a problem with the v4 code, then?

    Edit: Perhaps this bug (if it is a bug) is the source of confusion regarding the quality of the documentation.
     
  13. Offline

    4am

    I'll have to do some testing with this tonight. I'll get back to you.
     
  14. Offline

    dave47561879



    my sever will not be taking advantage of the whole multichannel thing. I only want 1 channel. the only reason i have herochat is to color my users names via the GlobalGroups.yml from Permissions 3.1.6. So your telling me there is no way to completely get rid of it?
     
  15. Offline

    Redyugi

    Get rid of the nick name? Easy, like this.
    Code:
        default-message-format: '&f{prefix}{player}{suffix}{color}: '
     
  16. Offline

    4am

    No, you certainly can get rid of it and have one channel. Do the following:
    1. Under the Channels: section of your config, remove everything except the Global: subsection (you might want to keep Staff and AlertSystem so you and your mods have a private channel - this is up to you though).
    2. In your globals: section (at the top, not the Channel: named Global), change default-message-format: and remove "{color}[{nick}]" from the beginning of it; this is telling HeroChat you want to insert the channel's color: and then the nickname: from the channel's config section. Remove this and HeroChat will start with '&f{prefix}{player}{suffix}{color}:'
    3. Optionally, if you want your channels to default to white text, remove {color} from the end of the string as well, and move the color indicator before {player} and before the colon, so you have default-message-format: '{prefix}&f{player}{suffix}&f:'. This says to HeroChat "show the prefix (including any color settings), then change to white text and show the player's name, then show the suffix (including any color settings), then change to white, then a colon'. The player's message is automatically appended to the end of this.
    4. Under your Channels: for Global: in the options: secton, change forced: true and make sure auto-join: is also true. This makes your players join the Global channel and ensures they cannot leave it for any reason.
    5. In your permissions, make sure that only Admins (or mods or whatever) have access to any of the HeroChat commands; otherwise users might be able to change/create channels.
    It looks like a lot of work because I explained the reasons for doing everything, but this should probably take you less than 5 minutes to do. be sure you shut down your server before you edit your config (it's the safest way - once you are done you shouldn't need to edit this again). Let me know if you have any issues!
     
  17. Offline

    Kainzo

    I'm really glad that the community has helped each other with the support ;)
     
    Redyugi likes this.
  18. Offline

    dave47561879

    I appreciate all the help, but i have no clue what you said. I feel like an idiot lol. I managed to do everything but i got stuck at 2 &3. it removed the nick, but now the colors (set by the Prefix in Permissions) isnt there. can you edit this for me?

    Code:
    globals:
        separate-chat-log: false
        incoming-tell-format: '&8From {player}: &d'
        censors:
        - \bu+\W*m+a+d+(\W*br(a|o)+)?
        - some_other_word;replacement
        plugin-tag: '§e[HeroChat] '
        craftIRC-prefix: '#'
        outgoing-tell-format: '&8To {receiver}: &d'
        default-channel: Global
        default-message-format: '{color} &f{prefix}{player}{suffix}{color}: '
        craftIRC-message-format: '[{nick}] {player}: '
    channels:
        Global:
            color: WHITE
            nickname: g
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: true
    
     
  19. Offline

    4am

    The {color} at the start of the default-message-format: is unecessary (the &f immediately changes whatever the color is into white), so you can get rid of that and the &f, just to be sure those are not the issue (they shouldn't be).

    Based on what you told me, your default-message-format should be:
    Code:
    default-message-format: '{prefix}&f{player}{suffix}&f: '
    This forces the {player} and everything from the colon (':') to the end of the message to be white; and should allow for custom colors included in the prefix and suffix fields.

    The only reason {prefix} wouldn't have the right color is if the color wasn't set/applied correctly in Permissions; make sure you're specifying the colors correctly, and there aren't any per-world or per-user prefixes set that will override the global-group prefix. HeroChat posts the prefix unmodified as it is returned from Permissions (I even checked the source code), so focus on Permissions config for the answer for now.
     
  20. Offline

    Vaupell

    recently started using this :D and like it.
    1 major problem, when joining a channel you have to type the /prefix for each message. :(

    i got a channel named "nordic" so people join nordic and chat there.
    but have to type /nordic infront of each message is annoying.. cant we be chatting in the last channel we used
    so i stay in nordic until i maybe switch back to /g etc ?
    Cant find any info in the wiki on this subject.
     
  21. Offline

    4am

    After you join a channel, I thought it was the primary focus (my server is set up with a Local and a Global and they're both forced, so I don't join/part chat channels much). If not, /ch focus <channel|nickname> will set your focus on the channel of your choosing, and regular chat will just go there without using commands. A user's focus is preserved across /reloads and server restarts in the users.yml file (don't edit this file unless you know what you're doing!)

    While in multiple channels, you will see messages from both. using the /<nickname> shortcus command is only for sending quick one-off messages to a channel without changing focus (admins can use the AlertMe channel with /a for example) without having to switch, chat, and then switch back.
     
  22. Offline

    Vaupell

    tx, for some reason my channel is set to "local" but only me. that sux.
    tryed leaving/rejoing global didnt work.
    now i tryed /ch focus global result = channel not found.
    /ch focus ? = channel not found.
    cant find that focus command in the help file either..
    EDIT : SOLVED
    To switch active channel just type /ch channelname <enter> and it sets focus :D YAY . AWSOME
    plugin thank you
     
  23. Offline

    MrCamping

    I udated to CB1000 with HeroChat 4.10.3 recently, and for some reason the focus on channels doesn't seem to work anymore. I also use CraftIRC 2.13

    If I do /staff <text>, my message show up in staff channel. No problem here.
    But if I do, /ch staff - plugin return "Set Focus on Staff" However, my next text shows up in Global.

    Also, the [g] doesn't appear before text as it use to do when we talk in Global. But it does for other channels. Here's my config file.

    Code:
    globals:
        separate-chat-log: false
        incoming-tell-format: '&8From {player}: &d'
        censors:
        - \bu+\W*m+a+d+(\W*br(a|o)+)?
        - some_other_word;replacement
        plugin-tag: '§e[HeroChat] '
        craftIRC-prefix: '#'
        outgoing-tell-format: '&8To {receiver}: &d'
        default-channel: Global
        default-message-format: '{color}[{nick}] &f{prefix}{player}{suffix}{color}: '
        craftIRC-message-format: '[{nick}] {player}: '
    channels:
        AT:
            color: PURPLE
            nickname: AT
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators:
                - Postal9
            options:
                hidden: true
                shortcut-allowed: true
                auto-join: false
                local: false
                cross-world-chat: true
                join-messages: true
                forced: false
        Staff:
            color: ROSE
            nickname: staff
            permissions:
                speak: []
                join:
                - Admins
                - Mods
                - Devs
                - Recruteur
            message-format: '{default}'
            craftIRC:
                game-to-IRC: []
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: true
                forced: false
        Global:
            color: WHITE
            nickname: g
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            craftIRC:
                game-to-IRC:
                - MinecraftQc
                IRC-to-game: []
            worlds: []
            password: ''
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                cross-world-chat: true
                join-messages: false
                forced: false
    
    
    
    I've removed couple of channels because I have more then 10. But they're all exactly like AT.

    Any clues?
     
  24. Offline

    4am

    *facepalm* That's right /ch stands for *channel* there is no "focus" command. Shows how much I even get to go on my server anymore!
     
    Redyugi likes this.
  25. Offline

    N0z

    Does it work for CB 1000?
     
  26. Offline

    Redyugi

    Yes
     
  27. Offline

    N0z

    Ok thanks
     
  28. Offline

    Ant59

    Doesn't work.
     
  29. Offline

    bl1tz0r

    Hello When ever i chat I get it coming up double ( once in herochat and once in normal chat ) config is all default
     
  30. Offline

    Redyugi

    Get rid of Essentials Chat/
    More information then that please.
     
  31. Offline

    andreblue

    did you give yourself the permissions, and are you recreating the channel?
     

Share This Page