[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

    MiracleM4n

    Do you have mInfo installed?
     
  3. Offline

    CrispyDiamonds

    no do i need it? also i read something about bukkitcontrib. do i need that as well?
     
  4. Offline

    MiracleM4n

    Yes. What do you need help with?

    mInfo is required BukkitContrib(Now known as Spout) is not.

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

    CrispyDiamonds

    okay i installed minfo but i still had the exact same result it just says my prefix is "non-Boolean"
     
  6. Offline

    MiracleM4n

    Make sure you configure the mInfo config to your needs and give yourself the correct permissions nodes (minfo.prefix.ETC, suffix.ETC, group.ETC...)
     
  7. Offline

    morizuki

    can you help me setup the SuperPerms with your mChat? I'm also using SuperPermsBridge so I can still use permissions for other plugins..
     
  8. Offline

    MiracleM4n

    Shoot me a PM and Ill help you ok?
     
  9. Yay! Thanks for updating mChat to Spout!
     
  10. Offline

    MiracleM4n

    Np TfT_02. Remember to always check OP before updating. There are some quite significant changes in this release.
     
    TfT_02 likes this.
  11. Alright! Will do!
     
  12. Offline

    PhotonLance

    plz ... permissions 3.* (((
     
  13. Offline

    samp20

    I'm just curious as to what will happen if a player is assigned multiple prefixes. A scenario where this might happen is for example you have a standard group based plugin such as permissionsBukkit, but you also have a jail type plugin. When a player is in jail the jail plugin wants to set the permission mchat.prefix.jailed so that the player will now have the prefix [Prisoner] override their current prefix. Is it possible to define the order that the prefixes should be checked in so that certain ones can override others?
     
  14. Offline

    mrgreaper

    iwas just about to update when i saw the minfo thing, its config file is the same as mchat and the permission nodes look very similier... ummm will minfo auto convert the mchat cfg? and will the permission nodes i have already configured for mchat still work? not really sure why its been split into 2 seperate plugins
     
  15. Offline

    dark_hunter

    This works great with P3.
     
  16. Offline

    mrgreaper

    to answer my own question
    permissions have to be redone
    cfg file has to be redone

    in future a big warning on first page when something so drastic is done please

    CHANGE ALL MCHAT.WHATEVER PERMISSION NODES TO MINFO.WHATEVER

    ^ that would of saved me half hour of faffing around

    thank you for the plugin but please spare a thought for us admins in future!
     
  17. Offline

    CrispyDiamonds

    okay one last problem then evrything will be good. whenever i type in something it pust a bunch of colons in front of my name as shown below:
    Code:
    16:23:23 [INFO] ||||||||||[Admin]CrispyDiamonds: testing
    
    here is my mchat/minfo config:
    Code:
    # mInfo config
    minfo:
        group:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
        prefix:
            guest: '&f[&dGuest&f]'
            member: '&f[&1Builder&f]&1'
            mod: '&f[&2Mod&f]&a'
            admin: '&f[&6Admin&f]&e'
        suffix:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
    
    and the mchat:
    Code:
    mchat-date-format: HH:mm:ss
    mchat-join-message: has joined the game.
    mchat-typingMessage: '*Typing*'
    auto-Changed: 1
    mchat-colouring: dark_red
    mchat-name-format: +p+dn+s&e
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from the game.
    mchat-message-format: '+hb+p+dn+s&f: +message'
    mchat:
      prefix:
        guest: '&f[&dGuest&f]'
        member: '&f[&1Builder&f]&1'
        mod: '&f[&2Mod&f]&a'
        admin: '&f[&6Admin&f]&e'
    mchat-contrib-enabled: true
    mchat-leave-message: has left the game.
    mchat-notifyHealth-enabled: false
    
    also do i need the config in mchat AND minfo or just one of them?
     
  18. Remove the +hb in: mchat-message-format: '+hb+p+dn+s&f: +message' so it looks like:
    mchat-message-format: '+p+dn+s&f: +message'
     
  19. Offline

    MiracleM4n

    i will help everyone once i get off work

    Ok I am off work. You may now spam me with PM's (Please make them PM's as they are easier to handle) if you need help.

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

    HonestFlames

    The 'bunch of colons' is one of the documented features of mChat. It is a representation of your health bar.
     
  21. Offline

    elijah gifford

    does this work with group manager
     
  22. Offline

    MasterMeNL

    I keep getting this error everytime someone connects (and types?).
    Code:
    2011-08-04 22:48:12 [INFO] WesselNL [/******] logged in with entity id 236 at ([ServerWorld] 752.2498992772162, 80.0, -385.72883820197416)
    2011-08-04 22:48:12 [SEVERE] Could not pass event PLAYER_JOIN to mChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getUserPermissionString(PermissionHandler.java:134)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getUselessPermissionsInfo(mInfo.java:158)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getInfo(mInfo.java:109)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getPrefix(mInfo.java:123)
        at net.D3GN.MiracleM4n.mChat.mChat.parseChat(mChat.java:115)
        at net.D3GN.MiracleM4n.mChat.mChat.parseJoin(mChat.java:182)
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerJoin(playerListener.java:29)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
        at net.minecraft.server.Packet1Login.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        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)
    2011-08-04 22:48:12 [INFO] WorldEdit: WesselNL: worldedit cui
    2011-08-04 22:48:18 [INFO] [AuthMe] Player WesselNL logged in!
    2011-08-04 22:48:19 [INFO] The automatic update-Check only work every 6 hours, the last check was 16 minutes ago.
    2011-08-04 22:48:34 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getUserPermissionString(PermissionHandler.java:134)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getUselessPermissionsInfo(mInfo.java:158)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getInfo(mInfo.java:109)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getPrefix(mInfo.java:123)
        at net.D3GN.MiracleM4n.mChat.mChat.parseChat(mChat.java:115)
        at net.D3GN.MiracleM4n.mChat.mChat.parseChat(mChat.java:169)
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerChat(playerListener.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: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)
    2011-08-04 22:48:34 [INFO] <WesselNL> joi
    2011-08-04 22:49:26 [INFO] [BBROTHER] Building `ownership` table...
    2011-08-04 22:49:38 [INFO] Connection reset
    2011-08-04 22:49:38 [INFO] WesselNL lost connection: disconnect.endOfStream
    2011-08-04 22:49:38 [SEVERE] Could not pass event PLAYER_QUIT to mChat
    java.lang.UnsupportedOperationException: Unsupported operation
        at com.platymuus.bukkit.permcompat.PermissionHandler.getUserPermissionString(PermissionHandler.java:134)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getUselessPermissionsInfo(mInfo.java:158)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getInfo(mInfo.java:109)
        at net.D3GN.MiracleM4n.mInfo.mInfo.getPrefix(mInfo.java:123)
        at net.D3GN.MiracleM4n.mChat.mChat.parseChat(mChat.java:115)
        at net.D3GN.MiracleM4n.mChat.mChat.parseJoin(mChat.java:182)
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerQuit(playerListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:608)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
        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)
    I run v1.1 of permissions and v1.2 of the permissionsbridge (or vice-versa), they are currently the latest versions.
    I tried re-configuring all the configs but it didn't work.
    I never had any problem with the old mChat.
    I also have the new mInfo chat installed.
    I attached config's here.
    Also, I have the permission node:
    Code:
    minfo.prefix.owner: true
    Wessel has the node minfo.prefix.admin: true.
    which worked on old versions (only replaced mchat with minfo).
     

    Attached Files:

  23. Offline

    MiracleM4n

    I will work on a fix for SuperPermsBridge.
    elijah gifford: No It does not currently, If you could point me to a GroupManager API I could attempt to add it.

    Fixed error spewing. Redownload mInfo please.

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

    bl1tz0r

    hello I don't know what ive done wrong but when i chat all I get is :::::bl1tz0r:
    Code:
    heres my config
    mchat-date-format: HH:mm:ss
    mchat-join-message: has joined the game.
    mchat-typingMessage: '*Typing*'
    auto-Changed: 1
    mchat-colouring: dark_red
    mchat-name-format: +p+dn+s&e
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from the game.
    mchat-message-format: '+hb+p+dn+s&f: +message'
    mchat:
      prefix:
        Guest: '&f[&dGuest&f]'
        Builder: '&f[&1Builder&f]&1'
        Trusted: '&f[&4Trusted&f]&c'
        Mod: '&f[&2Mod&f]&a'
        Admin: '&f[&6Admin&f]&e'
    mchat-contrib-enabled: true
    mchat-leave-message: has left the game.
    mchat-notifyHealth-enabled: false
     
  25. Offline

    MiracleM4n

    bl1tz0r: This it the line that formats messages:
    mchat-message-format: '+hb+p+dn+s&f: +message'

    It currently shows Healthbar,Prefix,DisplayName,Suffix,WhiteColor,Colon,Space,Message.
    If you would like it to show more please tell me which permissions plugin you are using.

    *ADDED GROUPMANAGER,PERMISSIONS SUPPORT* (I had to capitalize that :p)

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

    bl1tz0r

    permissions 3.1.6 I have the format done correctly but I still only get ::::::
     
  27. Offline

    MiracleM4n

    Format in If you are using Permissions it now uses the Permissions info: strings not any of the mChat,mInfo configs.
     
  28. Offline

    morizuki

    can you support MobDisguise? or just a little tweak or something?

    If you don't know, MobDisguise let you turn into any mobs or PLAYER..

    Let say Bob is a Builder, so he has a floating name
    [Builder] Bob

    And I have a prefix too
    [Admin] Kiro

    so I tried /md p Bob

    I changed to Bob.. except for the prefix..
    this will be the output
    [Admin] Bob

    If you can support this.. the MobDisguise and mChat will become the perfect disguise player.. well if u can't.. that's ok.. :D
     
  29. Offline

    MiracleM4n

    I will work on this :D.
     
  30. Offline

    morizuki

    oh hahaa.. thanks for that :D
     
  31. Offline

    MiracleM4n

    Is everything now working to everyones expectations/needs?
     

Share This Page