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

    TBC_x

    for example "&c[&5CoolRank&c] &6name &Fthe &1Owner" will look like "[CoolRank] name the Owner"
    & represents start of text coloring, any hexadecimal number (0-F) represents the color. See my link above. If you want more deep explanation, let me know. But anyway... it won't hurt, when you'll try it yourself :)
    Note: "the" in my example is black, but in normally it's white because of &F before
     
  3. Offline

    Aut0tr0ph

    I typed in exactly what you typed to see if it would work as a test, and it didn't. Does it have anything to do with chatter?
     
  4. Offline

    rutr

    does not work with multiverse 2.1
    Code:
    19:48:40 [SEVERE] Could not pass event PLAYER_CHAT to Chatter
    java.lang.NullPointerException
            at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:106)
            at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:124)
            at com.dral.Chatter.ChatterPlayerListener.onPlayerChat(ChatterPlayerListener.java:48)
            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 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)
    
    when I remove multiverse, Chatter works fine.

    and
    the link is to version 2.1.2 when the description says that the plugin is version 2.1.4
    I do not know English well
     
  5. Offline

    tatara88

    what permission system are you using
     
  6. Offline

    LilShonen

    @dralletje I will post them whenever i can.
     
  7. Offline

    11RJB

    Great plugin. I just spent hours fighting with mChat, got this set up in just a few minutes.
     
    dralletje likes this.
  8. Offline

    w7gamer

    Console is beeing spammed like crazy, for every line someone writes this ends up in log:
    03:18 PM [INFO] [Chatter] asking bPermissions for the group from player w7gamer
    03:18 PM [INFO] [Chatter] a info node is asked!! staring with search!
    03:18 PM [INFO] [Chatter] asking bPermissions for the node prefix from player w7gamer
    03:18 PM [INFO] [Chatter] asking bPermissions for the group from player w7gamer
    03:18 PM [INFO] [Chatter] a info node is asked!! staring with search!
    03:18 PM [INFO] [Chatter] asking bPermissions for the node prefix from player w7gamer
     
  9. Offline

    tatara88

    set log-everything to false
     
  10. Offline

    w7gamer

    Ah, Thanks, thought that was about logging the chat. (which I want)
     
  11. Offline

    worstboy32

    please set talking in colored chat to default OP
    and add a permission node for this.
    I dont feel like it when 50 players talking in rainbow.

    and it would also be cool if you could add custom dead msges.
    and maybe a +location so when they die there coords get spawned.
    But thnx for the good plugin :D
     
  12. Offline

    dralletje

    okay I will add a permissions node for that :)

    custom dead messages is actually a good idea, just use the tags that are already available.
    I will also look at adding a +location tag, but what will be the format of +location?
     
  13. Offline

    rutr

    #dralletje
    Are You going to repair bug with multiverse? and download link?(download link is for version 2.1.2)
    when you add possibility change name-format?
     
  14. Offline

    dralletje

    yeah, I forgot about it.
    the multiverse thing is because you are on a world which is not handled by multiverse.
    adding that world to multiworld will fix it, but also releasing fix soon (I am having that problem myself too)

    about name-format idk when to add features to it :)
     
  15. Offline

    worstboy32

    the format will be the location the player died like x .. z ..
    It could be usefull for our pvp faction server so players will find each other faster :)
    and thanks for looking into it :D
     
  16. Offline

    gwnarne

    Looks great!
     
  17. Offline

    rishabh12401

    My config is totally empty =(
     
  18. Offline

    Karlkorv

    please update, i love this plugin!
     
  19. Offline

    rutr

    isn't working with latest CraftBukkit build.
     
  20. Offline

    Karlkorv

    ik, ik :(
     
  21. Offline

    tatara88

    post the error please
     
  22. Offline

    rutr

    Code:
    2011-12-04 19:43:05 [SEVERE] Error occurred while enabling Chatter v2.1.2 (Is it up to date?): Plugin attempted to register PLAYER_CHAT while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLAYER_CHAT while not enabled
        at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManager.java:375)
        at com.dral.Chatter.Chatter.onEnable(Chatter.java:133)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        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:184)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:167)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
     
  23. Offline

    tatara88

  24. Offline

    NukemD

    Something after CB1530 breaks chatter, and the version in the post above doesn't seem to fix it either. I'm running CB1558 and getting this whenever someone types a message:

    Code:
    02:48:48 [SEVERE] Could not pass event PLAYER_CHAT to Chatter
    java.lang.NoClassDefFoundError: net/minecraft/server/FontAllowedCharacters
            at com.dral.Chatter.BetterChatWrapper.<clinit>(BetterChatWrapper.java:28)
            at com.dral.Chatter.ChatterPlayerListener.onPlayerChat(ChatterPlayerListener.java:48)
            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:726)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            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 net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.FontAllowedCharacters
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 14 more
    
     
  25. Offline

    tatara88

    Nukemd
    Let me fix that real quick
     
  26. Offline

    w7gamer

    Broken under MC 1.0.1 bukkit dev builds.
     
  27. Offline

    tatara88

    Working on that now
     
  28. Offline

    w7gamer

    Thing is it WAS working a day or two ago (sorry, I don't know what build made it break as it took me some time to realize). I keep getting severe warnings about failing to pass "Player_Chat" event to Chatter though.
     
  29. Offline

    tatara88

    rutr and Nerrion like this.
  30. Offline

    iMint

    I was getting the same error as Nukemd, so i installed the Devbukkit version and now i get a different error:

    Code:
    2011-12-07 19:48:14 [SEVERE] Could not pass event PLAYER_CHAT to Chatter
    
    java.lang.NoSuchMethodError: com.onarandombox.MultiverseCore.MultiverseCore.getMVWorldManager()Lcom/onarandombox/MultiverseCore/api/MVWorldManager;
    
    	at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:105)
    
    	at com.dral.Chatter.ChatterFormat.parseChat(ChatterFormat.java:122)
    
    	at com.dral.Chatter.ChatterPlayerListener.onPlayerChat(ChatterPlayerListener.java:41)
    
    	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:726)
    
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    
    	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 net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    
    	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
     
  31. Offline

    tatara88

    what build of bukkit sre you on. and what build of multiverse-core are you using
     

Share This Page