[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

    shadrxninga

    your missing the version in your title
     
    DrBreadgun likes this.
  3. Offline

    MiracleM4n

    Next update will include (as of now, Just updated Git as well):
    • 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)
    If you want anything else added write after this and Ill add it to the list.
     
  4. Offline

    Riddle

    This is supported all the time in the chat or only when someone is leaving/joining?
     
    morizuki likes this.
  5. Offline

    arsjet

    please config.
    Want to be able to color the name while you are logged.
     
  6. Offline

    MiracleM4n

    I will soon be merging this with a modified version of both nChat and iChat. More features soon to come (Name will also change to mChat).
     
  7. Offline

    chaseoes Retired Staff

    Screenshots?
     
  8. Offline

    MiracleM4n

    Ok Testing phase has started for mChat. I wont change this thread to mChat until I am sure all of the bugs have been worked out. Link for mChat here.

    Nobody wants to test it?

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

    MiracleM4n

    Aw fug it. Im releasing it :p.
     
  10. Offline

    MiracleM4n

    If anyone would care to give input that would be much appreciated.
     
  11. Offline

    kahlilnc

    You should state the difference in ichat and this.
     
  12. Offline

    MiracleM4n

    Bukkit Contrib features and forward compatability features, as well as join/leave messages.
     
  13. Offline

    kahlilnc

    You should add a section on the main thread for that.
     
  14. Offline

    MiracleM4n

    Provides Prefix/Suffix support to players join/leave/kick/ban messages.
    • Can use BukkitContrib.
    • BukkitContrib Features:
      • Sets "da-name-format" to your title.
      • Displays a message above your name saying you are typing.
      • Displays last message above your name for 7 seconds after message was sent.

    Read the whole thread next time please..

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

    kahlilnc

    Oh I am sorry... I did a quick scan i just thought I was helping. I will never bother you again sir.
     
  16. Offline

    MiracleM4n

    Nah its ok :p. I was just saying please try to :p (Kinda tired sorry if I came off as rude 5 AM FTW)
     
    kahlilnc likes this.
  17. Offline

    Montpelier

    PrefMess.jar? What is this in the download link of the OP.
     
  18. Offline

    MiracleM4n

    I fixed it :p. Was another plugin I dropped in favour of this.
     
  19. Offline

    llaraet

    Nice plugin just what im looking for as it say supports superperms and bukkitcontrib :) downloading, any probliums il post here :)
     
  20. Offline

    TheLimaBeanman

    Nice, Needing of any help in coding? I will love to...
     
  21. Offline

    jeffreylec

    MiracleM4n - You're a pimp.
     
    Tomi Joo likes this.
  22. Offline

    xtyro

    it doesn't work with default config or any modified.

    MC 1.73, CB 1000, PermissionsBukkit v1.0, SuperpermsBridge v1.1
    it always says that:

    Code:
    2011-07-18 14:47:57 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerChat(playerListener.java:26)
        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)
     
  23. Offline

    Realtek1

    Hey MiracleM4n, I need help with installing this plugin with PermissionsBukkit and superperms because SpaceManiac told me to do this and it didn't work : I created a config file like this one (This is the one posted above)
    Code:
    da-name-format: '+prefix+group+suffix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+group+suffix+name&f: +message'
    mchat:
        prefix:
            admin: '&4DtK [SO] &7 '
            sadmin: '&9DtK [SA] &7 '
            jadmin: '&aDtK [JA] &7  '
            member: '&cDtK [M] &7 '
        suffix:
            admin: ''
            sadmin: ''
            jadmin: ''
            member: ''
        group:
            admin: ''
            sadmin: ''
            jadmin: ''
            member: ''
    
    And then I went in game to type this command : /perm group Admin setperm mchat.prefix.Admin (SpaceManiacs told me) and then when I reload the my server....there are no colors when I type or any prefixes..
     
  24. Offline

    kralicinora

    Ive same problem, but only after server reload. After full restart is everything ok
     
  25. Offline

    MiracleM4n

    *Silent Update* NPE Should now be fixed (On server reload all players channels are reset to public). Realtek1: PM me I will provide more details. First try adding mchat.prefix.admin as it might check for uppercase only.
     
  26. Offline

    mrgreaper

    ok cant get this to work! when its enabled,
    no chat goes to the console!
    admins are labled as trusted
    no playersnames are shown
    theres a wierd dn in the chat lines in the client

    our permissionsbukkit config (snipped down the the relevent and semi relevent stuff)
    Code:
    users:
        mrgreaper:
            permissions:
                permissions.example: true
            groups:
            - admins
        moleking82uk:
            groups:
            - admins
        stevenb88:
            groups:
            - gm
        scottydog:
            groups:
            - trusted
    groups:
        default:
            permissions:
                cabinet.*: true
                mchat.prefix.default: true
        trusted:
            permissions:
                permissions.build: true
                mchat.prefix.trusted: true
            inheritance:
            - registered
        admins:
            permissions:
                permissions.*: true
                mchat.prefix.admins: true
                superpermbridge.*: true
                commandbook.*: true
                myhome.*: true
                showcase.*: true
                mobbounty.*: true
                cenotaph.*: true
                elevators.*: true
                worldedit.*: true
                commandSigns.*: true
                iConomy.*: true
                preciousstones.*: true
                mcmmo.*: true
                stargate.*: true
                tundertower.*: true
                servergoblins.*: true
                falsebook.*: true
                appleseed.*: true
                mcbans.*: true
                mobrider.*: true
                GiftSend.*: true
                landmarks.*: true
            inheritance:
            - trusted
        GM:
            permissions:
                mchat.prefix.gm: true
                mcbans.*: true
                landmarks.*: true
            inheritance:
            - trusted
        registered:
            permissions:
                permissions.build: true
                mchat.prefix.registered: true
                servergoblins.enabled: true
                servergoblins.event.*: true
                thundertower.create: true
                thundertower.destroy: true
                showcase.basic: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    
    our mchat config
    Code:
    # mChat configuration file
    #
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    # ignore it if you don't know what that is.
    # usage of message-format is restricted to:
    # +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +rname,+rn, +message,+m
    
    da-name-format: +p+s+dn&e
    date-format: HH:mm:ss
    message-format: '+w+p+s+dn&f: +message'
    mchat:
        prefix:
            trusted: '&2 Trusted &7'
            gm: '&e GM &4'
            jadmin: '&aDtK [JA] &7'
            admins: '&4 ADMIN &4'
            default: ' UNREGISTERED! '
            registered: '&b NEW &7'
        group:
            member: ''
            sadmin: ''
            jadmin: ''
            admin: ''
        suffix:
            member: ''
            sadmin: ''
            jadmin: ''
            admin: ''
    
    tried it with and with out the bukkit contrib client, (bukkit contrib itself is installed and uptodate) were on rb 1000
     
  27. Offline

    grandwazir

    The plugin seems to suppress chat messages to the Minecraft server log. Is that intentional?

    Also any chance for the source code? I'd fix it myself if it was available.

    Also still getting NPE errors:

    Code:
    2011-07-18 21:11:03 [SEVERE] Could not pass event PLAYER_QUIT to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.playerListener.onPlayerQuit(playerListener.java:70)
        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)
    
    Appears to be a conflict between this plugin and MessageChanger.

    This is also causing issues with one of my plugins DimensionDoor, chat messages are appearing when they should not be. Are you cancelling the event after you format the message?

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

    blackbinary


    okay i have almost the same problem like him. No Output to the console, weird Chatoutput ...

    i tryd the default settings and changed the groups to our permissionbukkit groups:
    Code:
    # mChat configuration file
    #
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    # ignore it if you don't know what that is.
    # usage of message-format is restricted to:
    # +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +rname,+rn, +message,+m
    
    da-name-format: +p+s+dn&e
    date-format: HH:mm:ss
    message-format: '+p+s+dn&f: +message'
    mchat:
        prefix:
            default: '&cDtK [M] &7'
            newbie: '&9DtK [SA] &7'
            builder: '&aDtK [JA] &7'
            moderator: '&4DtK [SO] &7'
            admin: '&4DtK [SO] &7'
        group:
            default: ''
            newbie: ''
            builder: ''
            moderator: ''
            admin: ''
        suffix:
            default: ''
            newbie: ''
            builder: ''
            moderator: ''
            admin: ''
    here a screenshot :
    [​IMG]

    now i realy think about going back to essentials .. -.-
     
  29. Offline

    Bronski

    Getting this when I reload in the console:

    It seems to work ok if I manually stop/start the server.

    Also, it appears that either the new fakey wildcard global permission (superpermbridge.*: true) and/or group inheritance is causing higher ranks to inherit all color nodes from previous ranks, causing me to have to explicitly deny them at each higher rank. By the time I get to admin, it's pretty obnoxious:

    Code:
                mchat.prefix.Admin: true
                mchat.group.Admin: true
                mchat.suffix.Admin: true
                mchat.prefix.SemiAdmin: false
                mchat.group.SemiAdmin: false
                mchat.suffix.SemiAdmin: false
                mchat.prefix.Mod: false
                mchat.group.Mod: false
                mchat.suffix.Mod: false
                mchat.prefix.Pimpin: false
                mchat.group.Pimpin: false
                mchat.suffix.Pimpin: false
                mchat.prefix.Police: false
                mchat.group.Police: false
                mchat.suffix.Police: false
                mchat.prefix.Builder: false
                mchat.group.Builder: false
                mchat.suffix.Builder: false
                mchat.prefix.Noob: false
                mchat.group.Noob: false
                mchat.suffix.Noob: false
    It's possible I'm not "doing it right," but without those steps it kept coloring me as a noob even if I was an admin.

    Here's my mchat config:

    Code:
    da-name-format: '+prefix+group+suffix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+group+suffix+name&f: +message'
    mchat:
        prefix:
            Noob: '&f'
            Builder: '&f'
            Police: '&f'
            Pimpin: '&f'
            Mod: '&f'
            SemiAdmin: '&f'
            Admin: '&f'
        group:
            Noob: '[&eNoob&f]'
            Builder: '[&aBuilder&f]'
            Police: '[&dPolice&f]'
            Pimpin: '[&bPimpin&f]'
            Mod: '[&5Mod&f]'
            SemiAdmin: '[&cSemiAdmin&f]'
            Admin: '[&6Admin&f]'
        suffix:
            Noob: '&e '
            Builder: '&a '
            Police: '&d '
            Pimpin: '&b '
            Mod: '&5 '
            SemiAdmin: '&c '
            Admin: '&6 '
     
  30. Offline

    mrgreaper

    ok i have it 90% fixed

    it still isnt posting to the console (this is a major problem! but not as major as the others)

    heres how i fixed it

    first something @SpaceManiac suggested
    for each group that inherits from others make sure you set the prefix to false for the inherited
    for example my admin group has
    mchat.prefix.admins: true
    mchat.prefix.trusted: false
    mchat.prefix.registered: false
    mchat.prefix.default: false

    then change the message-format: '+p+s+dn&f: +message' to message-format: '+prefix+group+suffix+name&f: +message'

    and bingo, it works perfect (apart from the fact its not posting to the console)

    @MiracleM4n can you fix the not posting to console bug it kind of makes it impossible to log player chat (for language/racisim infactions we are not wiretapping players) talk to players via remote terminals (i check up on my players at work on my phone and via putty)

    ah its worse then i thought!!! its not posting the chat to dynamic map either! (though from dynamic map to the server works)
     

Share This Page