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

    Either post those configs in code tags or put them on pastebin so that the formatting is preserved. Also, could you post the full error your getting? The first line itself isn't very useful to me.
    --- merged: Mar 2, 2011 4:21 PM ---
    I like the look of this. I'll add support later today.
     
    TOAST7312 likes this.
  3. Offline

    TOAST7312

    Ok, here they are then; the error code, and both config files.

    Also of note, I do not like the way this forum's code paste thing works but that's beyond the point here:

    Code:
    2011-03-02 11:45:35 [SEVERE] Could not pass event PLAYER_JOIN to HeroChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(L
    java/lang/String;Ljava/lang/String;)Ljava/lang/String;
            at com.herocraftonline.dthielke.herochat.util.PermissionHelper.getGroup(
    PermissionHelper.java:18)
            at com.herocraftonline.dthielke.herochat.channels.ChannelManager.joinAut
    oChannels(ChannelManager.java:40)
            at com.herocraftonline.dthielke.herochat.util.ConfigManager.loadPlayer(C
    onfigManager.java:125)
            at com.herocraftonline.dthielke.herochat.util.ConfigManager.loadPlayer(C
    onfigManager.java:109)
            at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayer
    Join(HeroChatPlayerListener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-02 11:45:49 [SEVERE] Could not pass event PLAYER_CHAT to HeroChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(L
    java/lang/String;Ljava/lang/String;)Ljava/lang/String;
            at com.herocraftonline.dthielke.herochat.util.PermissionHelper.getGroup(
    PermissionHelper.java:18)
            at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayer
    Chat(HeroChatPlayerListener.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:160)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:607)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-02 11:45:49 [INFO] <TOAST7312ºf> hey
    

    Code:
    # Supports "system: default" and "system: GroupUsers"
    plugin:
        permissions:
            system: default
    groups:
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - mods
            permissions:
                - '*'
        Mods:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - vip
            permissions:
                - iConomy.withdraw
                - iConomy.deposit
                - iConomy.reset
                - essentials.tp
                - essentials.tphere
                - essentials.jump
                - essentials.top
                - essentials.kick
                - essentials.ban
                - essentials.unban
                - essentials.banip
                - essentials.unbanip
                - essentials.plugin
                - essentials.essentials
                - petition.moderate
                - lwc.mod
                - vanish.vanish
                    - vanish.vanish.list
        VIP:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - default
            permissions:
                - essentials.me
                - essentials.home
                - essentials.sethome
                - essentials.mail
                    - essentials.mail.send
                - essentials.helpop
                - essentials.getpos
                - essentials.spawn
                - essentials.motd
                - essentials.afk
                - essentials.msg
                - essentials.compass
                - essentials.depth
                - simpleshop.buy
                - simpleshop.sell
                - simpleshop.items.remove
                - simpleshop.items.reload
                - simpleshop.items.add
                - simpleshop.items.update
                - iConomy.payment
                - iConomy.rank
                - iConomy.list
                - petition.petition
                - lwc.protect
        default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - essentials.help
                - essentials.rules
                - essentials.whois
                - essentials.list
                - essentials.online
    users:
        TOAST7312:
            group: admins
            permissions:
                - lwc.admin
        Wanderneko:
            group: VIP
            permissions:
        WindEarthSeaSky:
            group: VIP
            permissions:
        Schmitty42:
            group: VIP
            permissions:
        Majestic1989:
            group: VIP
            permissions:
        Haelelti:
            group: VIP
            permission:

    Code:
    globals:
        default-local-distance: 100
        plugin-tag: '[HeroChat] '
        default-channel: Global
        default-message-format: '{color.CHANNEL}[{nick}] {color.WHITE}{prefix}{player}{suffix}{color.CHANNEL}: '
    channels:
        Local:
            color: YELLOW
            nickname: l
            permissions:
                speak: []
                join: []
            message-format: '{color.WHITE}{prefix}{player}{suffix}{color.CHANNEL}: '
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: true
                join-messages: false
                forced: false
        Staff:
            color: LIGHT_GREEN
            nickname: staff
            permissions:
                speak: []
                join:
                - Admins
                - Mods
            message-format: '{default}'
            lists:
                bans: []
                moderators: []
            options:
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                join-messages: true
                forced: false
        AlertSystem:
            color: ROSE
            nickname: alert
            permissions:
                speak:
                - Admins
                - Mods
                join: []
            message-format: '{color.RED}[ALERT]{color.CHANNEL}: '
            lists:
                bans: []
                moderators: []
            options:
                hidden: true
                shortcut-allowed: true
                auto-join: true
                local: false
                join-messages: false
                forced: true
        Global:
            color: GREEN
            nickname: g
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                join-messages: false
                forced: false
        HelpMe:
            color: LIGHT_BLUE
            nickname: h
            permissions:
                speak: []
                join: []
            message-format: '{default}'
            lists:
                bans: []
                moderators: []
            options:
                hidden: false
                shortcut-allowed: true
                auto-join: true
                local: false
                join-messages: false
                forced: false
    CraftBukkit 440, Permissions 2.5.1, HeroChat 4.0.1
     
  4. Offline

    DThielke

    I'm fairly certain Permissions groups are case-sensitive. In the users section you define yourself as a member of the 'admins' group, but in the groups section you name the group 'Admins'. Similarly, under the Admins group you define inheritance from 'mods', but the group is actually called 'Mods'. Change everything to match case and see if you still have issues.
    --- merged: Mar 2, 2011 5:00 PM ---
    Also just as another check, is your permissions config named after your world?
     
  5. Offline

    TOAST7312

    Yeah, no, my permissions config is named TOAST as per the directory that my world is in. If it wasn't I'd be having a great deal more issues with my server then I already am.

    I'll post something on here as to the results once I've corrected all the errors. Thank you.
     
  6. Offline

    Tebbs

    Hey, I have a bit of a text wrapping problem. I've seen people post this before, Is there anything I can do about it?
    e.g wrap.png
     
  7. Offline

    TOAST7312

    I've corrected the case of all areas via the replace function in both the TOAST.yml(permissions) and hero chat config.yml and still receive the error below. If it helps the first error occurs only once, the first time a person speaks on the server, and the following one occurs each time a player speaks. The plugin itself as a whole is non-functional because of these errors.

    I've also included pastebin links to the corrected configs in the hopes that you might see an error made that I didn't, because I've looked it over many times and didn't see anything.

    Code:
    2011-03-02 12:32:41 [SEVERE] Could not pass event PLAYER_JOIN to HeroChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(L
    java/lang/String;Ljava/lang/String;)Ljava/lang/String;
            at com.herocraftonline.dthielke.herochat.util.PermissionHelper.getGroup(
    PermissionHelper.java:18)
            at com.herocraftonline.dthielke.herochat.channels.ChannelManager.joinAut
    oChannels(ChannelManager.java:40)
            at com.herocraftonline.dthielke.herochat.util.ConfigManager.loadPlayer(C
    onfigManager.java:125)
            at com.herocraftonline.dthielke.herochat.util.ConfigManager.loadPlayer(C
    onfigManager.java:109)
            at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayer
    Join(HeroChatPlayerListener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfiguration
    Manager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Code:
    2011-03-02 12:32:51 [SEVERE] Could not pass event PLAYER_CHAT to HeroChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(L
    java/lang/String;Ljava/lang/String;)Ljava/lang/String;
            at com.herocraftonline.dthielke.herochat.util.PermissionHelper.getGroup(
    PermissionHelper.java:18)
            at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayer
    Chat(HeroChatPlayerListener.java:29)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:160)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:607)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    TOAST.yml:
    http://pastebin.com/R1Zd98GS

    HeroChat - config.yml:
    http://pastebin.com/VjAJU54s
     
  8. Offline

    DThielke

    Okay, I tried using your HeroChat and Permissions configs (the only change I made was to add myself as an Admin) and everything worked fine. So, the issue must be somewhere else. Redownload the latest versions of HeroChat and Permissions (even if you think you already have them, just to be safe). If you still have issues with those, then stop the server and delete your users.yml (this shouldn't have any effect, but who knows). The only other thing it could be is a misnamed Permissions file.
     
  9. Offline

    TOAST7312

    Ok. I have re-downloaded both plugins at their current version and this has changed nothing. Same exact error. I then tried it with the version of permissions that my CraftBukkitUpToDate suggested and that did nothing either.

    I then deleted the users.yml, which like you said did nothing.

    And as proof of my permissions confing being named properly I took this shot:

    [​IMG]

    If that's incorrect I will proceed to eat my own hat.
     
  10. Offline

    DThielke

    Strange. What other plugins are you running?
     
  11. Offline

    AnjoCaido

    Just came here to say: It works with GroupManager 1.0

    So long Permissions 2.x!
     
  12. Offline

    DThielke

    Happy to hear.
    --- merged: Mar 2, 2011 7:24 PM ---
    Oh Toasty, I don't mean to question your intelligence, but you DID download TheYeti's version of Permissions right?
     
  13. Offline

    MLBKing

    I know I understand. Thanks a ton [​IMG]
     
  14. Offline

    john286

    Yes thats what I am using
     
  15. Offline

    Jobsti

    Huhu little Info:
    Works perfect with GM 1.0 and #493

    But me and my Users don't like to type /qm l [message] instead of /l [message]

    Update:
    In the new version (4.01 #493, GM 1.0), me (admin) only join:
    - Local
    - HelpMe
    - Global

    With old version (3.14 #440, GM 0.99) I join in alle channels:
    - Local
    - AlertSystem
    - HelpMe
    - Global
    - Staff

    Same configs!

    Request:
    - Delete/remove default Users from config after disconnect.
    - I want to add healthbar to the GroupPrefix in GM/Perm. like iChat.
     
  16. Offline

    DThielke

    I really miss the old quick messaging functionality too, but unfortunately Bukkit has made it impossible to dynamically declare commands at runtime, so the old method is no longer possible. The new /qm command is as close to the old functionality as I can get.

    Could you post your configs so I can look into your auto-joining issue?

    Health bars will be back in as soon as I reintegrate iChat (hopefully within a day or so). Regarding your other request, what is the motivation behind it? Why do you want default Users removed from the config? I'm not saying I won't do it, but I'm unclear what the intention is.
    --- merged: Mar 3, 2011 1:55 AM ---
    Update to the latest versions of everything (HeroChat 4.0.1 and Permissions 2.5.1) and see if you still have issues.
     
  17. Offline

    HoppyDragon

    I've tried just about every single CB build from 440 and up and I'm getting the same error with HeroChat 4.0.1. Whenever I use the /qm command I get this error.
     
  18. Offline

    DThielke

    Just to be clear, is that error occurring ONLY with the /qm command? Regular chatting works fine?
     
  19. Offline

    HoppyDragon

    To be entirely honest, I'm new to HeroChat, but if typing in the chat box like normal is using HeroChat, then yes it does.
     
  20. Offline

    Jobsti

    Also with Default configs ;)
    http://pastebin.com/CU35vhtW
    And yep, my Groups in GroupManager are "admin" and "mod"
    For testing, I delteted the users.yml file.

    Because some big Servers have default guest user, which just looking around.... after some time the config will be really big. (not on my little Server *g* )


    Edit... Lol.... Deleted the users.yml, reinstalled herochat 4.01 and GM 1.0, serverrestart. Now I looked into the users file on my testserver:
    Code:
    users:
        Jobsti:
            active-channel: Local
            joined-channels:
            - Local
        Hidendra:
            active-channel: Local
            joined-channels:
            - Local
    
    wtf?! Config see above.
    I'am always admin. Hidendra was guest und I promoted him to member.


    Edit2:
    So... delete the users file, /reload. Same. Stop Server (again!), delete users file. start Server.
    Now a new users file, but empty. /reload. users file is now correct, I'm in all channels. Weird, because I did the same 2 times ^^
     
  21. Offline

    DThielke

    The users file won't be saved until you issue a stop command to the server. If you have issues the best thing to do is stop the server, delete users.yml file and start the server again. When the server is stopped again, the new users.yml will be saved.
     
  22. Offline

    Jobsti

    Did it.... but worked only on the 3rd time. I report later again, if a user connect.
     
  23. Offline

    DThielke

    Minor Update

    Change Log
    Version 4.0.2
    • Minor change to make HeroChat compatible with future Permissions version names
    --- merged: Mar 3, 2011 5:01 PM ---
    Another update with a number of new and cool features.

    HeroChat now has full multi-world support. You can now define which channels you want to work in which worlds by specifying the worlds in the config.yml. To make a channel usable in every world, just leave the worlds option blank. Your configs will automatically be updated to add the world option. You can now also add the {world} tag to message formats to show the world the speaker is in.

    I have also added the {healthbar} tag back in, but this time iChat is not required. I have also made the health bar a bit smaller because I felt the one created by iChat took up too much space.

    I'm sure many of you will be happy to hear that the old quick message feature is back! You can once again type /<channel> <message> to send a quick message to a channel without changing your focus. To new users, this is equivalent to type /qm <channel> <message>, but it's quicker.

    Last but not least, there is a new sendMessage method in the Channel class that other developers can use to send messages to channels from their plugins.

    Enjoy!

    Change Log
    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.
     
  24. Offline

    averad

    Error using latest HeroChat zip file 4.1 CB 440 Permissions 2.5.1

    Code:
    2011-03-03 18:06:39 [INFO] [HeroChat] Error encountered while fetching prefixes/suffixes from Permissions. Is Permissions properly configured and up to date?
    Default users and VIP users are working fine its only Admins having this issue on our server.

    Code:
        Admins:
            default: false
            info:
                prefix: '&f[&4Admin&f] &c'
                suffix: '&1'
                build: true
            inheritance:
            permissions:
                - '*'
    
    Code:
        Vip:
            default: false
            info:
                prefix: '&f[&eVIP&f] &6'
                suffix: '&6'
                build: true
            inheritance:
                - Registered
            permissions:
                - 'magiccarpet.*'
                - 'essentials.heal'
                - 'multiverse.mvtp'
                - 'essentials.time'
                - 'monstertamer.player.check'
                - 'monstertamer.player.catch'
                - 'movecraft.*'
    
     
  25. Offline

    Marcus3213

    I'm having some Bad trouble with this plugin atm, used to work just fine, but one day it freaked out.
    This is the MSG(s) i get.

    EVERYTHING i got is updated to the latest.

    At startup:
    2011-03-03 22:43:14 [INFO] HeroChat version 3.21 disabled.
    2011-03-03 22:43:14 [SEVERE] null (Is it up to date?)
    java.lang.NullPointerException
    at com.herocraftonline.dthielke.herochat.HeroChatPlugin.log(HeroChatPlugin.java:331)
    at com.herocraftonline.dthielke.herochat.HeroChatPlugin.onEnable(HeroChatPlugin.java:368)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:76)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:57)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    At player join:
    2011-03-03 22:43:21 [INFO] Marcus3213 [***********] logged in with entity id 191
    2011-03-03 22:43:21 [SEVERE] Could not pass event PLAYER_JOIN to HeroChat
    java.lang.NullPointerException
    at com.herocraftonline.dthielke.herochat.HeroChatPlugin.checkNewPlayerSettings(HeroChatPlugin.java:166)
    at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayerJoin(HeroChatPlayerListener.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:130)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:97)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    At Player talk:
    2011-03-03 22:43:25 [SEVERE] Could not pass event PLAYER_CHAT to HeroChat
    java.lang.NullPointerException
    at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayerChat(HeroChatPlayerListener.java:28)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:160)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:602)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  26. Offline

    DThielke

    averad, could you post your full Permissions config?

    Marcus3213, update to the latest version of HeroChat.
     
  27. Offline

    averad

    http://pastebin.com/LXvgRAhx

    NOTE: When I pasted to pastebin an extra linebreak was entered in the admin section, that line break is not in the config file.

    I removed the users from the file as I didn't want to list 400+ users.
     
  28. Offline

    imaxorz

    Can someone explain the difference between using /ch join and /ch <channel name> aka joining a channel VS setting an active channel?

    Thank you! :)
    --- merged: Mar 3, 2011 7:20 PM ---
    14:18:02 [INFO] Loaded world: world
    14:18:05 [INFO] null
    14:18:05 [INFO] null
    14:18:05 [INFO] [HeroChat] Error encountered while fetching prefixes/suffixes fr
    om Permissions. Is Permissions properly configured and up to date?
    14:18:05 [INFO] [HeroChat] [g] §4imaxorz§f: such
    14:18:14 [INFO] null
    14:18:14 [INFO] null

    I am using the latest permissions plug in. This is on a fresh HeroChat config files. Permissions is working at it should.
     
  29. Offline

    Marcus3213

    I updated and i still get...
    2011-03-03 23:26:08 [SEVERE] Could not pass event PLAYER_CHAT to HeroChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    at com.herocraftonline.dthielke.herochat.util.PermissionHelper.getGroup(PermissionHelper.java:19)
    at com.herocraftonline.dthielke.herochat.HeroChatPlayerListener.onPlayerChat(HeroChatPlayerListener.java:41)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:160)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:602)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  30. Offline

    TOAST7312

    Essentials Suite(minus groupmanager and groupbridge)
    BigBrother 1.6.2
    Minecart Mania Suite(except automations) 1.01a
    LWC 1.57
    Treehugger 0.7c
    CraftBukkitUpToDate 2.0
    Dynmap 0.13
    DeathTPPlus 1.75
    Vanish 1.5
    WorldGuard 4.0 alpha 1
    WorldEdit 4.0 beta 8
    Towny 46
    RealShop 35
    iConomy 4.2
    Permission 2.5.1
    Tombstone 1.03
    Groups 0.15(allows his other plugins to use permissions or something idk)
    Persistence 0.52
    nethergate 0.51
    --- merged: Mar 3, 2011 8:55 PM ---
    Ok so I updated HeroChat and get a different error now:

    Code:
    2011-03-03 15:49:59 [INFO] null
    2011-03-03 15:49:59 [INFO] null
    2011-03-03 15:49:59 [INFO] [HeroChat] Error encountered while fetching prefixes/
    suffixes from Permissions. Is Permissions properly configured and up to date?
    2011-03-03 15:49:59 [INFO] [HeroChat] [g] TOAST7312ºf: Hey
    2011-03-03 15:50:20 [INFO] null
    2011-03-03 15:50:20 [INFO] null
    2011-03-03 15:50:20 [INFO] [HeroChat] Error encountered while fetching prefixes/
    suffixes from Permissions. Is Permissions properly configured and up to date?
    2011-03-03 15:50:20 [INFO] [HeroChat] [g] TOAST7312ºf: hey
    
    This error is actually making it so no one can chat on the server. Chat text entered appears in hte console but not in the game. Interesting, no?
     
  31. Offline

    DThielke

    averad, I tried your Permissions config and had no issues with setting myself as an admin. However, I find that extra blank line in your config a little suspect (pasting doesn't magically add characters to text). I would suggest deleting the Admins section and re-writing it by hand to make sure there are no typos. If that doesn't fix it, then there is probably an issue with your users: section. So if you're still having errors after retyping the Admins section, then could you please post the code for one of your admin users?

    imaxorz, the join command only joins a channel without changing which channel has focus. If you have channel A focused, then /join channel B and type a message, the message will still go to channel A. However, if you use the /ch <channel> command, you will both join the channel (if necessary) and give it focus. If you have channel A focused, then /ch channel B and type a message, the message (and all future messages) will now go to channel B.

    In order for me to help you with your error, I'll need you to upload your Permissions config to pastebin and provide me a link.

    Marcus3213, please refer to the OP for a list of things I need in order to help you.

    TOAST7312, I assume you've updated to the latest version (4.1.0) and still get the same error?
     

Share This Page