[INACTIVE][CHAT] iChat 1.6 (Rebirth) - Continuing the legacy [440+]

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 27, 2011.

  1. Offline

    TheYeti

    iChat (1.6) for Permissions (Required)
    Download latest (JAR Only)
    Older: 1.6 (JAR)

    Uses the Prefix/Suffix & Group Name for your chat. I decided to release this myself as I am slowly taking over a lot of Nijikokun's other projects. I am currently the official developer for Permissions and saw that in her iChat thread there was a lot of people clamoring for support, updates, and being able to download it.

    Colors:
    Setup your prefix / suffix like so, in your Permissions/config.yml
    Code:
    prefix: '&c'
    User Specific Prefix Suffix:
    In 1.4+ Users can specific prefix/suffixes:

    Code:
    DarkGrave
        group: Admin
        info:
            prefix: '&4'
    	suffix:
        permissions:
    
    For this to work, the users name must be exact casing. IE: It's case-sensitive. Google it.

    Healthy Bar
    Miss the health bar from healthy? Well in 1.4+ you can utilize it with the +healthbar tag.

    Censoring:
    In config.yml there is now a censor-list that holds bad words to be filtered.

    Message Format:
    To change how your message is displayed, open iChat/config.yml located under plugins/ and add this line:

    Code:
    message-format: '[+world+prefix+group+suffix&f] +name: +message'
    
    You can use colors and the +tags are the variables shown in chat. They are not required so you can add / remove them as you see fit. Move them around, configure it however you wish.

    Enjoy !

    Changelog
    • 1.6
      • Added multiworld support
      • Cleaned up code
      • Updated to newest Permissions system
    • 1.5.1
      • Fixed censoring, added some new features. Check config.yml
    • 1.5
      • Censor list.
    • 1.4
      • Health Bar, User specific Prefix / Suffix & More.
    Thanks to:
    Nijikokun - Without their original work this plugin would not be possible

    Source - Wiki
     
  2. Offline

    Kaikz

    So there's iChat 2.x by Drakia, and now iChat 1.6? :eek:
     
  3. Offline

    TheYeti

    Wait what? I specifically started working on it and released it because I had talked with Nijikokun and as far as either was aware no one was working on this, Permissions, or General (all things I am taking over from her). I also even checked the git repo to see if anyone else had forked this and no one had.
     
  4. Offline

    Dreadreaver

  5. Offline

    DierWolf

    your correct
     
  6. Offline

    Kaikz

    Oh well. It's nice to have options.
     
  7. Offline

    M1sT3rM4n

    Found an interesting bug:

    Whenever you type one letter, number, or character in the chat, you lose your prefix.

    2-28-2011 12-21-40 PM.png
     
  8. Offline

    TheYeti

    Interesting. I will take a look at it. Thanks for letting me know M1sT3rM4n. I have a feeling that this was an error that was carried over from Niji's code.

    @M1sT3rM4n Okay, redownload it and test that. It should work much better now. Tested it with a plethora of single character messages and stupidly long messages and wasn't able to generate any errors.
     
    M1sT3rM4n likes this.
  9. Offline

    Kainzo

    Good luck :D
     
  10. Offline

    Blackstorm72

    Can't wait for your release of General - love the /i command from it. (That is, you are releasing Niji's General) - i'll take a look at this too.
     
  11. Offline

    TheYeti

    That wasn't ominous or anything Kainzo.
     
  12. Offline

    Kainzo

    *rubs his hands evily!*
     
  13. Offline

    Kayonesoft

    I second the General comment.
     
  14. Offline

    Kainzo

    General, yes please.
     
  15. Offline

    JamieOwns

    This is from my post in submissions as I do not know whether it's an iChat or Permissions error.

    BTW @Kainzo could you review my submission for WhiteList on HerCraft please lol :)
     
  16. Offline

    Kainzo

    Not to derail this thread, but pm me the link - and ill have the staff look at it.
     
  17. Offline

    Boof

    I'm utterly confused with this Bukkit stuff. I think there needs to be more tutorials than what there are. The wiki says there's like 4 plugins available. I come to the forums and it's flooded with plugins that I can't even use because they don't support the latest version of CraftBukkit. Total confusion.
     
  18. Offline

    Johannes

  19. Offline

    IndianaX

    I still get the error: [SEVERE] Could not pass event PLAYER_CHAT to iChat
    I use the latest version of CraftBukkit (481) and Permissions (2.5).
     
  20. Offline

    TheYeti

  21. Offline

    DiseasedFox

    I'm running 440:

    2011-02-28 21:53:53 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroupPrefix(Control.java:564)
    at net.theyeticave.theyeti.iChat.Listener.onPlayerChat(Listener.java:51)
    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: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-02-28 21:53:53 [INFO] <DiseasedFox> blah

    This also seems to break LoginMessage, which is a pain in the ass because I love both these plugins. The one that being developed by someone else is also broken. I'd prefer to use this one.

    EDIT: Here's the error I get with LoginMessage. Figured it might help to make these two more compatible.

    2011-02-28 21:53:47 [INFO] DiseasedFox [/124.182.50.21:50528] logged in with entity id 135
    2011-02-28 21:53:47 [INFO] Loaded world: world
    2011-02-28 21:53:47 [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroupPrefix(Control.java:564)
    at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:167)
    at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:57)
    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)

    You're doing a good job, though, keep it up :D
     
  22. Offline

    Johannes

    Haha, yes I know who you are, I was just curious if there was anything different feature-wise. Understandable =)
     
  23. Offline

    TheYeti

    A few things I think but not anything major. Mine can show what world your in and has plans for making it an actual full blown chat system. Don't know about the other guy.
    --- merged: Mar 1, 2011 8:21 AM ---
    This is actually a problem with Permissions that has been in there since before I took it over that I just discovered when I updated to the newest version. I am working on a fix for it right now as it caused a metric buttload of errors when I added AntiBuild functionality into Permissions.
     
  24. Offline

    sumTard

    If its headed for a full chat system, please please add passworded channels :D I've yet to find another plugin that implements this. General would also be nice, as we're trying to find an alternative to the bloated essentials :/
     
  25. Offline

    Johannes

    I'm having an issue where the user's prefix/suffix aren't being used.
    I'm using Craftbukkit 478, iChat 1.6 and permissions 2.5.1.

    [Edit] It was the capitalization of the user. Couldn't you have it just ignore caps in the name when you check for the user? something like (forgive my crappy pseudo code)
    Code:
    if( cur_user.name.toLowerCase().equals(list_user[i].name.toLowerCase()) ){
    // correct user found.
    }
     
  26. /me requests GroupManager support.

    The previous ichat worked with GroupManager, sadly, this does not :(.
     
  27. Offline

    undefinedarray

    very nice, works, but i do have a tini problemo, whenever someone says something, it says their rank name twice

    ex: [Admin] Adminfugie

    the rank is admin, and name is fugie, how can i fix this?

    permissions config below:

    http://pastebin.com/JYVthYqU

    iChat config below:

    http://pastebin.com/zFG5aFrQ
     
  28. Offline

    Johannes

    I had the same issue before: You have EssentialsChat installed. EssentialsChat will tack on the prefix/suffix to the +name tag automatically. Remove EssentialsChat and it will work fine.
     
  29. Offline

    undefinedarray

    thanks you
     
  30. Offline

    RchGrav

    @TheYeti

    I caught this on the console... some character code must not have been stripped out... CB440

    Code:
    [SERVER] java.util.UnknownFormatConversionException: Conversion = '9'
    [SERVER]        at org.bukkit.event.player.PlayerChatEvent.setFormat(PlayerChatEvent.java:88)
    [SERVER]        at net.theyeticave.theyeti.iChat.Listener.onPlayerChat(Listener.java:80)
    [SERVER]        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:160)
    [SERVER]        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    [SERVER]        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    [SERVER]        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:607)
    [SERVER]        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    [SERVER]        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    [SERVER]        at net.minecraft.server.NetworkManager.a(SourceFile:230)
    [SERVER]        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    [SERVER]        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    [SERVER]        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    [SERVER]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    [SERVER]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     

Share This Page