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

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

  1. Offline


    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


    All working! Thank you again good sir.

    I have one last final question though. It might be an annoying one because being around a community like this makes me feel like this is common knowledge but I would like to know how to change the configs.yml and info.yml to display a [Rank] before a players name in chat. It doesnt seem to work when I have this in info.yml:
    # mChat Info Config
        admin: 'admin'
        default: 'default'
        jadmin: '[ja]'
        member: '[m]'
        world: '[world]'
            group: admin
                suffix: ''
                prefix: ''
            group: default
                suffix: ''
                prefix: ''
                prefix: '&c[Admin]&f'
                suffix: ''
                custVar: ''
                prefix: '&2[Default]&f'
                suffix: ''
                custVar: ''
    I would imagine it would use that prefix before every name but this changes nothing.
    How would I go about doing this?
  3. Offline


  4. Offline


    #  mChat Configuration File
        date: HH:mm:ss
        chat: '+p+dn+s&f: +m'
        name: +p+dn+s&e
        event: +p+dn+s&e
        tabbedList: +p+dn+s
        listCmd: +p+dn+s
        me: '** +p+dn+s&e +m'
        join: has joined the game.
        leave: has left the game.
        kick: has been kicked from the game +r.
        deathInFire: went up in flames.
        deathOnFire: burned to death.
        deathLava: tried to swim in lava.
        deathInWall: suffocated in a wall.
        deathStarve: starved to death.
        deathCactus: was pricked to death.
        deathFall: hit the ground too hard.
        deathOutOfWorld: fell out of the world.
        deathGeneric: died.
        deathExplosion: blew up.
        deathMagic: was killed by magic.
        deathEntity: was slain by +CName.
        deathArrow: was shot by +CName.
        deathFireball: was fireballed by +CName.
        deathThrown: was pummeled by +CName.
        heroesMasterT: The Great
        heroesMasterF: The Squire
        apiOnly: false
        formatEvents: true
        chatDistance: -1.0
        varIndicator: +
        spout: false
        suppressMessages: false
        useNewInfo: true
        useLeveledNodes: false
        useOldNodes: true
        addNewPlayers: true
        defaultGroup: default
        enable: false
        eHealthNotify: false
        eHealthAchievement: true
        eHQAFK: false
        listVar: group
        AFKTimer: 300
        AFKKickTimer: 1200
        useAFKList: false
        eSpout: false
        enable: true
        spoutPM: false
    There you go.
  5. Offline


  6. Offline


    OH! Haha! My apologies! It worked.
    Thank you man. I smell a donation coming your way soon :p
    Keep up the fantastic work!
  7. Offline


  8. Offline


    Can you make a thread or bukkitDev for it then? No point in keeping a old plugin up that you no longer support. Also what are the features of mChatSuite? same as mchat or what?
    dark_hunter likes this.
  9. Offline


    00:24:00 [SEVERE] Could not pass event PLAYER_CHAT to mChatSuite
    java.lang.IllegalArgumentException: §2<§8§bN§eE§aO§d is already assigned as a player list name for someone
    at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:145)
    at net.D3GN.MiracleM4n.mChatSuite.MPlayerListener.onPlayerChat(MPlayerListener.java:68)
    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:180)
    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:550)
    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)
     00:34:14 [SEVERE] java.lang.IllegalArgumentException: §2<§8LDB§2>§8.§f is already assigned as a player list name for someone
    00:34:14 [SEVERE] at org.bukkit.craftbukkit.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:145)
    00:34:14 [SEVERE] at net.D3GN.MiracleM4n.mChatSuite.MPlayerListener$2.run(MPlayerListener.java:133)
    00:34:14 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    00:34:14 [SEVERE] at java.lang.Thread.run(Thread.java:722)
    This is on craftbukkit version 1550 and spout version 582

    it doesnt cause a crash issue or anything just spew :)
  10. Offline


    Why is it when new people join my server they do not automatically get the Prefix I have set for the default group in mChat? My default group on PermissionsBukkit is called "Default" just like it is on the mChat settings. Spelled the same way too!

    Can you please help!
  11. Offline


    @ForsakenRealmz I need to see all your mChat configs as well as your Perm configs.
  12. Offline


    OK.. I have read all the documentation.. However I still not sure how to set prefix/Suffix too spec groups when using permissionbukkit 1.2. I'm looking to have the prefix say current world and suffix player group. (ex: "default"). Can this not be dont in the config.yml of permissionsbukkit??
  13. Offline


    How do I use prefixes in mChat if I have a prefix set in bPermissions?
  14. Offline


    Ok here are my config files.. They may be really long!


    mChat Config: http://pastebin.com/yx6q4WDn

    mChat Info: http://pastebin.com/FGTjhWpc (The reason there are so many "Users" is because it doesn't automatically add the prefixes for people!)

    PermissionsBukkit Config: http://pastebin.com/n7cwgMKb

    Please Help!

    Also is there someway to delete the memory of everyone on my server? Like not their items or anything but just so when they log back it says "Welcome to the Server!" I just want it to say this so then it adds the prefixes automatically. But it seems like the prefix isn't being added automatically!
  15. Offline


    Hi, i have a question. I've been testing for 2 hours but i can't get a solution.

    -I'm running the latest versions of mChat
    -Latest bukkit build
    -PermissionsBukkit 1.2k

    Now, let's say i set my rank to VIP with /perm player setgroup Dutchleader VIP. This would make me VIP in PermissionsBukkit, but how do i get it to show the [VIP] prefix then? I think it's about these configs:

        useNewInfo: false
        useLeveledNodes: false
        useOldNodes: false
        addNewPlayers: false
        defaultGroup: Default
    So the thing is to fetch rank information from Permissions and then use that for prefixes.
    Basically that's my only problem, but i'm not sure which to set to true and which to set to false.

    Thanks for the help in advance!
  16. Offline


    Ok I upgraded to your mChatSuite thing, whatever the beta is and I'm using bukkitperms, all I want to do is colour the groups i already have made in bukkit perms so that when an admin chats, their colour is green, etc etc

    Why does this seem so hard O_O
  17. Offline


    @Willem All you have to do is include +group in any of the formatting fields.
    @Lyndon321 PM me I will help you with this.
  18. Offline


  19. Offline


    @_Zw_ Yes it is the new mChat

    @_Zw_ I just pushed a fix for this.

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


    Nice tnx. Hard to make it use /mChat instead of /mChatSuite ? Linket other plugins to the folder ;P

    Bah new config setup and everything. Can u update mchat? It worked.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 15, 2016
  21. Offline


    @_Zw_ mChatSuite IS mChat updated. I changed the name only because of the amount of changes that are ocurring.
  22. Offline


    I cant get it working with my permissions and mcmyadmin that worked with mchat ;/
  23. Offline


    @_Zw_ PM me your configs for mChat and Ill convert them over.

    EDIT: And Ill also add a check for the original mChat folder if it exists.
  24. Offline


    Ok, sent :)
    The thing is that my config is much smaler as u see, and i do not add users myself. Mcmy get it from group plugin itself.
  25. Offline


    Today I updated to Bukkit #1550 --> #1565 and mChat (b9) does not work anymore.
    07.12 18:53:03 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.12 18:53:03 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:393)
    07.12 18:53:03 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    07.12 18:53:03 [Server] INFO     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:329)
    07.12 18:53:03 [Server] INFO     at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:342)
    07.12 18:53:03 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    07.12 18:53:03 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    07.12 18:53:03 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    07.12 18:53:03 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    07.12 18:53:03 [Server] INFO     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    07.12 18:53:03 [Server] INFO     at net.D3GN.MiracleM4n.mChat.mChat.onEnable(mChat.java:197)
    07.12 18:53:03 [Server] INFO     at net.D3GN.MiracleM4n.mChat.mChat.setupPerms(mChat.java:250)
    07.12 18:53:03 [Server] INFO     at net.D3GN.MiracleM4n.mChat.mChatAPI.log(mChatAPI.java:786)
    07.12 18:53:03 [Server] INFO java.lang.IncompatibleClassChangeError: Found interface org.bukkit.command.ConsoleCommandSender, but class was expected
    07.12 18:53:03 [Server] SEVERE Error occurred while enabling mChat v1.8.7 (Is it up to date?): Found interface org.bukkit.command.ConsoleCommandSender, but class was expected
    Are there any mchat dev builds working?
  26. Offline


  27. Offline


    Will it generate new settings or will use old ones (mChat)?
    i guess not :(
  28. Offline


    mchat doesnt work with the latest bukkkit-DEV.

    i tried mChatSuite and cant seem to import the settings to that plugin. how can i do this?
  29. Offline


  30. Offline


    Well, I install this plugin like any other plugin, right?
    I do have mChat directory and config. But it doesn't work :(
    Here are my mChat files.

    2011-12-08 12:34:42 [INFO] Could not call home.
    2011-12-08 12:34:42 [INFO] [mChatSuite] PermissionsBukkit v1.2 found hooking in.
    2011-12-08 12:34:51 [INFO] [mChatSuite] Stats is initializing for the first time. To opt-out check stats.yml.
    2011-12-08 12:34:51 [INFO] [mChatSuite] Stats are being kept for this plugin. To opt-out check stats.yml.
    2011-12-08 12:34:51 [INFO] [mChatSuite] mChatSuite version 1.0.1 is enabled! Took 9.719 seconds.
    2011-12-08 12:34:52 [INFO] PermissionsBukkit v1.2 is now enabled
  31. Offline


    O wise plugin Dev, I bear sad tidings of failure :(
    The old mChat worked on CB 1562, but bukkit changed stuff, so I removed it and put in mChatSuite for CB 1566.
    I have tried and failed to get your new mChatSuite #2 to take over the old mChat functions.
    Players get no titles or welcome message. Config is set to useNewInfo: false and useOldNodes: true,
    same as before.
    Also running PEx 1.16, MC 1.01, Spout 612, Multiverse-Core 2.2 RJ001, and a bunch of other stuff.
    Is it me, is it you, or is there something wrong with the Universe? ;)
    08:54 PM [INFO] [mChatSuite] Register 1.5 found hooking in.
    08:54 PM [INFO] [mChatSuite] Spout 612 found hooking in.
    08:54 PM [INFO] [mChatSuite] PermissionsEx v1.16 found hooking in.
    08:54 PM [INFO] [mChatSuite] Stats is initializing for the first time. To opt-out check stats.yml.
    08:54 PM [INFO] [mChatSuite] Stats are being kept for this plugin. To opt-out check stats.yml.
    08:54 PM [INFO] [mChatSuite] mChatSuite version 1.0.1 is enabled! Took 0.039 seconds.
    EDIT!!!! => Dev mChatSuite #5 works! (except for /me, gotta look into that...) Thanks MM!
    Mercury likes this.

Share This Page