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

    jamietech

    So is this fine?
    Code:
    nChat:
        messageformat: '[+prefix+group+suffix&f] +prefix +name: +message'
        colorcharacter: '~'
    The prefixes being in Permissions.
     
  2. Offline

    niccholaspage

    Looks good to me.
     
  3. Offline

    nichiatu

  4. Offline

    OkinKun

    Anyone else getting an error and nChat failing for a moment when someone uses $ in their chat?
    If I should post the full error, just ask.
     
  5. Offline

    niccholaspage

    Fixing it!
    --- merged: Mar 3, 2011 1:01 AM ---
    Fixed! Also fixed the \ character.
     
  6. Offline

    Agentman1

    Thanks alot dude, i really appreciate you putting this out
    ichat wouldn't work on my server either and this helped alot ^-^ thanks

    may your day be filled with [​IMG]
     
  7. Offline

    niccholaspage

    Your welcome! Diamond ore? Oh come on, we all know diamond blocks are better! Lol thanks.
     
  8. Offline

    OkinKun

    Thanks for fixing that!

    I really like this plugin! The feature simplicity is always great. Plus the other iChat-type plugins are getting into.. extra bells and whistles and stuff I just don't really need. (ugh, And why are there 2 iChat versions currently being developed? lol)

    Anyway, thanks for keeping this one going! =3 It's the perfect alternative I was looking for.
     
  9. Offline

    niccholaspage

    You're welcome!
     
  10. Offline

    tension69

    Any progress with the colour:)p) permissions implementation, or have you dropped this idea nicc?
    Also does the plugin work well with Perms [Pheonix] 2.5.1

    Cheers dude,

    iChat Heretic[​IMG]
     
  11. Offline

    niccholaspage

    Color has been implemented lol. I tested it with Permissions 2.4 so it should work fine with 2.5.1.
     
  12. Offline

    PatrickFreed

    So if I just want the colored name, it would be
    Code:
    nChat:
        messageformat: '+prefix+name: +message'
        colorcharacter: '~'
     
  13. Offline

    niccholaspage

    Yes. That would make EVERYTHING the specific color. If you would just like the username, your format would be:
    Code:
    messageformat: '+prefix+name&f: +message'
     
  14. Offline

    Seseillo

    My server has Perms [Pheonix] 2.5.3 and it appears that nChat is not working. I have the .jar file in my plugins directory and I have my permissions set correctly. However, when i go ingame, it does not work. Do i need to have the prefix and suffix for both group and user?
     
  15. Offline

    niccholaspage

    What build are you using and are you getting any errors in the console?
     
  16. Offline

    Seseillo

    I am not getting any errors and I am using build 493 I believe, my minecraft says the version is git-Bukkit-0.0.0-493-g8b5496e-b493jnks

    EDIT: Should I post my permissions file?
     
  17. Offline

    niccholaspage

    Yes.
    [MERGETIME="1299725271"][/MERGETIME]
    Updated to 0.3. You can now use +world in the message format :)
     
  18. Offline

    Seseillo

    Ok here are my permission:

    Visitor:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'essentials.compass'
    - 'essentials.warp'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.list'
    - 'essentials.rules'
    Regular:
    default: false
    info:
    prefix: ''
    prefix: ''
    build: true
    inheritance:
    - Visitor
    permissions:
    - 'essentials.getpos'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.mail.send'
    - 'essentials.nick'
    - 'essentials.whois'
    - 'essentials.kit'
    - 'essentials.kit.tools'
    Donator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Regular
    permissions:
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.kit.donatortools'
    SuperDonator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Donator
    permissions:
    - 'essentials.back'
    - 'essentials.tppos'
    - 'essentials.spawnmob'
    - 'essentials.kit.superdonatortools'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - SuperDonator
    permissions:
    - 'essentials.togglejail'
    - 'essentials.kick'
    - 'essentials.kickall'
    - 'essentials.mute'
    - 'essentials.give'
    - 'essentials.item'
    - 'essentials.time'
    - 'essentials.heal'
    Admin:
    default: false
    info:
    prefix: '&3[Admin]'
    suffix: '&3'
    build: true
    inheritance:
    permissions:
    - '*'

    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
    Seseillo:
    group: Admin
    info:
    prefix: '&c'
    suffix: '&c'
    permissions:
    - '*'
    sergegr:
    group: Visitor
    info:
    prefix:
    suffix:
    permissions:
    - 'essentials.compass'
    - 'essentials.warp'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.list'
    - 'essentials.rules'
     
  19. Offline

    FLOKER

    Thanks for this clean, simple and minimal plugin!
    Works fine with CraftBukkit Build 556 and Permissions Build 2.5.4 (Phoenix).
     
  20. Offline

    PatrickFreed

    Here we go:
    Console Error
    same thing for b531 and b556
    Permissions should be fine, as I've been using the plugin on b493
     
  21. Offline

    Epiclol

    Get this error
    [SEVERE] Could not pass event PLAYER_CHAT to nChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    at com.niccholaspage.nChat.nChatPlayerListener.onPlayerChat(nChatPlayerListener.java:27)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:150)
    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:588)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  22. Offline

    niccholaspage

    I had the same error while testing with Permissions. The only thing I can tell you both is to switch to GroupManager, since it doesn't seem like its a problem with nChat.
     
  23. Offline

    PatrickFreed

    Got it working. The problem was I changed the name of the world without renaming the permissions config.yml file...stupid me :p
     
  24. Offline

    cliff777

    could i see the config that will make just my name blue? I keep making my whole message blue. =)
     
  25. Offline

    Edras

    Is that works on b600 + ?
     
  26. Offline

    Gizmo

    [SEVERE] Could not pass event PLAYER_CHAT to nChat
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    at com.niccholaspage.nChat.nChatPlayerListener.onPlayerChat(nChatPlayerListener.java:27)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:199)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:563)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)

    Getting this error with NChat, using GroupManager and CB build 617
     
  27. Offline

    sniperkillu

    No it won't work in 600+ i think.
    Just wait for an update :D !
     
  28. Offline

    huntj88

    for every1 getting this

    [SEVERE] Could not pass event PLAYER_CHAT to nChat

    when u click the color like in first post make sure you change the weird symbol to a & symbol but leave the number

    '+prefix+suffix&f+name: +message' will do it. i dont have the group in the because otherwise default shows up before names on regular players. i just typed admin and moderator in the prefixes along with the color. the &f is the color for white

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

    smokie

    hello niccholaspage, i have your plugin installed and its working some what. it does not seam to read my prefix or suffix. i use group manager not permissions.
     
  30. Offline

    niccholaspage

    You also must have FakePermissions which comes packaged with GroupManager. (If you are using the Essentials permissions, download EssentialsGroupBridge) If you already have this, I will look into it.
     

Share This Page