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

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

  1. Offline

    MiracleM4n

    [​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.
    [​IMG]


    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)

    Suggestions?


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

    mChannel Now has its own thread

    Changelog:
    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 1.7.11.1 (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)
    • THIS IS A NEEDED UPDATE FOR THE MOST RECENT BUILDS OF PLUGINS RELYING ON MCHAT.
    • 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

    enjikaka

    The new update to this spams error in my console after I edited the config.yml. I use the old version of it, it works without spamming. Please fix the new version.
     
  3. Offline

    MiracleM4n

    @enjikaka: I need the error to be able to fix the problem.
     
  4. Offline

    Kiwii

    @MiracleM4n Hm, I'm on Bukkit 1000 and have version 1.7.5_1 of mChat (downloaded today) and still get severe errors after doing a reload whenever somebody types into the chat. That is very sad because I really like your plugin because of it's cool features but I can not use it because of having to reload our server very often. I hope you can fix this issue soon! ;)


    Code:
    [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.mChat.parseChat(mChat.java:320)
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerChat(playerListener.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        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:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  5. Offline

    MiracleM4n

    I will be fixing this soon.
     
    Kiwii likes this.
  6. Offline

    Kiwii

    Awesome!
    Okay, one more thing: Is it possible to add a place holder for newlines? So one could use e.g. "\n" to make a newline? Because I would like to have the chat like that:

    Code:
    13:37:42 <Admin Kiwi>
    Here goes the Message
    It's simply because it is hard to read if you have a time stamp, a rank name, possible a world name and the user's display name in one line with the actual message.
     
  7. Offline

    MiracleM4n

    Kiwii: Im not sure how this will work as I am just formatting the message than sending it to Bukkit to send it to the players, Console. I will ask around if this is even possible.
     
  8. Offline

    IncendiaDrakon

    Is there any way to view more than just the chat channel you're in? I wanted to set up an Admin only channel, but apparently joining that channel blocks whatever other users are saying in the "public" channel. :I
     
  9. Offline

    MiracleM4n

    IncendiaDrakon: I have removed channels as of 1.7.5. I will be making a seperate channel only plugin that will tie into this ones API once all the features I would like in mChat are complete.
     
  10. Offline

    jeffreylec

  11. Offline

    MiracleM4n

    *Upated to 1.7.6_1* (Please check OP.)
     
    Kiwii and dark_hunter like this.
  12. Offline

    dark_hunter

    The perfect format I wanna share!

    Code:
    mchat-name-format: <HP:+h+hb> +dn
    mchat-message-format: '<HP:+healthbar+health> <+dn> +message'
    [​IMG]
    [​IMG]
     
  13. Offline

    MiracleM4n

    Im going to say all the new features work :p
     
  14. Offline

    Kiwii

    Thanks, I can confirm this working properly now. That was a fast fix! Thank God I switched from iChat :D
     
  15. Offline

    Xemnias

    Wooow ! It's a litle more long for me ! :p
    @MiracleM4n Your plugin is just PERFECT !!
    No realy, It just what I need ! Particulary the message above the head who said then we are chat !
    Congratulation and continue !! :D
     
  16. Offline

    Kiwii

    @MiracleM4n Do you need some new ideas/bug reports? :p
    At first, the bug: in login and logout messages color codes of prefixes do not work properly.
    Relevant configuration: (btw, what exactly does the 'group:' thing?)
    Code:
    mchat-join-message: '&8joined the game.'
    mchat-kick-message: '&8has been kicked.'
    mchat:
        prefix:
            Guest: '&8Guest &e'
            Member: '&b'
            Moderator: '&8Mod &9'
            Operator: '&8Op &2'
            Admin: '&8Admin &4'
        group:
            Guest: Guest
            Member: Member
            Moderator: Mod
            Operator: Op
            Admin: Admin
        suffix:
            member: ''
            sadmin: ''
            jadmin: ''
            admin: ''
    mchat-leave-message: '&8left the game.'
    In the chat, the names are properly colored but in login and logout messages the names are just white but the rank name is displayed so I think this is just some weird bug.
    Now, the feature request: Would you mind making a /who (/online) command that sorts players by prefixes? And then a new configurable option for that to give the player names in the /who list different colors, like that:

    Code:
    mchat:
        list-prefix:
            Guest: '&e'
            Member: '&b'
            Moderator: '&9'
            Operator: '&2'
            Admin: '&4'
    So you have an online list with colored names, sorted by ranks.
    Again, thank you very much for this plugin!
     
  17. Offline

    dark_hunter

    Demos:
    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
     
  18. Offline

    MiracleM4n

    Kiwii: I will need the whole config to help with the login/logout bug, I will also try to add this command for 1.7.8.
    dark_hunter: Almost done PM :p 1.7.7 here we come. (Thanks for the photo's)

    dark_hunter: 1.7.7 released. Enjoy!! (Ill be in the server to test in a second).

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

    Xemnias

    Is it possible to change the format of the PM ?
    Like : "&4[MP ==> +sendername] &1+PM" ?
    ( My "&4[MP ==> +sendername] &1+PM" is quickly ! :p)

    And for the *Typing* above the head too ? ( yes i'm not english, and i want to change that ! :'( )
    Please !
    And if you're not OK, thank's !

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

    Kiwii

    @MiracleM4n Okay, sorry here is the complete config file:

    Code:
    # mChat configuration file
    
    #
    
    #           **IMPORTANT**
    
    #   usage of mchat-message-format is restricted to:
    
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    
    #
    
    #   usage of mchat-name-format is restricted to:
    
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb
    
    #           **************
    
    #
    
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    
    # ignore it if you don't know what that is.
      
    mchat-join-message: '&8joined the game.'
    
    mchat-date-format: HH:mm:ss
    
    auto-Changed: 1
    
    mchat-name-format: '&8+p&f+dn&8+s&f'
    
    mchat-kick-message: '&8has been kicked.'
    
    mchat-message-format: '&8+time <+p+dn+s&8>&f +message'
    
    mchat-colouring: dark_red
    
    mchat:
    
        prefix:
    
            Guest: '&8Guest &e'
    
            Member: '&b'
    
            Moderator: '&8Mod &9'
    
            Operator: '&8Op &2'
    
            Admin: '&8Admin &4'
    
        group:
    
            Guest: Guest
    
            Member: Member
    
            Moderator: Mod
    
            Operator: Op
    
            Admin: Admin
    
        suffix:
    
            member: ''
    
            sadmin: ''
    
            jadmin: ''
    
            admin: ''
    
    mchat-leave-message: '&8left the game.'
    
    mchat-contrib-enabled: true
    
    mchat-notifyHealth-enabled: false
    By the way, I do not have Bukkit Contrib on my server... I guess I should turn 'mchat-contrib-enabled' to false but it does not seem to make any problems.
    Do you need any other config files? Everything including chat is working fine except the color codes in the prefix in login and logout events.
     
  21. Offline

    MiracleM4n

    mchat-name-format: '&8+p&f+dn&8+s&f' <-- That is used for login and logout as well as BukkitContrib features.

    I will make *Typing* configurable in next release. Also I might MIGHT add a feature for changing PM format.

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

    Kiwii

    Oh, cool. Now it's working like it is supposed to be :D
    I only need the /who command, then I'm fine. Again, this is a _very_ impressive plugin!
     
  23. Offline

    Xemnias

    Thank's !!!!
    Great job !!! :D
     
  24. Offline

    briankdk

    thanks for the great "this is how u instal it" ! :-(
     
  25. Offline

    Kiwii

    Well, you download the mChat.jar and move it to your "plugins" folder inside of the folder containing your "craftbukkit-0.0.1-SNAPSHOT.jar" (if there is no folder named "plugins" just create it!). After you start your server once the plugin should auto create it's default configuration in /your-server-path/plugins/mChat/config.yml. Stop your server and edit that file to fit your needs. Make sure to only use spaces; no tabs!
    I hope that helped.
     
  26. Offline

    briankdk

    thanks :)

    But i installed ichat 4 hours ago - it works ok (simple though)

    Could you tell me if Mchat is much better ?
     
  27. Offline

    MiracleM4n

    *Updated to 1.7.7_2* (Check OP)
     
  28. Offline

    xXMurmelkotzeXx

    Where are the permissions listed?
     
  29. Offline

    dark_hunter

    Provides a reload command (/mchat reload = mchat.reload)
    Provides a /me command (/mchatme OR /me *message* = mchat.me)
    Provides a personal message command (/mchat pm {playername} message = mchat.pm)
     
  30. Offline

    Xemnias

    Thank's for add the *Typing* personalisation !!!
    It's realy good now ! :D
    And I see in the " to do ", you will add the personal PM format !
    Thank's a lot !
     
  31. Offline

    MiracleM4n

    Anymore feature requests, Bug reports, Feature malfunctions?

    Would anyone like me to split this plugin up into multiple ones? Like one for PM one for Channels(In the future) and one for Contrib features?

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

Share This Page