[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

    MikeThePickle

    Awesome, thanks!
     
  3. Offline

    mrgreaper

    i dont think anyone will mind redoing the nodes (one last time) but in truth either is good so long as we can assign a node to a group and anyone in that group gets the prefixes we will all be happy

    sorry for the delay in reply (dealing with nasty stuff on server and in life lol)
     
  4. Offline

    phaed

    streaml1ned likes this.
  5. Offline

    darkcloud784

    This however does not work with the newer mchannel etc plugins.
     
  6. Offline

    streaml1ned

  7. Offline

    MiracleM4n

    Last edited by a moderator: May 17, 2016
  8. Offline

    odielag

    Is it just my misunderstanding, or does this plugin not show the prefix or suffix of a player who has a prefix and suffix set in permissionsex?
     
  9. Offline

    Massimo1993

    @MiracleM4n

    off can you readd the permissions node for today
     
  10. Offline

    MiracleM4n

    @odielag mChat uses native PEX Info support. If you want to use mChat's info.yml please turn mchat-info-only to true in the config.yml
     
    Hackuss likes this.
  11. Offline

    mrgreaper

  12. Offline

    MiracleM4n

    @mrgreaper I have not yet updated the nodes to the new system it currently is only for the old system. (Sorry for the lack of explanation)

    mchat-info-only should be false
    mchat-oldNodes-only should be true
     
  13. Offline

    mrgreaper

    i added the line (it wasnt thier) to the config but still no joy.... im starting to wonder if the cache on my browser ment i got an old verson...hmmm will re-download in a sec

    ah your link points to number 42 dated Oct 5, 2011 5:38:47 PM ? should it of pointed to number 44 dated Oct 6, 2011 8:02:08 AM


    hmmm i will test ..dear server please dont blow up please dont blow up


    hmm that time when i got it to regenerate the config it made this


    Code:
    # mChat configuration file
    #
    #           **IMPORTANT**
    #   usage of mchat-message-format can be, but is not limited to
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    #       Suffix, Prefix, Group, World, Time, Player Name, Player Display Name, Health, Health Bar, Message
    
    mchat-date-format: HH:mm:ss
    mchat-join-message: has joined the game.
    mchat-API-only: false
    mchat-chat-distance: -1.0
    mchat-oldNodes-only: true
    mchat-add-info-players: false
    mchat-format-events: true
    mchat-name-format: +p+dn+s&e
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from the game +r.
    mchat-message-format: '+p+dn+s&f: +m'
    mchat-info-only: false
    mchat-leave-message: has left the game.
    
    but still no go on the prefixes :(
     
  14. Offline

    Dragonslife

    @MiracleM4n - I am getting LOADS of errors with the newest version of mChat and the newest RB from bukkit (1240), can you please fix this? also the plugin has broken with the RB, it doesnt do anything anymore on my server except for giving errors in console.
    Code:
    2011-10-05 22:09:52 [SEVERE] Could not pass event PLAYER_QUIT to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:198)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawPrefix(mChatAPI.java:205)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:27)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseJoinName(mChatAPI.java:164)
        at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerQuit(MPlayerListener.java:67)
        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:339)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:159)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:650)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    Code:
    2011-10-05 22:08:47 [SEVERE] Could not pass event PLAYER_JOIN to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:198)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawPrefix(mChatAPI.java:205)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:27)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseJoinName(mChatAPI.java:164)
        at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerJoin(MPlayerListener.java:39)
        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:339)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    Code:
    2011-10-05 21:20:25 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.NullPointerException
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:198)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawPrefix(mChatAPI.java:205)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:27)
        at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:156)
        at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.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:339)
        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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    My settings are still the same as that time you watched trough my teamviewer, and it worked back then, nothing changed except me updating CB to RB 1240 and mChat to latest version.

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

    MiracleM4n

  16. Offline

    Dragonslife

    @MiracleM4n - ok now i'm gonna need your help, that update just changed my info.yml file and now demands from me that i configure prefix and suffix from each user manually. i tried changing some settings but it aint working, only when i manually edit settings for each user specific, it works.
     
  17. Offline

    MiracleM4n

    @Dragonslife Turn mchat-info-only to false and change mchat-oldNodes-only to true.
     
  18. Offline

    mrgreaper

  19. Offline

    Dragonslife

    @MiracleM4n - Changed it, didnt work... I changed the things you said, then restored my old info.yml file and it still editted my info.yml file and still requires me to manually configure each user.

    @MiracleM4n - you wanna have a look yourself trough teamviewer? still have the ID?

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

    MiracleM4n

    @mrgreaper Are you using the old methods?
    Code:
    mchat:
        info:
            Var: ''
            prefix: ''
    
    ^^^^ Those are the ones that work with mchat-oldNodes-only

    Shit.... I found the problem. I will reup what I have now and make it a RB for everyone.

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

    Dragonslife

  22. Offline

    mrgreaper

    Code:
    # mChat Info config
    
    users:
        testuser22222:
            group: admins
            info:
                suffix: ''
            worlds:
                DtK:
                    prefix: ''
    groupnames:
        vip: '&2 VIP &7'
        gm: '&e Order of the Mushroom &4'
        restricted: 'Restricted '
        admins: '&4 ADMIN &4'
        default: 'Unregistered '
        registered: '&b Registered &7'
        lombuilders: '&2 LomBuilders &7'
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    groups:
        admins:
            info:
                custVar: ''
                prefix: '&4 ADMIN &4'
        vip:
            info:
                custVar: ''
                prefix: '&2 VIP &7'
        gm:
            info:
                custVar: ''
                prefix: '&e Gm &4'
        restricted:
            info:
                custVar: ''
                prefix: 'Restricted '
        default:
            info:
                custVar: ''
                prefix: 'Unregistered '
        registered:
            info:
                custVar: ''
                prefix: '&b Registered &7'
        lombuilders:
            info:
                custVar: ''
                prefix: '&2 LomBuilders &7'
            worlds:
                world:
                    prefix: ''
    
    is how we have it at mo is that wrong?


    hmmm that is different to our old backups

    our old one looked like this

    Code:
    # mChat Info config
    
    mchat:
        prefix:
            vip: '&2 VIP &7'
            gm: '&e Order of the Mushroom &4'
            restricted: 'Restricted '
            admins: '&4 ADMIN &4'
            default: 'Unregistered '
            registered: '&b Registered &7'
            lombuilders: '&2 LomBuilders &7'
        group:
            member: ''
            sadmin: ''
            jadmin: ''
            admin: ''
        suffix:
            member: ''
            sadmin: ''
            jadmin: ''
            admin: ''
    groupnames:
        admin: '[a]'
        jadmin: '[ja]'
        member: '[m]'
        sadmin: '[sa]'
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    users:
        MiracleM4n:
            group: admin
            info:
                suffix: '&2Suffix'
            worlds:
                DtK:
                    prefix: '&2DtKTest'
    groups:
        admin:
            info:
                custVar: ''
                prefix: '&4Admin'
            worlds:
                DtK:
                    prefix: '&3DtKTest2'
    
     
  23. Offline

    MiracleM4n

    @mrgreaper That is the new way that does not involve permissions nodes.
     
  24. Offline

    Dragonslife

    @MiracleM4n - To be honest i prefer the old one :D it works! xD and better, nothing needs to be added.. it includes everything we need :D thats also why it is a great plugin. It's better just to keep it simple and easy than to add stuff that makes it harder to understand :(... and as just everything works with permissions, i think it might just be the easiest thing to also let this use permissions
     
  25. Offline

    mrgreaper

    i tried .....
    Code:
    # mChat Info config
    mchat:
        prefix:
            vip: '&2 VIP &7'
            gm: '&e Order of the Mushroom &4'
            restricted: 'Restricted '
            admins: '&4 ADMIN &4'
            default: 'Unregistered '
            registered: '&b Registered &7'
            lombuilders: '&2 LomBuilders &7'
    users:
        testuser22222:
            group: admins
            info:
                suffix: ''
            worlds:
                DtK:
                    prefix: ''
    groupnames:
        vip: '&2 VIP &7'
        gm: '&e Order of the Mushroom &4'
        restricted: 'Restricted '
        admins: '&4 ADMIN &4'
        default: 'Unregistered '
        registered: '&b Registered &7'
        lombuilders: '&2 LomBuilders &7'
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    groups:
        admins:
            info:
                custVar: ''
                prefix: '&4 ADMIN &4'
        vip:
            info:
                custVar: ''
                prefix: '&2 VIP &7'
        gm:
            info:
                custVar: ''
                prefix: '&e Gm &4'
        restricted:
            info:
                custVar: ''
                prefix: 'Restricted '
        default:
            info:
                custVar: ''
                prefix: 'Unregistered '
        registered:
            info:
                custVar: ''
                prefix: '&b Registered &7'
        lombuilders:
            info:
                custVar: ''
                prefix: '&2 LomBuilders &7'
            worlds:
                world:
                    prefix: ''
    
    i have to say im now 100% lost lol i really love the censor ship addition but i cant figure out where im going wrong to readd the nodes for prefixes

    need coffee
    need food maybe then i can sus it
     
  26. Offline

    MiracleM4n

    @mrgreaper The next build will fix any problems....I hope.
     
    wheresmyhotdog and mrgreaper like this.
  27. Offline

    _Zw_

    Ehm.
    When people write /god or even god in any word it get replaced with MiracleM4nt....
    Wtf man, this was scetchy.
     
  28. Offline

    SPAMCraft1

    Hey @MiracleM4n
    I've been out of the realm of Minecraft for quite some time, due to various things happening. This also includes servers. I have one question... Will you support ALL of your plugins until Minecraft is fully released? I've grown quite pissed with updating EVERY SINGLE PLUGIN that i have on my server, and quite frankly, i don't have the time. I've decided to wait until the release date of Minecraft to set up my server. So, please keep updating your plugin until Minecraft is released, until then, see you starside, and [diamond][diamond][diamond] to you sir.

    Hah... Well... not really, i might spend some time setting my server up once i get my 8GB RAM PC. If i do, then i'll be needing some help from you. (Trollface)
     
  29. Offline

    mrgreaper

    look at your config files lol
    one called censor for example

    I love the new censor function it will allow us to drop chat sentry

    Oh and we changed god for Tac (my cat says god backwards is a bad word)
     
  30. Offline

    MiracleM4n

    @_Zw_ Check the censor.yml
     

Share This Page