[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

    meiamone

    What steps will reproduce the problem?
    1. Setting Local to default true
    2.
    3.
    What is the expected output? What do you see instead?
    I want all users set into the Local channel when they connect automatically. If I leave all of the channels in the channel.yml file, and I set Local to default, then the default channel actually seems to become Chunk. If I remove the other channels besides Global and Local, the default channel becomes null and errors show in the console.
    What version of the product are you using?
    Latest Dev and b1240
    Do you have an error log of what happened?

    Code:
    03:35:36 [SEVERE] Could not pass event PLAYER_CHAT to mChat
     java.lang.NullPointerException
     at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:77)
     at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListener.java:24)
     at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
     at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:159)
     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Please provide any additional information below.
     
  3. Offline

    Massimo1993

    @MiracleM4n

    please update for 1317

    and you can add a command ex: /shout [message] with timer to prevent spam, i use chat distance and im need this command
     
  4. Offline

    Jhonz

    I'm having this exact same issue with my mChat, I just updated to latest Bukkit build.
    Worked perfectly before it.

    Running:
    PermissionsEX
    Essentials
    CFBanner
    mChat
    WorldEdit
    WorldGuard

    I have the exact same error as you.
    I hope this gets resolved fast :p

    I'm going to revert until it does.
     
  5. Offline

    meiamone

    I discovered something...regular players ARE autojoining into the Local channel. I don't know if it's because I'm OP, or if it's because I have '*' permissions, but I only autojoin into the Chunk channel. Basically it's doing just what I want it to for players, but for me, is unexpected, but manageable.
     
  6. Offline

    Jackoo

    Is there a way to change the prioritization for choosing which permissions to "hook in" to? I'm using PermissionsBukkit and Permissions 3x. All of my prefixes are hooked up in permissions 3x. But when I start my server mChat automatically hooks into PermissionsBukkit, which doesn't have prefix customization anyway....I'm a bit stuck here please help.
     
  7. Permissions 3.x is outdated and should not be used anymore. I would recommend you to transfer your permissions to a different permissions plugin, like PermissionsEX or PermissionsBukkit.

    Edit: This link will help you with the transfer of your permissions' configs. Here
     
  8. Offline

    xXRamboNoobXx

    Will you remove your perverted line out of the code! Its fucking up everything for at least a month now, and your plugins is only good coloring plugin.

    Code:
    2011-10-13 11:57:50 [SEVERE] Config file plugins\mChat\info.yml isn't valid! whi
    le parsing a block mapping
     in "<string>", line 39, column 9:
                default: ''
                ^
    expected <block end>, but found Scalar
     in "<string>", line 52, column 33:
                Adm: ' [Got all the STD's]'
                                        ^
    
     
  9. Aehm which perverted line? You have some yaml errors that is not HIS fault but yours! Go paste your yaml here: http://yaml-online-parser.appspot.com/
    And then fix those errors!
     
  10. Offline

    bigggan

  11. Offline

    xXBLACK15Xx

    thx sooo much cuze ichat and hero chat is a damen plugins thats the awesome plugins
     
  12. Offline

    xXRamboNoobXx

    Lol, I never noticed I posted this. I guess my annoying brother thought he was on his account. =p
     
  13. Offline

    Dragonslife

    @MiracleM4n - Can you add a feature which automaticly notifies an admin about a new update for this plugin when they login in-game?
    Also, if possible, it would be great to have a feature that allows auto updating of the plugin without any interference from the server admin. Have to make sure the plugin replaces the old .jar file of the plugin then. This feature could then simply be turned on or off in the config file.
     
  14. Offline

    dylang15

    hey i use the built in mcmyadmin support for mchat but it doesnt seem to work for me i get no errors but prefixes wont show up and also no colours
     
  15. Offline

    HockeyMike24

    is there a way to stop people from using colours when talking in chat?
     
  16. Offline

    HockeyMike24

  17. Offline

    Deathlysteve-

    I have CB 1317, and installed the latest mChat build from Jenkins. I Install it, and then suddenly, all the PermissionsBukkit Chat colours are gone. As in All Groups are white. Admins should be Purple but no they are white. I then think that maybe it isnt fully working with 1317, so i downcraft CB to 1240 (the version that mchat on this tread can take). Still no chat colours, so maybe i think its permissions... It wasnt permissions.
    I then revert all the way back to 1185, and it works again... CAN YOU PLEASE GET THIS WORKING WITH 1317! >:mad: I need it urgently... even if there is a WORKING Dev build link me it pleasee
     
  18. You should really read the change-log. He changed he whole system. if you wan't to use the old one you have to enable it in the config!
     
  19. Offline

    Deathlysteve-

    thanks... I jus tried that now but it ISNT WORKING... :( im probably doing SOMETHIG wrong so Ill show you my configs:

    config.yml
    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-join-message: has joined RPNations!
    mchat-date-format: HH:mm:ss
    auto-Changed: 1
    mchat-API-only: false
    mchat-name-format: +p+dn+s&e
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from RPNations for +r.
    mchat-message-format: '+p+dn+s&f: +message'
    mchat-leave-message: has left RPNations!
    mchat-info-only: true
    mchat-format-events: true
    mchat-chat-distance: -1.0
    mchat-add-info-players: false
    mchat-oldNodes-only: false
    mchat-playerList-format: +p+dn+s
    

    info.yml
    Code:
    #Groupnames are resolved with the +Worldname,+Wname,+W variables.
    groupnames:
        Admin: '&5'
    #These are used only if you do not have a Permissions plugin that supports Info installed.
    #Or if you choose to voluntarily use these info settings by setting "mchat-info-only" in the config.yml to true.
    #These are used to give individual users access to formatting settings.
    #These include group based formatting and user based formatting with world support.
    #The path mChat looks for the info Var goes as follows: users.Player.info.Var, users.Player.worlds.World.Var, groups.Group.Var, groups.Group.worlds.World.Var .
    users:
        Patane:
            group: Admin
            info:
                prefix: '&5'
            worlds:
                Portalworld:
                    prefix: '&5'
    groups:
        Admin:
            info:
                custVar: ''
                prefix: '&5'
            worlds:
                Portalworld:
                    prefix: '&5'
    #You have to voluntarily choose to use these info settings by setting "mchat-oldNodes-only" in the config.yml to true and "mchat-info-only" to false.
    #These are used to give groups or individual users access to these formatting settings.
    #For any of these you add or remove please give the appropriate nodes to users.
    #An appropriate node would be mchat.prefix.admin in this case.
    #Also make sure you falsify any inherited nodes by doing a mchat.Whatever.INHERITEDNODE: false (Example for PermissionsBukkit)
    #THESE ARE NOT AUTOCREATED IN THE MOST RECENT VERSIONS AS THEY ARE DEPRECIATED.
    mchat:
        custVar:
            Admin: ''
        prefix:
            Admin: '&5'
        suffix:
            Admin: ''
    #As with Groupnames Worldnames are resolved with the +Groupname,+Gname,+G variables.
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'

    Obviously by looking in the info.yml, all i really want is to have coloured Names. But its not working at all... whats wrong with it?
     
  20. @deathlysteve
    Change mchat-oldNodes-only to true and mchat-info-only to false!

    Hopefully this helps you :)
     
  21. Offline

    Deathlysteve-

    tried it b4 didnt work... try it now it works lol thanks...
     
  22. Offline

    Karlkorv

    can someone give me a config when the message looks like this: [PrefixGroup] SuffixName: message?
    plz
     
  23. Offline

    Stoolbend

    @MiracleM4n

    Ahello. Just doing a few things to improve compatibility of my plugin, and Ive hit a bit of a sticky wicket.

    Bukkit's getDisplayName() is not returning the display name that mChat is showing in chat messages.

    Is it a bug your side? or my side? Its the same story with HeroChat. Just for reference, iChat seems to work fine, which is a tad odd.

    Anyway, Just had a look through the source code to see if there is some code on mChat that is blocking the setDisplayName() function. Maybe its something that can be added to improve support for "all" plugins that utilise display names? :)

    Thanks,
    Stool
     
  24. Offline

    PhonicUK

    Something is weird, I cannot get mChat to cooperate.

    Here are my 3 config files:

    http://pastebin.com/59Pz9uLr

    On top of colors simply not appearing, mChat insists on stuffing extra default data to the end of my info.yml, what is up with that?
     
  25. Offline

    MariusNocturnum

    Was just wondering how one disables the censor? I looked in the config.yml and didn't see anything that seemed to indicate that as an option. Any help would be appreciated
     
  26. Offline

    Phobbsiii

    PermissionsBukkit and mChat

    Hi, trying to set these two up and I'm not sure exactly what I'm doing wrong. Below I will post my three settings. My problem is that I am unsure if the permissions groups are set correctly and if that is whats causing the issue with mchat (prefixes refuse to show and I am unsure if it is because the permissions are set wrong or if my mchat things are set wrong).

    Permissionsbukkit:
    http://pastebin.com/cyqhQXU1

    mChat config.yml:
    http://pastebin.com/DQBgYdWt

    mChat info.yml:
    http://pastebin.com/98ezLESf


    I appreciate any, and all help!
     
  27. Offline

    Massimo1993

    @MiracleM4n

    hi excuse me but you can add a list of node permissions and a shout permissions: when a player need to shout he write ! after the message. Like essentials chat
     

  28. Your server should start with a HUGE error message! You are missing a colon:)) behind each of the group names! Also make sure to not USE TAB but use SPACES instead ;)
    E.g:
    Code:
    groups:
        Default:
            permissions:
                permissions.build: true
        Trusted:
            permissions:
                permissions.build: true
        Moderator:
            permissions:
                permissions.build: true
        Admin:
            permissions:
                permissions.build: true
        Operator:
            permissions:
                permissions.*: true
                mchat.prefix.Operator: true
     
  29. Offline

    Blamo27

    Mchat doesn't work for me :(
    Code:
    13:07:26 [SEVERE] Could not pass event PLAYER_CHAT to mChat
    java.lang.NullPointerException
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getmChatGroup(mChatAPI.java:322)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getmChatGroupInfo(mChatAPI.java:30
    9)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getmChatPlayerInfo(mChatAPI.java:3
    03)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getmChatInfo(mChatAPI.java:282)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawInfo(mChatAPI.java:244)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.getRawPrefix(mChatAPI.java:248)
    at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:36)
    
    at net.D3GN.MiracleM4n.mChat.mChatAPI.ParseChatMessage(mChatAPI.java:179
    )
    at net.D3GN.MiracleM4n.mChat.MPlayerListener.onPlayerChat(MPlayerListene
    r.java:27)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:295)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava: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 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)
    13:07:26 [INFO] <Blamo27> TEST
    If i write a message this error occurred !
    Please help me :(
     
  30. Offline

    Phobbsiii

    I tried that and nothing changed, also the time before messages no longer shows and its like mchat isn't even there
     

Share This Page