[CHAT] mChat v1.8.7- Chat formatting plugin [1597]

Discussion in 'Inactive/Unsupported Plugins' started by MiracleM4n, Jun 24, 2011.

  1. [​IMG]
    mChat - Chat formatting plugin
    Version: v 1.8.7 - (Versioning = MC Version 1.8 Release 7) (Nov 10/11)

    If you like mChat please vote it up by clicking the image below finding MChat and Thumbing it up :D.

    I Has BETTER Jenkins: HERE

    Source Code

    Click Me ---> mChat BukkitDev Page!!!! <--- Click Me

    Plugins using API (open)

    To-Do: (open)

    • Get more API suggestions?

    Next Release Info (open)


    Other Stuff:
    [​IMG] Please donate to help support me :D

    mChannel Now has its own thread

    Version 1.7.12 (Sept 14/11)
    • Updated a lot of things.
    • Fixed a lot of things.
    • Added Censor.
    • Added Call Home function. (Ask SwearWord)
    • Added PEX Support.
    • Added Jenkins (dev.d3gn.net:8080)
    • ....Ill update tomorrow...
    Changelogs: (open)

    Version (Sept 02/11)
    • Added +reason, +r variable to the kick message. (Displays the reason for the kick).
    Version 1.7.11 (August 28/11)
    • PNode for colouring in chat (mchat.coloredchat <---made it color for all you damn lazy Americans (Canadian = colour).
    • Added "+Groupname,+Gname,+G", "+Worldname,+Wname,+W" for Group/World name aliases (Check info.yml)
    Version 1.7.10_5 (August 16/11)
    • Fixed Permissions loader Faulz.
    Version 1.7.10_4 (August 15/11)
    • Finnally filled in the API spoiler.
    • Minor API changes. (Deprecated some methods)
    • Minor Local changes.
    • Added 2 more Colour Code types.
    • Added Custom Variables.
    • More Misc updates thanks to @Nijikokun .
    • PM for more Info.
    Version 1.7.10_3 (August 12/11)
    • Minor API changes.
    • Minor Local changes.
    • Nothing much you dont really "Need" this update.
    Version 1.7.10_2 (August 11/11)
    • Fixed bPermissions causing errors. (Damn you codename_B)
    Version 1.7.10_1 (August 09/11)
    • Fixed NPE on startup.
    Version 1.7.10 (August 09/11)
    • Merged mInfo, mChat once again.
    • Added an API switch.
    • Changed reload command to inlude both config/info.
    Version 1.7.9_3 (August 05/11)
    • Added full support for all major Permissions plugins.....again.
    Version 1.7.9_2
    • Uhm...
    Version 1.7.9_1
    • Uhm...
    Version 1.7.9 (August 03/11)
    • Made separate mchat plugin.
    • Added +location,+loc to formatting.
    • Dropped Permissions 2.x/3.x support.
    • Code cleanup.
    • Updated to Spout....More features to come...
    Version 1.7.8 (July 29/11)
    • Removed PM features.
    • Fixed API (Tie to mChat.API.parseChat(player, msg) = message-format or mChat.API.parseChat(player) = name-format).
    • Added join message formatting.
    • Other code cleanups.
    • Added a sample plugin that ties into the API.
    • Fixed inheritance issues.
    Version 1.7.7_2 (July 27/11)
    • Added configurable *Typing* message
    • Made Achievement Window more redundant.
    Version 1.7.7_1 (July 27/11)
    • Added configurable PM to Achievement Window
    • More code cleanup.
    Version 1.7.7 (July 27/11)
    • Added (/mchat pm {playername} message = mchat.pm)
    • Changed they way Health notifications work.
    • Made things easier for future dev work.
    Version 1.7.6_3 (July 27/11)
    • Very finite changes. (Code cleaning)
    Version 1.7.6_2 (July 27/11)
    • Why because I felt like it!
    Version 1.7.6_1 (July 27/11)

    • Fixed (/mchatme, /me) permissions.
    Version 1.7.6 (July 27/11)
    • Added (/mchatme, /me)
    • Added Health notification messages
    • Made Bukkit contrib features optional.
    • Not sure what else........
    Version 1.7.5 (July 26/11)
    • Removed /mchannel for use in another plugin.
    • Added an API like that of iChat.
    • Made source....DONT LAUGH AT ME..available.
    • Added custom join/leave/kick messages.
    Version 1.7.4_7 (July 24/11)
    • More NPE fixes.....Itll never end.
    Version 1.7.4_6 (July 23/11)
    • More NPE fixes.
    Version 1.7.4_5 (July 23/11)
    • Hopeful NPE fixes.
    Version 1.7.4_4 (July 21/11
    • PLAYER_CHAT error fixes.
    Version 1.7.4_3 (July 20/11)
    • Players who aren't in the public channel aren't outputted to other plugins.
    • When a player talks while not in the public channel their name is prefixed with their channel.
    • More BukkitContrib Fixes.
    Version 1.7.4_2 (July 20/11)
    • Hopeful DynMap fix.
    Version 1.7.4_1 (July 19/11)
    • Bumped versioning in case people dont look.
    • Lots of bug fixes but no new features.
    • Fixed Console not getting messages.
    • Fixed null message.
    • Fixed....Dont remember...It was late.
    Version 1.7.4 (July 19/11)
    • NPE fixes.
    • Commands being used by console fixes.
    • Config format changes.
    • BukkitContrib feature fixes.
    Version 1.7.3 (July 18/11)
    • Added reload config command.
    • Added channels.
    Version 1.7.2 (July 14/11)
    • Added Last message sent name thingy.
    Version 1.7.1 (July 14/11)
    • Officially Changed to mChat.
    Version 1.6.1
    • Initial Release.
  2. Offline


    @MiracleM4n Update mChannel to 1337 to go with mChat please :)
  3. thanks :)
  4. Offline


    I wonder if I could have some help configuring this plugin. I am using PermissionsBukkit in conjunction with this plugin. I want to make it so when a user chats, it is of the format:

    Code (Text):
    1. [World][Rank]name: message
    In my Permissions config.yml I have the following set for each group (Admin as example):

    Code (Text):
    1.  mchat.prefix.admin: true
    And in mChat's config.yml I have:

    Code (Text):
    1. format:
    3. date: HH:mm:ss
    5. chat: '+p+dn&f: +m'
    7. name: +p+dn&e
    9. event: +p+dn&e
    11. list: +p+dn
    And finally in mChat's info.yml I have:

    Code (Text):
    1. groupnames:
    3. new: '[New]'
    5. user: '[User]'
    7. admin: '[Admin]'
    When a user chats though, it just says:

    Code (Text):
    1. name: message
    I believe your plugin is being loaded correctly by Bukkit because the word censor is working (typing 'f**k' becomes 'fawg'); but the names appear not to be working. Can anybody assist me? I would be very grateful for any help.
  5. Offline


    Where do you download this? I can only see the download link for the Dev version, which I don't want.
  6. @ColaBoy42 Check on BukkitDev those are the recommended builds.
  7. Offline


    Ok then. I thought the "DEV" suffix was an indication it was a development release.

    [Edit] Installed the mchat-DEV.jar, which was all I can find. I ran /reload and it hasn't done anything. I have relogged but it hasn't changed anything. My Admin Portal supports mchat, and that can't see it either. Oh well.
  8. keep getting this error a lot times :S
    I hope i did something wrong or that you can fix it.

    Code (Text):
    1. 2011-11-12 17:40:19 [SEVERE] Could not pass event PLAYER_QUIT to mChat
    2. java.lang.NullPointerException
    3.     at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:74)
    4.     at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseEventName(mChatAPI.java:203)
    5.     at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerQuit(MPlayerListener.java:102)
    6.     at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:267)
    7.     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    8.     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    9.     at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
    10.     at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:127)
    11.     at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:210)
    12.     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:88)
    13.     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
    14.     at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    15.     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    16.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    17.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  9. Offline


    would it be possible to add pex support for pex 1.15 or 1.16? that would be great :D

    btw, love your plugin :p
  10. Offline


    this may have been asked b4 but does it work with Permissionsbukkit?
  11. Offline


    Can you make it display what group you are in and make the plugin/prefix/suffix/ have a [ and ] around them.
    Thank you for making this plugin! :)
  12. Offline


    I have an idea could you add towny support because i'm not a big fan of towny chat but no other chat plugin supports this i'm not sure if it has towny support as i have not used it but could you tell me if it has it or you may implement this? thanks
  13. @MiracleM4n
    is it possible to hook into the prefixing system of your plugin? i would like to add prefixes to my StarterJawbs plugin.
  14. @TopGear93 If you are tying into mChat use mChat.API. And look at all the methods that it lists. If you are using mChatSuite use mChatSuite.API. and look at the methods listed under there Also look on my BukkitDev page ( HERE ) for an almost up-to-date list of Methods you can use.
  15. Offline


    im getting this alot.. any ideas?
    bpermissions 1.9.1
    cb 1509
    latest mchat
    19:22:58 [SEVERE] Could not pass event PLAYER_CHAT to mChat java.lang.IllegalArgumentException: §3[N]§7[Member]§ is already assigned as a player list name for someone at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:155) at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.java:50) 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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:179) 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:546) 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)
  16. Offline


    also getting this
    Code (Text):
    1. 10:15:50 [SEVERE] java.lang.IllegalArgumentException: §c[S]§7[Member]§ is already assigned as a player list name for someone
    2. 10:15:50 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:155)
    3. 10:15:50 [SEVERE]       at net.D3GN.MiracleM4n.mChat.MPlayerListener$1.run(MPlayerListener.java:75)
    4. 10:15:50 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    5. 10:15:50 [SEVERE]       at java.lang.Thread.run(Thread.java:722)
    causes prefixes to not show up.
  17. Offline


    Any idea of what's causing this?

    Code (Text):
    1. 6.11 10:06:10 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    3. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    4. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    5. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    6. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    7. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    8. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    9. 26.11 10:06:10 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)
    10. 26.11 10:06:10 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    11. 26.11 10:06:10 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    12. 26.11 10:06:10 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:295)
    13. 26.11 10:06:10 [Server] INFO     at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.java:47)
    14. 26.11 10:06:10 [Server] INFO     at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:155)
    15. 26.11 10:06:10 [Server] INFO java.lang.IllegalArgumentException: §8[Builder]§f Me is already assigned as a player list name for someone
  18. @fffizzz @brewno Set the format.list variable to +n ONLY if you do not yet know how to use it.
    brewno likes this.
  19. Offline


    Can you update this please... :/ @MiracleM4n

    Code (Text):
    1. 2011-11-26 22:25:44 [SEVERE] Could not pass event PLAYER_KICK to mChat
    2. java.lang.NullPointerException
    3. at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:59)
    4. at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseJoinName(mChatAPI.java:162)
    5. at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerKick(MPlayerListener.java:44)
    6. at org.bukkit.plugin.java.JavaPluginLoader$4.execute(JavaPluginLoader.java:281)
    7. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    8. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    9. at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:106)
    10. at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:210)
    11. at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:88)
    12. at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
    13. at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    14. at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    15. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    16. at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    17. 2011-11-26 22:25:44 [SEVERE] Could not pass event PLAYER_QUIT to mChat
    18. java.lang.NullPointerException
    19. at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:59)
    20. at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseJoinName(mChatAPI.java:162)
    21. at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerQuit(MPlayerListener.java:51)
    22. at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:267)
    23. at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    24. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    25. at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
    26. at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:127)
    27. at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:210)
    28. at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:88)
    29. at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
    30. at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    31. at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
    32. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    33. at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
  20. So, I am using PermissionsBukkit (Which if you could tell me a better one to use that would be great) and when I add people to the "default" group in permissions mChat doesn't put the "default group" prefix in front of the players name. Soo I'm wondering how to add this prefix in front of their name after they are added to the default class in permissions! Please Help!
  21. Offline


    @MiracleM4n is there any way to disable the afk timer and afk kick part of mchat essentials ?
  22. @Spidi Make the options in the config negative values.
  23. mChat + mChatEssentials = mChatSuite ?
    You might want to post some info about mChatSuite on BukkitDev and/or your first post. :)
  24. @TfT_02 == pmChat, mChatEssentials, mChat + More.
  25. I forgot pmChat. :p Btw, I think its a good idea to put them all together, most users use them all anyway. :)
  26. Offline


    I get this error in my console ticked every 3 seconds after I load the plugin:

    Code (Text):
    1. 14:40:21 [INFO] Loaded mchatsuite successfully!
    2. 14:40:25 [SEVERE] java.lang.NullPointerException
    3. 14:40:25 [SEVERE]       at net.D3GN.MiracleM4n.mChatSuite.mChatAPI.checkPermissi
    4. ons(mChatAPI.java:751)
    5. 14:40:25 [SEVERE]       at net.D3GN.MiracleM4n.mChatSuite.mChatSuite$1.run(mChat
    6. Suite.java:506)
    7. 14:40:25 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    8. tWorker.java:34)
    9. 14:40:25 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    I currently use GroupManager as my permissions plugin. This looks as though this is a permissions error, however. I have set the permissions for each group just as it should be, each group with its own mchat.prefix.(value). What could the problem be?
  27. @convictedsaint I will work on fixing this. I am only to assume that GroupManager has changed its API.
  28. First look at the GUI for mChatSuite that is coming (Albiet it is very ugly at this current time): http://imgur.com/a/uURiN#0

Share This Page