[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


    there is any plugin for chat distance?
  3. Offline


    Massimo1993 mchat ave this option

    : mchat-chat-distance: -1.0
  4. What steps will reproduce the problem?
    1. Setting Local to default true
    What is the expected output? What do you see instead?
    I want all users set into the Local channel when they connect automatically. If I leave all of the channels in the channel.yml file, and I set Local to default, then the default channel actually seems to become Chunk. If I remove the other channels besides Global and Local, the default channel becomes null and errors show in the console.
    What version of the product are you using?
    Latest Dev and b1240
    Do you have an error log of what happened?

    Code (Text):
    1. 03:35:36 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    2.  java.lang.NullPointerException
    3.  at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:77)
    4.  at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.java:24)
    5.  at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    6.  at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:159)
    7.  at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    8.  at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    9.  at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    10.  at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    11.  at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
    12.  at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    13.  at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    14.  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    15.  at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    16.  at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    17.  at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    18.  at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Please provide any additional information below.
  5. Offline



    please update for 1317

    and you can add a command ex: /shout [message] with timer to prevent spam, i use chat distance and im need this command
  6. Offline


    I'm having this exact same issue with my mChat, I just updated to latest Bukkit build.
    Worked perfectly before it.


    I have the exact same error as you.
    I hope this gets resolved fast :p

    I'm going to revert until it does.
  7. I discovered something...regular players ARE autojoining into the Local channel. I don't know if it's because I'm OP, or if it's because I have '*' permissions, but I only autojoin into the Chunk channel. Basically it's doing just what I want it to for players, but for me, is unexpected, but manageable.
  8. Offline


    Is there a way to change the prioritization for choosing which permissions to "hook in" to? I'm using PermissionsBukkit and Permissions 3x. All of my prefixes are hooked up in permissions 3x. But when I start my server mChat automatically hooks into PermissionsBukkit, which doesn't have prefix customization anyway....I'm a bit stuck here please help.
  9. Permissions 3.x is outdated and should not be used anymore. I would recommend you to transfer your permissions to a different permissions plugin, like PermissionsEX or PermissionsBukkit.

    Edit: This link will help you with the transfer of your permissions' configs. Here
  10. Offline


    Will you remove your perverted line out of the code! Its fucking up everything for at least a month now, and your plugins is only good coloring plugin.

    Code (Text):
    2. 2011-10-13 11:57:50 [SEVERE] Config file plugins\mChat\info.yml isn't valid! whi
    3. le parsing a block mapping
    4.  in "<string>", line 39, column 9:
    5.             default: ''
    6.             ^
    7. expected <block end>, but found Scalar
    8.  in "<string>", line 52, column 33:
    9.             Adm: ' [Got all the STD's]'
    10.                                     ^
  11. Aehm which perverted line? You have some yaml errors that is not HIS fault but yours! Go paste your yaml here: http://yaml-online-parser.appspot.com/
    And then fix those errors!
  12. Offline


  13. Offline


    thx sooo much cuze ichat and hero chat is a damen plugins thats the awesome plugins
  14. Offline


    Lol, I never noticed I posted this. I guess my annoying brother thought he was on his account. =p
  15. Offline


    @MiracleM4n - Can you add a feature which automaticly notifies an admin about a new update for this plugin when they login in-game?
    Also, if possible, it would be great to have a feature that allows auto updating of the plugin without any interference from the server admin. Have to make sure the plugin replaces the old .jar file of the plugin then. This feature could then simply be turned on or off in the config file.
  16. Offline


    hey i use the built in mcmyadmin support for mchat but it doesnt seem to work for me i get no errors but prefixes wont show up and also no colours
  17. Offline


    is there a way to stop people from using colours when talking in chat?
  18. Offline


  19. Offline


    I have CB 1317, and installed the latest mChat build from Jenkins. I Install it, and then suddenly, all the PermissionsBukkit Chat colours are gone. As in All Groups are white. Admins should be Purple but no they are white. I then think that maybe it isnt fully working with 1317, so i downcraft CB to 1240 (the version that mchat on this tread can take). Still no chat colours, so maybe i think its permissions... It wasnt permissions.
    I then revert all the way back to 1185, and it works again... CAN YOU PLEASE GET THIS WORKING WITH 1317! >:mad: I need it urgently... even if there is a WORKING Dev build link me it pleasee
  20. You should really read the change-log. He changed he whole system. if you wan't to use the old one you have to enable it in the config!
  21. Offline


    thanks... I jus tried that now but it ISNT WORKING... :( im probably doing SOMETHIG wrong so Ill show you my configs:

    Code (Text):
    1. #  mChat configuration file
    2. #
    3. #            **IMPORTANT**
    4. #    usage of mchat-message-format can be, but is not limited to
    5. #        +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    6. #        Suffix, Prefix, Group, World, Time, Player Name, Player Display Name, Health, Health Bar, Message
    7. mchat-join-message: has joined RPNations!
    8. mchat-date-format: HH:mm:ss
    9. auto-Changed: 1
    10. mchat-API-only: false
    11. mchat-name-format: +p+dn+s&e
    12. mchat-playerEvent-format: +p+dn+s&e
    13. mchat-kick-message: has been kicked from RPNations for +r.
    14. mchat-message-format: '+p+dn+s&f: +message'
    15. mchat-leave-message: has left RPNations!
    16. mchat-info-only: true
    17. mchat-format-events: true
    18. mchat-chat-distance: -1.0
    19. mchat-add-info-players: false
    20. mchat-oldNodes-only: false
    21. mchat-playerList-format: +p+dn+s

    Code (Text):
    1. #Groupnames are resolved with the +Worldname,+Wname,+W variables.
    2. groupnames:
    3.     Admin: '&5'
    4. #These are used only if you do not have a Permissions plugin that supports Info installed.
    5. #Or if you choose to voluntarily use these info settings by setting "mchat-info-only" in the config.yml to true.
    6. #These are used to give individual users access to formatting settings.
    7. #These include group based formatting and user based formatting with world support.
    8. #The path mChat looks for the info Var goes as follows: users.Player.info.Var, users.Player.worlds.World.Var, groups.Group.Var, groups.Group.worlds.World.Var .
    9. users:
    10.     Patane:
    11.         group: Admin
    12.         info:
    13.             prefix: '&5'
    14.         worlds:
    15.             Portalworld:
    16.                 prefix: '&5'
    17. groups:
    18.     Admin:
    19.         info:
    20.             custVar: ''
    21.             prefix: '&5'
    22.         worlds:
    23.             Portalworld:
    24.                 prefix: '&5'
    25. #You have to voluntarily choose to use these info settings by setting "mchat-oldNodes-only" in the config.yml to true and "mchat-info-only" to false.
    26. #These are used to give groups or individual users access to these formatting settings.
    27. #For any of these you add or remove please give the appropriate nodes to users.
    28. #An appropriate node would be mchat.prefix.admin in this case.
    29. #Also make sure you falsify any inherited nodes by doing a mchat.Whatever.INHERITEDNODE: false (Example for PermissionsBukkit)
    31. mchat:
    32.     custVar:
    33.         Admin: ''
    34.     prefix:
    35.         Admin: '&5'
    36.     suffix:
    37.         Admin: ''
    38. #As with Groupnames Worldnames are resolved with the +Groupname,+Gname,+G variables.
    39. worldnames:
    40.     D3GN: '[D]'
    41.     DtK: '[DtK]'
    42.     Hello: '[H]'
    43.     Nether: '[N]'

    Obviously by looking in the info.yml, all i really want is to have coloured Names. But its not working at all... whats wrong with it?
  22. @deathlysteve
    Change mchat-oldNodes-only to true and mchat-info-only to false!

    Hopefully this helps you :)
  23. Offline


    tried it b4 didnt work... try it now it works lol thanks...
  24. Offline


    can someone give me a config when the message looks like this: [PrefixGroup] SuffixName: message?
  25. Offline



    Ahello. Just doing a few things to improve compatibility of my plugin, and Ive hit a bit of a sticky wicket.

    Bukkit's getDisplayName() is not returning the display name that mChat is showing in chat messages.

    Is it a bug your side? or my side? Its the same story with HeroChat. Just for reference, iChat seems to work fine, which is a tad odd.

    Anyway, Just had a look through the source code to see if there is some code on mChat that is blocking the setDisplayName() function. Maybe its something that can be added to improve support for "all" plugins that utilise display names? :)

  26. Offline


    Something is weird, I cannot get mChat to cooperate.

    Here are my 3 config files:


    On top of colors simply not appearing, mChat insists on stuffing extra default data to the end of my info.yml, what is up with that?
  27. Offline


    Was just wondering how one disables the censor? I looked in the config.yml and didn't see anything that seemed to indicate that as an option. Any help would be appreciated
  28. Offline


    PermissionsBukkit and mChat

    Hi, trying to set these two up and I'm not sure exactly what I'm doing wrong. Below I will post my three settings. My problem is that I am unsure if the permissions groups are set correctly and if that is whats causing the issue with mchat (prefixes refuse to show and I am unsure if it is because the permissions are set wrong or if my mchat things are set wrong).


    mChat config.yml:

    mChat info.yml:

    I appreciate any, and all help!

Share This Page