Inactive [CHAT] nChat 0.8 - Barebones chat [1.2.4-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by niccholaspage, Feb 25, 2011.

  1. Offline

    thorncrown

    Work's fine on #953, tested and no problems.
     
  2. Offline

    Hopium

    love the plugin its dead simple only 1 suggestion can you make +timestamp work in the join/part messages thanks alot for the plugin
     
  3. Offline

    niccholaspage

    What? The plugin isn't dead. And yes, I'm going to get everything working for the join/leave messages.
     
  4. Offline

    Hopium

    meant dead simple as in straight forward/easy to use :D sorry if i offended you
     
  5. Offline

    niccholaspage

    Oh. Sorry, fail reading there. :p
     
  6. Offline

    thorncrown

    Hey, got a problem: When somebody logs in theres a second message.

    "Thorncrown has logged in." (standard)
    "My nChat costum message."

    Don't know what I have to change, now...
     
  7. Offline

    Dez

    Hey i have a bug to report. Whenever a player logins or leaves the message say <playername> logged in is blank like there is nothing showing and same with logging out. Until this is fixed or checked into i wont be using nchat no more.
     
  8. Hello im having some problems. Whenever I talk the left bracket isnt the right color ( as shown below) 2011-07-13_13.42.25.png
    Yeah and also my name is red? I would like it to be white. Im using group manager and i cant figure it out. It happens with every group. Help would be appreciated.
     
  9. Offline

    Edeuh

    @GuildofGreatness
    Your name is red because you are op. Type /deop GuildofGreatness

    And for my problem,
    i use this leave message : '&c[-] &7+name &ehas left the game'
    but, when a player leaves the game, his name is the same as in the game (prefix, color) although I want the name is in gray.
     
  10. Offline

    hjdumanator

    For some reason, the join and leave messages aren't working for me. On the default configuration, It doesn't show any message at all, and when I try something like '+user has logged on.' it shows up just like that; instead of substituting the +user for the actual username. Please help me out.

    Thanks
    -HJ
     
  11. Offline

    niccholaspage

    It's not +user, it's +name for the display name, or +rname for their username.

    In other news, 0.6 will come out in a few days with the default join and leave messages already in the config file and allowing them to be able to use all the options the message format can.
     
  12. Offline

    hjdumanator

    Oops, my bad, haha! Anyways, I love your plugin. It is exactly what I needed for my server! Cannot wait for future updates.

    -HJ
     
  13. Offline

    niccholaspage

    Thanks.
     
  14. Hey when i deopped my nam still appeared in red. I dont know and also my left [ still appears in white whilst it should be another color. Please help!
     
  15. Offline

    niccholaspage

    0.6 will be out today, just testing now.
     
  16. Offline

    obscurehero

    Awesome! Thanks for the hard work! I like this better than iChat...much more reliable and you seem like more of an affable guy.
     
  17. Offline

    niccholaspage

    Thank you! 0.6 is out.
     
  18. Offline

    derlaft

    Hello!

    I have some suggestions for your plugin:

    1) in nChatPlayerListener.formatMessage you have:
    Code:
    String[] old = new String[]{"+name", "+rname", "+group", "+prefix", "+suffix", "+world", "+timestamp", "&", "+message"};
    String[] replacements = new String[]{player.getDisplayName(), player.getName(), group, prefix, suffix, world, time, "�", message};
    
    Maybe I use wrong encoding, but my packages of nChat doesn't show color messages. But they works with some modifications:
    In fomatMesage:
    Code:
    String[] old = new String[]{"+name", "+rname", "+group", "+prefix", "+suffix", "+world", "+timestamp", "+message"};
    String[] replacements = new String[]{player.getDisplayName(), player.getName(), group, prefix, suffix, world, time, message};
    with replaced return in nChat.replaceSplit:
    Code:
    return str.replaceAll("(&([a-f0-9]))", "\u00A7$2");
    What do you think about it?
    2) Will you add API for other plugins? I want to set user suffix from my plugin. But I didn't find any chat plugin that can do it. So I have to mod your plugin to get such functionality. In my opinion, it is not serious to public my plugin with a mod of nChat.

    //Sorry for my pure English
     
  19. Offline

    obscurehero

    not to make you work too hard, but any plan on implementing superperms prefix/suffix ability?
     
  20. Offline

    niccholaspage

    I will in the future, I'm just looking for a good way to implement it.
     
  21. Offline

    zachoooo

    Please add superperms support. mChat isnt very good. It requires too much permissions and its annoying!
     
  22. Offline

    niccholaspage

    Thanks for that 1 thing. Modified the code a bit and pushed it, and it works great :) I will add an API I guess. Maybe a custom event that allows setting the prefix, suffix, and group to display?
     
  23. Offline

    dralletje

    cool plugin :D
    could you add a feature to edit the /me format?
    that is much used on my server and thats the main reason why I use iChat
     
  24. Offline

    niccholaspage

    Sure.
     
  25. I feel a bit stupid. I have set set the permissions according to the OP (using PermissionsBukkit).

    The chat isn't formated in any way.
    But i do get this error. It looks like something with permissions is wrong but i cant figure out what.
    Code:
    [SEVERE] Could not pass event PLAYER_JOIN to nChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getPermissionString(PermissionHandler.java:154)
        at com.niccholaspage.nChat.nChatPlayerListener.formatMessage(nChatPlayerListener.java:43)
        at com.niccholaspage.nChat.nChatPlayerListener.onPlayerJoin(nChatPlayerListener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-22 19:27:14 [SEVERE] Could not pass event PLAYER_CHAT to nChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getPermissionString(PermissionHandler.java:154)
        at com.niccholaspage.nChat.nChatPlayerListener.formatMessage(nChatPlayerListener.java:43)
        at com.niccholaspage.nChat.nChatPlayerListener.onPlayerChat(nChatPlayerListener.java:76)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Anything i missed?

    cheers
    Lathanael
     
  26. Offline

    derlaft

    Yes, it could be great! Also you can add custom nodes for plugins in order to keep away prefix and suffix from plugins. Like "+<pluginname>".
     
  27. Offline

    niccholaspage

    I'll add in something like event.getNode("+chicken").set("blahblah"); Which would take any message format with +chicken and replace it with whatever blah is.
     
  28. Offline

    oqenscool

    is there any chance that you add channels like Help..
    Mods join the channel like a sub channel, their main will be the global channel and per /h or something else they can answer in the Help channel.
    And the Member on the server can request that the mod switch them to the Help channel and after the mod helpen them also kick them out of the channel

    is it possible or will it be just a dream? :'D
     
  29. Offline

    chelben9

    i have permissionsbukkit and craftbukkit 1000 does it not work with either of thoughs
     
  30. Looks like it does not support PermissionBukkit/Superpermbridge.

    CB:1000
    Using nChat v0.6
    PermBukkit: 1.1
    SupermBridge:1.2

    I always get the error i already posted:
    Code:
    [SEVERE] Could not pass event PLAYER_JOIN to nChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getPermissionString(PermissionHandler.java:154)
        at com.niccholaspage.nChat.nChatPlayerListener.formatMessage(nChatPlayerListener.java:43)
        at com.niccholaspage.nChat.nChatPlayerListener.onPlayerJoin(nChatPlayerListener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-22 19:27:14 [SEVERE] Could not pass event PLAYER_CHAT to nChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getPermissionString(PermissionHandler.java:154)
        at com.niccholaspage.nChat.nChatPlayerListener.formatMessage(nChatPlayerListener.java:43)
        at com.niccholaspage.nChat.nChatPlayerListener.onPlayerChat(nChatPlayerListener.java:76)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     

Share This Page