Inactive [CHAT] jChat v1.4.3 - Simple chat prefixes and suffixes [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by grandwazir, Jul 19, 2011.

  1. Offline

    grandwazir

    jChat is a simple and flexible plugin for the Minecraft wrapper Bukkit designed to allow adding prefixes and suffixes to players names. Currently it is only compatible with SuperPerms, the permissions system in Bukkit.

    Features
    • Lightweight: only manages prefixes and suffixes.
    • Modifies join, death and quit messages to reflect player's display names.
    • Player list (tab) now reflects player's display names.
    • Fast: Formats a players' name permanently on login and when a player changes worlds.
    • Good citizen: Does not interfere with other chat plugins.
    • Simple: Very easy to configure, simply assign the permission nodes to players.
    Installation

    Ensure you are using the latest recommended build.

    Before installing, you need to make sure you are running at least the latest recommended build for Bukkit. Support is only given for problems when using a recommended build. This does not mean that the plugin will not work on other versions of Bukkit, the likelihood is it will, but it is not supported.

    Getting jChat

    The best way to install jChat is to use the symbolic link to the latest version. This link always points to the latest version of jChat, so is safe to use in scripts or update plugins. Additionally you can to use the RSS feed provided by BukkitDev as this also includes a version changelog.

    Alternatively older versions are available as well, however they are not supported. If you are forced to use an older version for whatever reason, please let me know why by opening a issue on GitHub.

    Configuration

    Read the documentation

    All documentation for jChat is available on the GitHub wiki, including example usage and details on how to configure the plugin.
     
    FredKing27 and Pilkie like this.
  2. Offline

    CW934

    Hey, this plugin is pretty cool. My welcome messages and everything get formatted well. Only problem: when we promote users (change their group), their chat doesn't get formatted until they quit and join again. In the plugin description it says "Fast: Formats name on login and world change." Can you make a toggle that lets it update when a user is promoted? Or at least have a /jchat reload or something! I also found a bug: when promoting users, when they change worlds, it keeps both prefixes (old and new). So it would look like this: [Guest] [Member] Player.
     
  3. Offline

    grandwazir

    Ah ok - thanks I'll check the prefix bug. I have this problem as well but the issue is that there is no way (at least that I know of) for me to find out when the permissions on a player change. A manual reload function might be the best way.
     
  4. Offline

    grandwazir

    This is fixed in the latest version.
     
  5. Offline

    ratty

    Just one thing to add on that bug where after promoting users they still retain the old color until they log out and in, if they teleport to another world that also makes it see the change. Can't it just check the permissions everytime they chat?
     
  6. Offline

    Athelestan

    how come i can only have up to 3 different ones at a time???
    i.e.
    admin
    creator
    default
    builder
    moderator
    i have all five of them but only 3 of them can work at a time. any reason why?
     
  7. Offline

    SPAMCraft1

    @grandwazir
    Question, is this going to be updated to build 1060 and will it be continually updated?
    Also, when you said: Build #1000 and higher, does that mean it will work with ANYTHING after #1000?
    And finally, are you ever going to stop supporting this. (I'm looking for a long term chat plugin since iChat is gone.)
     
  8. Offline

    grandwazir

    jChat looks through in order to find a prefix and stops when it finds one. What is happening in your configuration is that it is getting to default (which I assume you give to everyone) and stopping. Basically either put default at the bottom of your list or remove it as a permission node for other groups.

    It does work fine with #1060, all my plugins run on my own server so they need to be. There are coded in a way the majority of the time they do not break when Bukkit updates (none of them have so far).

    I will be supporting all my plugins until I stop running my own minecraft server (which is not likely to stop soon)

    I could do but it is totally unnecessary. How many times do people chat on your server combined with how many times prefixes actually change. It is quite pointless for me to set the displayName every time someone speaks because it defeats the point of setting a displayName in the first place.

    I do agree with you I need to find a way to promote users when their permissions change but I have not found an event to watch when a permission changes.

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

    ratty

    For my server at least, its not a big deal, I just tell people to warp to another world after they're promoted and its fine. We only promote about 1 or 2 people a day so its not a big deal.
     
  10. Offline

    SPAMCraft1

    Hah, ok thanks!
     
  11. Offline

    SPAMCraft1

    Ok @grandwazir
    This is a great simple plugin!
    I've formatted the config file and the correct permission nodes, BUT i have a problem. When the player logs into the server, it shows the correct color and prefix. Example: {Owner}: SPAMCraft1 has joined the game
    But when I type, all it shows is: <SPAMCraft1> Test (The text is white though)
    What have i done wrong? I've tried deleting player data and everything, but to no avail. Please help
    @grandwazir
     
  12. Offline

    grandwazir

    Try unloading all plugins other than permissions and jchat and see if that fixes the problem.
     
  13. Offline

    SPAMCraft1

    What do you mean by unloading? Removing temporarily?

    @grandwazir
    Look at my comment

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

    grandwazir

    Yeah, remove them temporarily.
     
  15. Offline

    Flome1404

    Hi @grandwazir first great Plugin but i got the same problem as @SPAMCraft1
    and i figured out it's a problem with essentials.jar(2.5.7) is there anyway to fix this? I tried to comment(#) all essentialschat configs but it doesn´t help :(
     
  16. Offline

    SPAMCraft1

    @Flome1404
    Crap! So if we'd want it to work, we'd have to remove essentials?!!?
     
  17. Offline

    Flome1404

    @SPAMCraft1 at the moment yes it works perfectly fine without essentials.jar but i need essentials so i hope grandwazir knows how to fix or workaround otherwise i need another chat plugin
     
  18. Offline

    SPAMCraft1

    Hey @grandwazir
    Could you try and fix this problem that me and @Flome1404 are having? Essentials is essential (sorry:p) for any bukkit server. CommandBook and General are buggy with me, so i basically rely on Essentials. Please somehow try and make it compatible. :D
     
  19. Offline

    SPAMCraft1

    Hello? Where's @grandwazir ?
    Could when you update this for 1.8 somehow fix the conflict with essentials?
    Possibly add a censor?
     
  20. Offline

    grandwazir

    I have been busy with work recently. Good detective work in finding out the cause. Basically I guess what is happening is it is formatting the player's name every time they chat which overrides what I am doing. This would seem to be the case since it stops happening when you remove Essentials.

    This isn't my bug to fix. You will need to ask them for a way to disable EssentialsChat without disabling everything else.
     
  21. Offline

    SPAMCraft1

    Ok @grandwazir
    Thanks, i'm basically going to live on the Essentials Forum Post and nag. :p
     
  22. Offline

    Tux_Peng

  23. Offline

    xLively

    I get this error when I start jChat.

    Code:
    22:08:23 [INFO] [jChat] Loaded configuration: plugins/jChat/config.yml
    22:08:23 [SEVERE] Error occurred while enabling jChat v1.1.3 (Is it up to date?): null
    java.lang.NullPointerException
        at name.richardson.james.jchat.jChat.searchNodes(jChat.java:121)
        at name.richardson.james.jchat.jChat.setDisplayName(jChat.java:85)
        at name.richardson.james.jchat.jChat.onEnable(jChat.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:452)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  24. Offline

    Jochum

    love it
     
  25. Offline

    ZacTheDead

    This is the config.yml
    Code:
    colourMessages:
        join: true
        quit: true
    prefix:
        admin: '[&BA&2D&DM&4I&AN&&]'
        member: [&4Member&&]
        vip: [&5VIP&&]
        friend: [&3Friend&&]
        mod: [&4M&&]
    suffix:
        admin:
        guest:
    and this is the Error
    Code:
    ERROR:
    
    while scanning an anchor
      in "<unicode string>", line 6, column 14:
            member: [&4Member&&]
                     ^
    expected alphabetic or numeric character, but found '&'
      in "<unicode string>", line 6, column 22:
            member: [&4Member&&]
     
  26. Offline

    godsyn

    in Essentials/config.yml
    set:
    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    to:
    Code:
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: false
    @grandwazir
    Any chance you could check to see if their group(permissions) have changed on chat, or better yet when a user has a change in their permissions in any way?
    reason:
    It is rather annoying to kick a user after setting their group to see the changes.
    Thanks for the awesome/simple plugin.

    Notice how the admin has single quotes (apostrophes) around it? It is also in the default config.. and in the examples above. You may want to encapsulate the other groups, too.

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

    godsyn

    Thank you again for this excellent plugin. It is the only one I've found that works with permissions, and multiverse's prefixes.
     
  28. Offline

    SPAMCraft1

    Hey @grandwazir
    No offense, but i might be switching back to mChat or i'll try out Herochat. DO NOT take this personally. I'm switching due to that essentials error that me and @Flome1404 found. NOT SAYING that your plugin is no good, i just want something a "wee bit" more reliable? (I'm not sure i'm saying this correctly)
    Your plugin IS GOOD, but i have been sorta hooked into Herochat and i'm sorta intrigued with it...

    I have a question for you though. No matter what, I'm going to stick with a plugin that will be developed until Minecraft comes out fully, will you update yours until it is finally released?
     
  29. Offline

    Flome1404

    I dont know why but it works for me perfectly @SPAMCraft1 issnt there a point in the new essentials config that says allow other chat or something i go have a look

    cant find what im searching for but it definitly works for me now. i have deleted the essentialschat.jar and wrote something in the essentials config.yml give me an adress or something and i send you my configs @SPAMCraft1

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

    grandwazir

    I will be supporting my plugins until release unless I stop running my own server. In the new recommended build there is a way to detect if a player switches worlds so that will solve that particular bug.

    Like I said earlier, the people to talk to are the essentials developers. Sadly I am not able to fix a bug their plugins..
     
  31. Offline

    godsyn

    See this post:
    http://forums.bukkit.org/threads/ch...permissions-api-1240.27116/page-2#post-686772
     

Share This Page