Inactive [CHAT] iChat 1.6 [CB 602-612+]

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 23, 2011.

  1. Offline

    Nijikokun

    iChat v1.6
    irc://irc.esper.net/#iconomy - Donate ?

    Download 1.6 (602 - 612+)

    Styles the chat in a simple and intuitive manner. Allowing you to take full control over how it looks and feels using tags prefixed with + symbol.

    Permissions & GroupManager Configuration
    Setup your prefix / suffix with colors like so, in your Permissions / GroupManager Configuration:
    Code:
                prefix: '&c'
    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.

    Message Format:
    To change how your message is displayed, open iChat/config.yml located under plugins/ and add this line:
    Code:
    message-format: '[+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.

    Complete Tag List (open)

    +world World Name
    +group Group Name
    +name Player Name
    +suffix Suffix (Comes after Group Name)
    +prefix Prefix (Comes Before Group Name)
    +message Message
    +healthbar Health Bar ([|||||||])

    iChat Censoring:
    In config.yml there is now a censor-list that holds bad words to be filtered, you can customize the look and feel of the censored word as well by changing the symbol used, as well as coloring it.

    Changelog
    • 1.6
      • Fixed & symbol issues.
      • Added multiple world support.
      • Brought back to life.
    • 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.
     
  2. Offline

    atristoffate

    ^ this

    Has anyone taken the time to sort the colors into a rainbow fashion? If you have, share the code, please; I'm lazy and don't want to try. ;)
     
  3. Offline

    Xemnas33

    Okay so who would like to give me the answer to this one? =/ Only getting this after installing iChat.

    Code:
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:83)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:81)
            ... 8 more
    Caused by: while scanning a simple key
     in "<reader>", line 62, column 13:
                    suffix:'&4'
                    ^
    could not found expected ':'
     in "<reader>", line 63, column 9:
                inheritance:
                ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:62)
            at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    76)
            ... 13 more
    
     
  4. Offline

    Nijikokun

    You have your things nested wrongly.
     
  5. Offline

    Xemnas33

    Not exactly sure what you mean there sorry?
     
  6. Whispering isn't part of this plugin.
     
  7. Offline

    majorcyto

    word censoringggggg <3 add it =o

    me lovey you long time!
     
  8. Offline

    Xemnas33

    Okay somehow I had snuck in the line
    prefix: prefix: :p

    Now it's working without errors but when I speak it shows this:
    [o]Xemnas33:...
    and that's all in grey

    In the permissions file i'm using:
    Code:
    prefix:'&1[&3Admin&1]&2'
                suffix:'&4'
    Here's the message format:
    message-format: '+prefix+name: +suffix+message'

    Just copied the one off the front page to test it out.
     
  9. I'm getting this in the console:


    SEVERE: Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroupPrefix(Control.java:388)
    at com.nijikokun.bukkit.iChat.Listener.onPlayerChat(Listener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:138)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:64)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  10. Offline

    dragtor

    SEVERE: Could not load plugins\iChat.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:83)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:81)
    ... 8 more
    Caused by: java.lang.NullPointerException
    at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNod
    e.java:32)
    at org.bukkit.util.config.ConfigurationNode.getString(ConfigurationNode.
    java:73)
    at org.bukkit.util.config.ConfigurationNode.getString(ConfigurationNode.
    java:90)
    at com.nijiko.iChat.configuration.ConfigurationHandler.load(Configuratio
    nHandler.java:18)
    at com.nijikokun.bukkit.iChat.iChat.<init>(iChat.java:101)
    ... 13 more
     
  11. Offline

    Jobsti

    @Xemnas33
    After prefix: and suffix a space

    Code:
    prefix: '&1[&3Admin&1]&2'
                suffix: '&4'
     
  12. Offline

    Arisilde

    I'm using message-format: '[+prefix+suffix&f] +name: +message' with prefix: '&f[&4Admin&f]' and suffix: '&c'. Even though I don't have +group in there it displays both the group Admins and the prefix Admins. I can't figure out how to get it to display only the prefix.
     
  13. Offline

    Xemnas33

    It's displaying the group because you've got it written in the prefix?
     
  14. Offline

    Arisilde

    No I want it to display what I have written in the prefix yes, but what I'm actually getting is [[Admins]Admins]Arisilde instead of just [Admins]Arisilde.
     
  15. Offline

    Xemnas33

    message-format: '+prefix+name: +suffix+message'

    Try using that I found it fairly easy :)
    then I used prefix: '&4[Admin]&4
    suffix: '&4'
     
  16. Offline

    Arisilde

    Alright I got it now. thanks
     
  17. Offline

    kyxoan

    why does ichat break if I remove the &f from the config?

    this breaks
    message-format: '[+prefix+group+suffix] +name: +message'

    but
    I want to have message-format: '[+prefix+group+] +suffix+name: &f+message'

    how do I do it?
    --- merged: Jan 29, 2011 3:12 AM ---
    in fact if I change anything while the server is running it breaks. do I need to stop the server before I make changes?
     
  18. I feel like my post got lost. Please help?
     
  19. Offline

    uncovery

    Nijiko,
    It would be great if you could do either (or all of it):
    - add a changelog to your plugins zip which includes when it was updated and what was fixed/changed
    - add the version to the filename. I know I can read it from the URL, but I keep the Zips in my plugin directory to be able to restore default configs and to see which version I currently have. With a server with 8+ plugins it is a bit difficult to remember if your plugins (which I highly appreciate) are now in version 1.2, 1.9 or whatever else. ALL other plugins that I use have a version number in the zip file name
    - add a date to your releases on the thread so people can at least guess if this version now is newer than the version they have.

    thanks! much appreciated!
     
  20. Offline

    Nijikokun

    It's in the url, just under a directory if you want more control over which or what you download: http://mirror.nexua.org
    I haven't updated this since I posted it so.. it's no need asking here.
    This won't be updated anymore its basically finished unless I add prefix/suffix like herochat.
     
  21. Offline

    Jobsti

    @uncovery
    I've got 29 Plugins (little plugins, most are addons or AdminStuff) and none has a versionsnumber, I know which Version I have, if not,
    I look into the Serverconsole ;)

    Because I use so many plugins , it's easier without versionnumbers, because easy overwrite.
    BUT, first, I test the Plugins and new buils on e seperately testserver.

    But date and changelog in the Posts would be very useful
     
  22. Offline

    TOAST7312

    Simple question; read through the thread but not sure if I saw it answered:

    Is there currently a way to set up the colors so that they apply only to people of a certain group, aka Admins? It's probably right under my nose but I haven't noticed it yet.
     
  23. Offline

    Jobsti

    Yep, read the 2nd post!
     
  24. Offline

    dufric88

    Works fine.
    Would REALLY like to see this merged with ChatStamp, or an integrated time stamp function. For smaller servers with less busy chats the luxury of a time stamp would be outstanding.
     
  25. Trying this again:

    WHY IS NOT WORK?

    I get this console error:

    SEVERE: Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroupPrefix(Control.java:388)
    at com.nijikokun.bukkit.iChat.Listener.onPlayerChat(Listener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:138)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:64)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

     
  26. Offline

    Xemnas33

    For me that meant I screwed something up in the permissions. My exmaple was I somehow deleted the name of a group.
     
  27. Now we're gettin' somewhere!

    Here is my config.yml for permissions:

    # Supports "Default" and "GroupUsers"
    plugin:
    permissions:
    system: default

    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:"
    # field seperated by commas.
    #
    # Example: inheritance: Default,Admins,
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    #
    # Single Asterisk denotes all commands:
    #
    # - '*'
    ##
    groups:
    Default:
    default: true
    info:
    prefix:{&0Peasant&f}
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    VIP:
    default: false
    info:
    prefix:{&2Knight&f}
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    Moderator:
    default: false
    info:
    prefix:{&1Lord&f}
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admins:
    default: false
    info:
    prefix:{&6King&f}
    suffix: &4
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'

    users:
    MaddestHatter:
    group: Admins
    permissions:
    Plumpy:
    group: Moderators
    permissions:
    awsomomario:
    group: Moderators
    permissions:
    RygonDare
    group: VIP
    permissions:
    Primeminister
    group: VIP
    permissions:
     
  28. Offline

    uncovery

    I am talking about all your plugins, not only this here.
     
  29. So am I doing something wrong?
     
  30. Offline

    Xemnas33

    Do you have antibuild? if not then take out the build: true/false
    I think there should be a space after prefix and suffix. Umm to make it easier here's my permissions I was using this morning till I added in a tonne more groups but it works.

    Code:
    groups:
        Peasant:
            default: false
            info:
                prefix: '&e[Buccaneer] &e'
                suffix: '&e'
            inheritance:
                - Wanderer
            permissions:
                - 'lwc.protect'
                - 'petition'
                - 'Trivia.play'
                - 'Trivia.hint'
                - 'Trivia.top'
                - 'Trivia.rank'
                - 'Trivia.vote'
                - 'Trivia.startvote'
                - 'simpleshop.buy'
                - 'simpleshop.sell'
        Wanderer:
             default: true
             info:
                 prefix: '&7[Wanderer]&7'
                 suffix: '&7'
             inheritance:
             permissions:
                 - 'lwc.protect'
                 - 'petition'
        Moderator:
            default: false
            info:
                prefix: '&d[Moderator] &d'
                suffix: '&d'
            inheritance:
                - Peasant
                - Wanderer
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'lwc.protect'
                - 'simpleshop.buy'
                - 'simpleshop.sell'
                - 'simpleshop.items.remove'
                - 'simpleshop.items.reload'
                - 'simpleshop.items.add'
                - 'simpleshop.items.update'
                - 'magiccarpet.mc'
        Admins:
            default: false
            info:
                prefix: '&4[Admin] &4'
                suffix: '&4'
            inheritance:
                - Moderator
                - Peasant
            permissions:
                - '*'
                - 'iConomy.withdraw'
                - 'iConomy.deposit'
                - 'iConomy.reset'
                - 'herochat.admin'
                - 'herochat.remove'
                - 'herochat.create'
                - 'simpleshop.items.add'
                - 'simpleshop.items.update'
                - 'simpleshop.items.reload'
                - 'simpleshop.items.remove'
                - 'simpleshop.buy'
                - 'simpleshop.sell'
                - 'Trivia.play'
                - 'Trivia.hint'
                - 'Trivia.top'
                - 'Trivia.rank'
                - 'Trivia.vote'
                - 'Trivia.startvote'
                - 'general.time'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Xemnas33:
            group: Admins
            permissions:
                - '*'
        sk89q:
            group: Default
            permissions:
                - 'general.time'
     
  31. Same thing keeps happening.
    I even tried your config.

    EDIT: Fix'd it. I have a case of the tards today.
     

Share This Page