Inactive [CHAT] Chatter v2.1 - PEX, bPerms, P3, GM, Multiverse. Word wrappping. [1317]

Discussion in 'Inactive/Unsupported Plugins' started by dralletje, Sep 4, 2011.

  1. Offline

    dralletje

    <font color="rgb(0, 0, 0)">[​IMG] Version: </font> 2.1.7



    <font color="rgb(0, 0, 0)">You also hate the default chat formating?</font>
    <font color="rgb(0, 0, 0)">Want a simple way to change it into a clean, nice to read chat format?</font>

    <font color="rgb(0, 0, 0)">I present Chatter. </font>
    <font color="rgb(0, 0, 0)">It is a forked version of iChat but I changed nearly everything in the code</font>
    <font color="rgb(0, 0, 0)"> except the syntax of the config file. </font>
    <font color="rgb(0, 0, 0)">That makes it simple to move from iChat.</font>
    <font color="rgb(0, 0, 0)">It provides chat formatting using prefix, worldname, display name and more.</font>
    <font color="rgb(0, 0, 0)">You can also make a censor and change the /me chat format.</font>

    <font color="rgb(0, 0, 0)">And last but not least, there is nice chat wrapping!</font>
    <font color="rgb(0, 0, 0)">it will not longer wrap like this:</font>
    <font color="rgb(0, 0, 0)">"me: this is a ran</font>
    <font color="rgb(0, 0, 0)">dom text."</font>

    <font color="rgb(0, 0, 0)">but like this:</font>
    <font color="rgb(0, 0, 0)">"me: this is a</font>
    <font color="rgb(0, 0, 0)">random text"</font>

    <font color="rgb(0, 0, 0)">New in version 2.1:</font>
    multiverse support :D
    I removed the factions support, cause it was not working. I am working on a fix... but I can't find it :(
    But now you can use +mvalias for the multiverse alias of a world.

    Please keep sending errors and ideas to me, I'll try to fix/add them all

    <font color="rgb(0, 0, 0)">Features:</font>
    * <font color="rgb(0, 0, 0)">Change the default chat format</font>
    * <font color="rgb(0, 0, 0)">Change the /me format</font>
    * <font color="rgb(0, 0, 0)">Censor some words.</font>
    * Good text wrapping.
    * Add variables from the factions plugin.

    <font color="rgb(0, 0, 0)">How to use:</font>
    1. <font color="rgb(0, 0, 0)">drop the plugin in you plugin folder.</font>
    2. <font color="rgb(0, 0, 0)">run your server once, a config file will be generated.</font>
    3. <font color="rgb(0, 0, 0)">open the config file and edit it</font>
    4. <font color="rgb(0, 0, 0)">restart/reload you server and you are done.</font>

    <font color="rgb(0, 0, 0)">Configuration:</font>
    * censor-list - Put comma separated worlds between the [ and the ] and they will be censored.
    * <font color="rgb(0, 0, 0)">text-wrapping - </font><font color="rgb(0, 0, 0)">If true the chat will be wrapped nice.</font>
    * <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">nether-name - </font><font color="rgb(0, 0, 0)">format to use when in the nether using +world, in that format you can use +world.</font></font></font>
    * <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">name-format </font><font color="rgb(0, 0, 0)">- does nothing yet :p</font></font><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">.</font></font></font></font></font>

    * <font color="rgb(0, 0, 0)">message-format - The message format, see section formatting and two message formats?!</font>
    * <font color="rgb(0, 0, 0)">date-format - The date format</font><font color="rgb(0, 0, 0)">, see section formatting.</font>
    * <font color="rgb(0, 0, 0)">me-format - The /me format</font><font color="rgb(0, 0, 0)">, see section formatting, again...</font>

    Formatting:
    Editing the message format of the /me format is quite simple.
    you can add these variables to you format:
    * +name - The Users Name
    * +displayname - The users displayname. if none set it uses name.
    * +group - The first group that is defined in permissions.yml, mind that when you have multiple groups!
    * +healthbar - A visual health bar for this user
    * +health - The amount of health a user has (0 - 20)
    * +gamemode - The name of the current gamemode of a player (creative or survival)
    * +level - The experience level of a player.
    * +message - The text the player typed
    * +world - The world the player is in.
    * <font color="rgb(0, 0, 0)">+faction - Should display the faction a player is in. thanks to tatara88 :D</font>
    * +mvalias - Displays the multiverse alias of the world the player is in.
    * +time - The timestamp of the message. See below.

    Where are prefix and suffix? let me tell you.
    When you want to use options from the permissions file you now have to use $optionname.
    So when you want to use the prefix of somebody use '$prefix' and use '$suffix' for somebody's suffix.
    mind that when you change the color of a players name using prefix everything after the name will also be that color if you don't set it back after the name!
    you can also use +variables in you $variables :D

    Time format:
    The format of the timestamp is configurable in config.yml.
    Use simple-date format: <Edit by Moderator: Redacted bit url>

    Commands:
    reloadchatter - reloads chatter, "chatter.reload" needed as permissions
    chatter - no permissions needed :D

    Downloads:
    Chatter v2.1
    <font color="rgb(0, 0, 0)">Source Code on github</font>

    <font color="rgb(0, 0, 0)">Future plans:</font>
    * <font color="rgb(0, 0, 0)">Adding /msg formatting.</font>
    * <font color="rgb(0, 0, 0)">Spout? (cause spout is cool)</font>
    * <font color="rgb(0, 0, 0)">Add permissions for everything.</font>
    * Only load the tags that are needed, more speed :D
    * CraftIRC support.
    * An easter egg

    Thanks to:
    * Drakia - For iChat, where this plugin is based on.
    * Nijikokun - For making the iChat where Drakia based his iChat on.
    * Orcem12 - For the name Chatter instead of Talker :D
    * Tatara88 - For helping me with faction and maybe helping me with more :D :D :D :D :D

    <font color="rgb(0, 0, 0)">Changelog:</font>
    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">Version 2.1.4</font></font></font></font></font></font></font></font></font>
    * Faction tag is working again?
    * Thanks to Tatara88 :D
    * Even more thanks to Tatara88
    * Tatara88, thank you.

    <font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">Version 2.1.3</font></font></font></font></font></font></font></font></font></font>
    * Did you know somebody can make this much stupid bugs?

    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)">Version 2.1.2</font></font></font></font></font></font></font></font></font></font>
    * Removed +mvcolor because... yeah, it does not exist xD
    * Removed later chat format, cause I think I am the only one who is using it :p
    * Did something else... but I can't remember.

    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)">Version 2.1.1</font></font></font></font></font></font></font></font></font></font>
    * Tiny error in Eclipse can cause a disaster!

    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)">Version 2.1</font></font></font></font></font></font></font></font></font></font>
    * Added multiverse support.
    * Later message format.
    * Code Cleanup.
    * Updated to use the new configuration standard.


    Show Spoiler
    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">Version 2.0.2</font></font></font></font></font></font></font></font></font>
    * fixed a even more stupid bug!

    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)">Version 2.0.1</font></font></font></font></font></font></font></font></font>
    * fixed a really, really stupid bug!

    <font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(0, 0, 0)"><font color="rgb(20, 20, 20)"><font color="rgb(20, 20, 20)">Version 2.0</font></font></font></font></font></font></font></font></font>

    * Support for permissions3
    * Support for bPerms
    * Support for groupsmanager
    * Added +gamemode and +xplevel
    * auto factions detection?
    * I think I forgot some things... if you find something new say me :)

    Version 1.9.2

    * Fixed faction bug, hopefully.
    * now even better Prefix and suffix picked, now with native pex prefixes :)
    * Added factions-support in config, set this to true when you have the faction plugin.

    Version 1.9.1

    * Made textwrapping compactible with more plugins.

    Version 1.9

    * Code cleanup. (I am doing that nearly every update :p)
    * Color codes working again.
    * Fixed faction plugin. (maybe)(please help testing)
    * Added group priority.
    * Better option finding.
    * Added Nether name in config
    * Removed all things with censor, except the words.

    Version 1.8

    * Improved the text wrapping
    * Text wrapping should now be compatible with the most plugins.
    * Fixed a bug where the server crashed when somebody said a too long word.
    * Added option in config to choose text-wrapping or not.
    * Added +faction, that should be the faction a player is in.

    Version 1.4

    * Added good textwrapping, yay :D
    * Changed the name to Chatter instead of Talker.

    Version 1.0

    * ehm... the release?
     
    Last edited by a moderator: Feb 21, 2017
    tatara88, Karlkorv and Starrk like this.
  2. Offline

    Karlkorv

    faction color: ally=purple member=green enemy=red etc.
     
  3. Offline

    dralletje

    so then I have to handle the chat message for every player apart?
    I sounds great :D
    I'll look if I can implent it :)
     
  4. Offline

    RIU4WOM

    Re
    Re-download doesn't work either .... : ( perhaps i could try out an older version?
    Anyways~ I'll keep experimenting till I find what's causing it ...:eek: (I really don't like the usual chat system :p)
     
  5. Offline

    Zaonhort

    I'm getting this error on RB #1337

    2011-10-27 18:47:33 [SEVERE] Could not pass event PLAYER_CHAT to Chatter
    java.lang.NullPointerException
    at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:107)
    at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:124)
    at com.dral.Chatter.ChatterPlayerListener.onPlayerChat(ChatterPlayerListener.java:42)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:295)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    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:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    Any help with this?
     
  6. Offline

    Karlkorv

    i think i've found a bug...

    look at this picture 2011-10-27_19.36.27.png
     
  7. Offline

    dralletje

    fixed, it was +mvcolor... which did not exist :p

    that was the later chat format... but I removed it cause I realized I was the only one who was using it xD

    try the newest version, maybe it is fixed now?
     
  8. Offline

    Karlkorv

    no, when i say two things in a row it is displayed in that format
     
  9. Offline

    dralletje

    Yes I know, I added that.
    so you can add a simpler chat format as second thing, but I removed this now :)
     
  10. Offline

    Karlkorv

    thanks :)

    one more thing, i updated, and factions don't work

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

    tatara88

    Chatter seems to completely ignore any changes i make to the config

    Edit: is the source current? Cause there are some typos
     
  12. Offline

    Zaonhort

    I can confirm with tatara the changes I've made in the config do not update and they did the previous version, it stays defaulted
     
  13. Offline

    dralletje

    okay :/

    I'll take a look at the configuration handling :)
    but what does happend and what does not?
    does it change back in the config, or does chatter just ignore it?

    EDIT:
    I fixed that the chat format didn't get recognized, but did other things also get ignored?
     
  14. Offline

    Zaonhort

    I'll test it out again and update to let you know

    EDIT: It appears the later message format doesn't work no matter how fast I type it in. Also it would be nice if /me formating could be added again! :D
     
  15. Offline

    dralletje

    /me format should work...
    and I removed the later chat format cause I think it is to complicated for a simple chat format plugin :p
    but I'll add it later in a separated config file for... more complicated things ;)
     
  16. Offline

    Karlkorv

    ERROR:
    Code:
    12:27:21 [ALLVARLIG] Error occurred while enabling Chatter v2.1.2 (Is it up to date?): com.massivecraft.factions.P cannot be cast to com.massivecraft.factions.Factions
    java.lang.ClassCastException: com.massivecraft.factions.P cannot be cast to com.massivecraft.factions.Factions
        at com.dral.Chatter.Chatter.onEnable(Chatter.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  17. Offline

    tatara88

    That fixed it.
     
  18. Offline

    LilShonen

    I like this plugin, but I think it needs a bit more work.
    Here's the only thing i'd like to see changed:
    When using the +groups in the config, instead of just showing the group, it should have the group's prefix.
    Ex:
    My group Owner's prefix is &6OWNER&f.
    When using only +groups, ingame i see just [Owner], no colors.
    Id like it to be like this:
    [OWNER], as indicated in my permission's groups prefix.
     
  19. Offline

    rutr

    I don't know I translated correctly
    can you make so that name in Player list(TAB) is preceded by the prefix?
     
  20. Offline

    dralletje

    Of you want somebody's prefix you have use $prefix instead of +group :)

    Yeah, I'll Add That :)
     
  21. Offline

    tatara88

    dralletje likes this.
  22. Offline

    rutr

    When?
    I need it as soon as possible.

    When you add it, your plugin will be chat plugin of my dreams. :)
     
  23. Offline

    homobobo

    This looks like what i've been looking for. Gonna test it right now, thanks alot :)
     
  24. Offline

    dralletje

    Soon.

    I think you misunderstand something.
    This IS the thing you are looking for :p
     
  25. Offline

    jaboy

    Hey
    Can you please remove some of the console spam ?!
    (talking about
    Chatter: asking PeX for the group from player xxxx
    Chatter: a info node is asked!! staring with search!
    )
    EDIT:
    oh wait .... had "log-everything: true"

    You shuld rename it to Debug-info .... or something like that :p
     
  26. Offline

    dockozel

    Ok, so I'm a new server admin. I would like to use chatter. I put the jar file in my plugins dir and restarted my server. I want to use prefixes and suffixes. I am using bPerms. My bperms world.yml contains my groups with the admin group having "- prefix.100.Admin" and chatter doesn't seem to acknowledge that. Which files do I need to edit in order for these changes to be seen in game and how should they look? Forgive me if this has been answered, but I've tried several chat plugins already and have googled my eyes out looking for a clear example.
     
  27. Offline

    homobobo

    This is great. :) Haven't run into any problems yet

    Using it on my server atm. Thanks alot! :)
     
  28. Offline

    LilShonen

    No, i don't want a person's prefix, i want the group's prefix.
    Here is my permissions:
    Code:
    OWNER:
            default: false
            permissions:
            - '*'
            inheritance:
            - admin
            info:
                prefix: '&6OWNER&f'
                build: true
                suffix: ''
    So, instead of using an ACCOUNT'S prefix, you should add the group's prefix into +group

    This feature would be nice, so if you promote someone, you won't have to manually go into the permissions and put the prefix there, and restart the server.
     
  29. Offline

    tatara88

    Most people don't give prefixes per person. I use this in my config and it pulls the group prefix.

    I can confirm Karlkorv's problem. Though it worked until i updated factions today.

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

    dralletje

    so you have per user prefixes and group prefixes?
    The trick now is the fact that you can use every $variable you can imagin.
    if you replace the name of the prefix for groups with title, and you use $title in the format you can use the group prefix ($title) and the per-player prefix ($prefix) beside eachother :)

    your group will look like this:
    Code:
    OWNER:
            default: false
            permissions:
            - '*'
            inheritance:
            - admin
            info:
                title: '&6OWNER&f'
                build: true
                suffix: ''
     
  31. Offline

    LilShonen

    No, what i'm getting at is with the +group, it shouldn't just show the group name, it should be the group's prefix, if you get what i mean, because i'm using $title atm, and in-game it looks like this:
    [] LilShonen:
    No colors, i would like the +group to be the group's prefix, so it displays:
    [OWNER] LilShonen:
    Catch my drift?
     

Share This Page