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

    DThielke

    I see two immediate issues.
    1. Your admins group inherits Moderator when it should inherit moderator.
    2. Your caziban user is in the admin group when he should be in the admins group.
    If you're still having issues after fixing these two things, please also post your HeroChat config.

    --- merged: Feb 6, 2011 11:58 AM ---
    Small bug fix update. The mod command now works and the list command no longer puts a @ in front of everyone's name if you're a chat admin.

    Changelog:
    Version 2.67
    • Bug fix: issue with /ch list
    • Bug fix: issue with /ch mod
     
  3. Offline

    Xemnas33

    This is what's in the data.yml file:

    Code:
    !<configuration>
    channels:
    -   channel:
            color: GREEN
            identifiers: {nick: g, name: Global}
            lists:
                bans: []
                moderators: []
            messageFormat: '{default}'
            options: {quickMessagable: true, permanent: true, hidden: false, auto: true, local: false, forced: false}
            permissions:
                speak: []
                join: []
    -   channel:
            color: LIGHT_BLUE
            identifiers: {nick: h, name: HelpMe}
            lists:
                bans: []
                moderators: []
            messageFormat: '{default}'
            options: {quickMessagable: true, permanent: true, hidden: false, auto: true, local: false, forced: false}
            permissions:
                speak: []
                join: []
    -   channel:
            color: YELLOW
            identifiers: {nick: l, name: Local}
            lists:
                bans: []
                moderators: []
            messageFormat: '{color.WHITE}{prefix}{player}{suffix}{color.CHANNEL}: '
            options: {quickMessagable: true, permanent: true, hidden: false, auto: true, local: true, forced: false}
            permissions:
                speak: []
                join: []
    -   channel:
            color: LIGHT_GREEN
            identifiers: {nick: mod, name: Mods}
            lists:
                bans: []
                moderators: []
            messageFormat: '{default}'
            options: {quickMessagable: true, permanent: true, hidden: true, auto: true, local: false, forced: false}
            permissions:
                speak: []
                join: [Admins, Moderators]
    -   channel:
            color: ROSE
            identifiers: {nick: alert, name: AlertSystem}
            lists:
                bans: []
                moderators: []
            messageFormat: '{color.RED}[ALERT]{color.CHANNEL}: '
            options: {quickMessagable: true, permanent: true, hidden: true, auto: true, local: false, forced: true}
            permissions:
                speak: [Admins, Moderators]
                join: []
    defaultChannel: Global
    defaultMessageFormat: '{color.CHANNEL}[{nick}] {color.WHITE}{prefix}{player}{suffix}{color.CHANNEL}: '
    localDistance: 100
    But it only gives me the top 3 channels =/
     
  4. Offline

    DThielke

    Have you actually tried using the other two channels (with the appropriate Admins or Moderators permissions)? Note that both of the last two channels have hidden set to true, meaning that they won't show up on the /ch channels list even if they exist.
     
  5. Offline

    Xemnas33

    Ah thanks, they only actually loaded after I found and deleted the other .yml file that was hiding >.>

    Is there some sort of /silence command to leave every channel? So you would only have to listen to anything an admin or mod says.

    Code:
    org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null; mapping values are not allowed here (Is it up to date?)
    mapping values are not allowed here
     in "<reader>", line 54, column 34:
                options: (quickMessagable: true, permenant: true, hidden: ...
                                         ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:204)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at com.bukkit.dthielke.herochat.util.ConfigurationHandler.parseFile(Conf
    igurationHandler.java:95)
            at com.bukkit.dthielke.herochat.util.ConfigurationHandler.load(Configura
    tionHandler.java:43)
            at com.bukkit.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.j
    ava:259)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:384)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:64)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    I hate those errors :( I don't know why they even happen when I follow the examples already made that work fine :S
     
  6. Offline

    DThielke

    There's no silence command.

    That error is occurring because on that options: line, you have a parenthesis in "options: (" rather than a curly brace as in "options: {". If you fix that the error should go away.
     
  7. Offline

    Caziban

    Thank you so much! I have it working now! I'll definitely be using HeroChat over iChat simply because of the support you offer! I highly appreciate your help!
     
  8. Offline

    DThielke

    Happy to help :) thanks for the support!
     
  9. Offline

    errdivideby0

    For some reason half the mod doesn't seem to be working for me. The default channel appears, I can talk, etc, but for some reason I can't make new channels, use the /ch list command or many of the other commands. I think there might a problem with my install because two of the files mentioned did not appear in my HeroCraft folder but I don't know what to do about that. I've tried installing it but it didn't work doing that either...
     
  10. Offline

    DThielke

    The archive linked on the first page (make sure you are NOT downloading the .jar only link) includes HeroChat.jar, a folder called HeroChat and a file called data.yml inside that folder. Make sure you are extracting both HeroChat.jar and the folder to your plugins folder AS IS. Without touching the data.yml file, try to load the server (preferably without any other plugins to make sure your issue isn't one of conflicting plugins) and see if the commands work.
     
  11. Offline

    errdivideby0

    I installed it with the folder Herochat that has the data.yml and the herochat.jar inside the plugins folder. Tried it with and without other plugins but the commands still don't seem to be working. What is weird is it was working temporarily when I first installed it but for some reason it stopped.... I'm using the latest build of bukkit (264 I believe it is) if that helps at all..
     
  12. Offline

    CorumAnime

    HeroChat is awesome, can't imagine how I managed without it! Its also truly inspiring to see the level of active support DThielke is providing for this - glad to have spotted this plugin early on, saved me a lot of work.

    Looking to get the newest version - just wondering if it might still work on b165 or did you add new methods that weren't around then? I'll give it a try anyway just worth keeping in mind compatibility for people who are waiting for other plugins to be updated for latest bukkit etc.

    Regarding Permissions - is there a way I can give different prefixes to people in the same group? Currently to give two people different titles I have to make unique groups for them. Also suffixes don't display? I shouldn't be asking this here especially since I'm using old versions of bukkit and permissions but just in case you came across the same thing.

    Thanks again!
    Corum.
     
  13. Offline

    Kainzo

    I'm glad you're happy with HeroChat! Dthielke is a very skilled and helpful coder and is a great addition to our coding team :)

    You can add in titles by using the Permissions user: prefix/suffix - the PLAYER/user format will always take instead of the group setting.
     
  14. Offline

    DThielke

    Correct, as Kainzo said, you can define user based prefixes and suffixes just as you can for groups. Note however, that HeroChat only support Permissions 2.0+, so if you are using an older version you will have to update. Besides that, HeroChat should still work with older versions of craft bukkit.
     
  15. Offline

    AndyPandy89

    Hey,
    Very nice plugin, got pretty much everything a server owner can wish for =)

    One thing that I would like to see added is the following:
    I'm running a greylist which means the default-group (guest-group) only has building rights in a certain area, and are restricted to a guest chat which our members doesn't necessarily needs to see.
    The members join a separate, general chat when they join the server, and doesn't join the guest chat by default.

    Can you implement this in your plugin? A way for guest to join the guest-chat, and members to join another channel by default?

    Also, don't know if this would require you to do anything with your plugin, but on my server we're using Auctions and they can get a little spammy sometimes and not everyone is interested in seeing them constantly. Therefore it would be pretty neat if iAuction by Zaraza107 could send all it's auctions-notifications to a separate auctions-channel which players could choose to leave. I'm guessing this may require you to add some sort of API for others plugins to use channels?

    Andy
    Server-Admin,
    www.ultimateminecraft.net
     
  16. Offline

    DThielke

    I've been meaning to implement something along these lines, I just haven't gotten around to it. I'll try to have this implemented by the end of the week.

    Yeah, I can create an API for other plugins to send messages to particular channels - that shouldn't be hard to do. It'd then be up to Zaraza107 to make use of it.

    Check back for updates.
     
  17. Offline

    TheYeti

    Accidentally updated my CraftBukkit to build 271 and discovered that HeroChat will not work with it. Here is my version line:
    2011-02-07 10:19:15 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-360-gf5b151f-b271 (MC: 1.2_01)

    After which it spits out the following:
    Feb 7, 2011 10:19:18 AM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:174)
    at com.bukkit.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.java:277)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:394)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:69)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:50)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:167)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:154)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:106)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

    This is on a clean install with no other plugins running and a fresh copy of HeroChat installed with no modifications done. (Set it up in my dev environment so I could do some testing). Now here is the funny thing, if I roll back to previous builds of CraftBukkit it will still continue to do this. I have rolled back as far as build #166 before I gave up and decided to come to the forums to see if anyone could help me figure out what exactly is going on.
     
  18. Offline

    DThielke

    Try installing permissions.
     
  19. Offline

    TheYeti

    Okie dokie. I officially feel like a tool now. As when I had accidentally updated on the live server it was throwing that error with permissions installed. However, on the dev side I somehow completely missed installing it. Wow, thanks a ton. Now to figure out what was actually breaking.
     
  20. Offline

    PixelLegacy

    Just letting you know that if you assign a prefix with a "$" anywhere inside of it it will corrupt the group for the HeroChat plugin. It works with iChat strangely.
     
  21. Offline

    DThielke

    Interesting, you do happen to have an error dump you could post?
     
  22. Offline

    PixelLegacy

    Sorry it took a bit. Was on my server exploring, and when I went to check my server log it wasn't in there so I changed my prefix back to the $.

    This only happens with the group with the $ prefix.

    Code:
    Feb 7, 2011 9:19:12 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_CHAT to HeroChat
    java.lang.IllegalArgumentException: Illegal group reference
            at java.util.regex.Matcher.appendReplacement(Matcher.java:725)
            at java.util.regex.Matcher.replaceAll(Matcher.java:823)
            at java.lang.String.replaceAll(String.java:2201)
            at com.bukkit.dthielke.herochat.util.MessageFormatter.applyFormat(MessageFormatter.java:93)
            at com.bukkit.dthielke.herochat.util.MessageFormatter.createLeader(MessageFormatter.java:154)
            at com.bukkit.dthielke.herochat.util.MessageFormatter.formatMessageWrapped(MessageFormatter.java:164)
            at com.bukkit.dthielke.herochat.Channel.sendMessage(Channel.java:468)
            at com.bukkit.dthielke.herochat.HeroChatPlayerListener.onPlayerChat(HeroChatPlayerListener.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:148)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:579)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  23. Offline

    TheYeti

    Okay so I tried it again. Only loading Permissions and HeroChat. Seems that for some reason if I generate a new world it will work perfectly fine. However, if I attempt to use our current world then HeroChat spits out constant errors as seen below. From what I can tell it almost looks like something about build #271 seems to have done something wonky to the world files and something goes wrong after it loads it and then tries to move on to plugins. I have made sure that it is loading Permissions first and that it loads without any complaints about the config files. I have also put both config files in a yaml parser and they come out clean. Here is what it is spitting out:

    Feb 7, 2011 1:08:00 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
    at com.bukkit.dthielke.herochat.util.ConfigurationHandler.load(ConfigurationHandler.java:57)
    at com.bukkit.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.java:260)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:394)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:69)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:50)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:167)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:154)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:106)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  24. Offline

    DThielke

    Could you post your config? After comparing the error with the code, it definitely looks like it's coming from a malformed configuration. Even if it's syntactically correct YAML, it could still lack something the plugin is looking for.
     
  25. Offline

    TheYeti

    Here is the pastebin of the HeroChat config file: http://pastebin.com/ucLKDKyD
    Here is the pastebin of the Permissions config file: http://pastebin.com/BM32SrBt

    And one thing to note, the weird line breaks aren't in there. I was copying/pasting off a terminal window so it formatted it weird.
     
  26. Offline

    DThielke

    Aha! So after a lot of staring and head-scratching, I found the problem.

    Your last channel (Karast), has the messageFormat and options lines are intended once more than they need to be. Format those two lines just like in the other channels and it should work again.
     
  27. Offline

    TheYeti

    Wow, so I wasn't the only one that couldn't see it. My players will love you. Will donate again later. Glad to see plugin developers like you that provide massively great support for their plugins.
     
  28. Offline

    GmK

    Still love this plugin! <3

    Do you think you could put something like a 'World' Prefix option in? With the new multiworld support people might want to prefix chat with the world the user currently is in, or maybe even have world specific channels and such.
     
  29. Offline

    DThielke

    Oh boy. This definitely sounds like something I want to do, but unfortunately I haven't had a chance to mess with / experience the multiworld support yet. I have three other features I'd like to implement in the next week before I delve into multiworld support. So this isn't a no, just a not quite yet.
     
  30. Offline

    TribeOfGaja

    Is there any way to define more than one local channel? We'd love to have some whipser (5 blocks range), some talking (20 blocks range) and some yelling (100 blocks range), but I can only set one "localdistance" at the end of data.yml. :)

    Keep up the great work. HeroChat is a very useful tool.
     
  31. Offline

    DThielke

    This is definitely something I can add without much effort. I'll try to squeeze it in this week.
     
    Verac likes this.

Share This Page