[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


    I fixed it. here's how.

    first- delete any other chat plugin, whether it be essentialschat, hero chat.. etc. etc.
    second- make sure your inheritances don't declare two prefixes.. for instance-

    mchat.prefix.Member: true

    inheritance- Guest

    mchat.prefix.Admin: true

    Inheritance - Member

    The above example won't work, because admin has both mchat.prefix.Admin AND mchat.prefix.Member since Admin inherits from member.

    To fix this, you can either have Admin NOT inherit anything from Member, OR I believe you can put mchat.prefix.Member: false under the Admin permissions.

    Hope this helped!
  3. Offline


    i already tryed taking out the inheritance it just doesnt work for me i have the ranks

    for default and builder the ranks show up correct but for shopkeeper-admin they show up as default and i made sure i didnt have multiple permissions or a diff chat plugin
    thanks though.
  4. Offline

    Boon Pek

    PUSH. PUSH! 8)
  5. Offline


    it is now on my github. sorry for not releasing a compiled build. i have been attempting to setup a jenkins to no avail. I might just take @SwearWord s offer of using his jenkins if the offer still stands
  6. Offline


  7. Offline


    I have a problem, when i start mChat, the serverconsole says: " permissions not found, checking for groupmanager". I have permissionsbukkit v1.2 and superperm v1.2 . but its working in-game. when somebody joins, prefix and name is shown and when somebody writes in chat, prefix is shown. but it only works until the player uses a command like "/time day". Then the prefix is not longer shown when he is writing something in chat.
  8. Offline


    I now have a Jenkins up for the latest and greatest build of mChat. I am still learning how to use Jenkins so bear with me. Anything/Everything I push to GitHub will be processed as a new build.

    Jenkins URL is: http://dev.d3gn.net:8080/ Sorry for not posting it with the first post (Tired and failing ATM)

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


    are there any permissions i need to use colors in chat?
    prefix and co work fine, but when i use formating in chat it doesn't work: "&aa" result in a white "a" etc.
  10. Offline


    Does not work with Bukkit #1104.

    23:38:35 [SEVERE] Error occurred while enabling mChat v1.7.12 (Is it up to date?): null
    	at net.D3GN.MiracleM4n.mChat.mChat.setupSuperPerms(mChat.java:170)
    	at net.D3GN.MiracleM4n.mChat.mChat.onEnable(mChat.java:103)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    	at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:404)
    	at org.bukkit.Bukkit.reload(Bukkit.java:173)
    	at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:347)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:343)
    	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  11. Offline


    @tekac Try Build #3 on my Jenkins.
  12. Offline



    Confirmed working with build #1117 and your jenkins #3

    I lied.
    I am receiving this error upon anyone chatting in the server.

    10:08:33 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.NoClassDefFoundError: com/platymuus/bukkit/permissions/PermissionsPlugin
            at net.D3GN.MiracleM4n.mChat.mChatAPI.getSuperPermsGroup(mChatAPI.java:201)
            at net.D3GN.MiracleM4n.mChat.mChatAPI.getSuperPermsInfo(mChatAPI.java:180)
            at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:114)
            at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawGroup(mChatAPI.java:133)
            at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:30)
            at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:76)
            at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.java:22)
            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:338)
            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:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Granted I haven't set the group prefixes and such yet, maybe thats my issue.

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


    Shit.... Ill fix this now.

    @tekac Ok....Try #4 now :p

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


    and I can again confirm. We have a working mChat. Build #1117, jenkins #4. Nicely done bossman!
  15. Offline


    @tekac Anything you would like requested/changed/added/removed/modified?
  16. Offline


    Well .. I'd come up with ideas .. if I could get the plugin working :p However I can't quite .. get it for some reason. Here is my bPermissions yaml.
    default: Guest
        -   mchat.prefix.guest: true
        - commandbook.who
        - commandbook.motd
        - commandbook.msg
        - commandbook.spawn
        -   mchat.prefix.builder: true
        - bPermissions.build
        - multihome.defaulthome.go
        - multihome.defaulthome.set
        -   mchat.prefix.vip: true
        -   mchat.prefix.mod: true
        - kiwiadmin.ban
        - kiwiadmin.kick
        - kiwiadmin.unban
        - kiwiadmin.tempban
        - kiwiadmin.ipban
        -   mchat.prefix.admin: true
        - '*'
        - admin
        - builder
        - guest
        - Builder
        - builder
        - guest
    The admin color shows .. however the rest of the players in other groups do not. I'm not sure why.

    Here is mChat info.

    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
        admin: ''
        mod: ''
        vip: ''
        builder: ''
        guest: ''
            admin: ''
            mod: ''
            vip: ''
            builder: ''
            guest: ''
            admin: '&4'
            mod: '&b'
            vip: '&a'
            builder: '&9'
            guest: '&7'
            admin: ''
            mod: ''
            vip: ''
            builder: ''
            guest: ''
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
  17. Offline


    @tekac Im not sure if it makes a difference but make sure all the casings are the same (Guest and guest might not mean the same things) also not sure if adding more spaces would do anything also.
  18. Offline


    Currently on build 1125, join and leave messages don't work. They reset to default ...joined the game and ...has left the game

    CORRECTION: it seems join messages reset, and color codes on those don't work.

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


  20. Offline


    @OZ4RK Is there even a build 1125? If so could you give me a link so I can see what has changed.

    @kamild1996 Ill do this now just for you. It will be permissions node based although so you will have to falsify inherited groups nodes or do you want this to be based on actual groups themselves?

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

    The Wizard

    Can you make private chat rooms with this?
  22. Offline


    @The Wizard try another one of my plugins called mChannel it is in the OP of this thread
  23. Offline


    Like in iChat.
  24. Offline


    @kamid1996 I am not the dev of iChat so you have to provide more details. I did not know for starters that iChat came with login message support
  25. Offline


    @MiracleM4n This is info.yml of mChat i did:
    I want chat messages looking like this:

    ||||||||||Just_a_MOD: message
    ||||||||||Just_a_Budowniczy: Budowniczy = Builder.

    Of course I want that colors i added to info.yml.
  26. Offline


    @kamild1996 Just add a cusom variable to the player that only contains the colour code you want and give that player or groups permissions for it
  27. Offline


    @MiracleM4n Can you explain it with... ehm... more concrets? Look description... :(
  28. Offline


    Yea ugh I think I meant 1135, whatever the latest dev build is. If the problem continues I will post more details.
  29. Any chance this plugin could alter how the names look in the 1.8 TAB menu ?

    Cheers Spidi
  30. Offline


    @Spidi I didnt know there was a tab menu i will work on this tonight after work tonight
  31. Offline


    @Spidi there is currently no way to alter this without accessing Notch Code. I will try to see if Spout includes it so I can add it to mChatEssentials on Spout is updated.

    I am in the process of a complete overhaul of the mChat Configs. I am in the process of making mChat only relient on itself (Have its one Info Resolving) so that I do not have to worry about Permissions plugin conficts. I am looking for help as to how people want this to be implemented. If anyone here would like to help in the next update could they please contact me via a PM.

    Also, Please look at my Jenkins for the latest DEV build before complaining that something is not working. If the version of mChat is not 1.7.* do not use it with 1.7.* as it will only work with the version of MineCraft that is included in the first 2 digits of mChat's version.

    Im in the mood for a lot of information dumping. If anyone wants to help convert this thread to a BukkitDev worthy format, please contact me and I will give you the ability to do so on the mChat project thread ( http://dev.bukkit.org/server-mods/mchat/ )

    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