[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

    XRayted

    Oh I see :) thank you for your answer and work. Just a last question; When someone is entering the server, does he get a message of who is already in the server, by player names?
     
  3. Offline

    MiracleM4n

    @XRayted No it doesnt but i could add an option to mChatEssentials
     
  4. Offline

    Sayshal

    wtf is custVar? :confused:
     
  5. Offline

    dark_hunter

    Stands for Custom variables, what it means is you can add your own custom prefixes ect, not done by himself.
     
  6. Offline

    Sayshal

    Isnt that what Prefix is for? :p
     
  7. Offline

    dark_hunter

    Yes it was an example of what you can do as if it did't have it.
     
  8. Offline

    Sayshal

    Alright thanks. :)
     
  9. Offline

    phaed

    Is there any way to disable random players from using color codes in their chat? In my server ,admins write in dark red, guests in gray, and everyone else in white. Kinda pointless when anyone can use color codes to spew rainbows on the chat.
     
  10. Offline

    MiracleM4n

    @phaed Working on this.
     
  11. Offline

    phaed

    Thanks :D
     
  12. Offline

    Sayshal

    How can I change the color of only a certain groups' text? i.e:

    [Owner] Sayshal: This text is blue!
    [Mod] BuckyBill: This text isn't blue!
     
  13. Code:
    mchat:
        group:
            Mod: '&f[&aMod&f] '
            Owner: '&f[&5Owner&f] '
        prefix:
            Mod: '&c'
            Owner: '&6'
        suffix:
            Mod: '&f'
            Owner: '&9'
    Code:
    mchat-message-format: '+group+prefix+name&f: +suffix+message'
    That should work.
     
  14. Offline

    Syncronyze

    So, for some reason, mChat won't update itself ingame. These are the settings I set through McMyAdmin, and they seem to be appearing correctly through the info & config files. If I set someone to Admin, they won't have the tag admin.

    Code:
    mchat:
        group:
            admin: 'admin'
            VIP: 'VIP'
            Veteran: 'Veteran'
            Soldier: 'Soldier'
    
        prefix:
            admin: '&0&0<&3Admin&0>&f'
            VIP: '&0&0<&3VIP&0>&f'
            Veteran: '&0&0<&3Veteran&0>&f'
            Soldier: '&0&0<&3Soldier&0>&f'
    
        suffix:
            admin: ''
            VIP: ''
            Veteran: ''
            Soldier: ''
    
    If you need anymore info to diagnose this, just tell me.
     
  15. Offline

    Sayshal

    do you have the following in your Permissions: (only needed for Bukkit Permissions, if you use Permissions 3.1.6 let me know)
    mchat.group.admin
    mchat.prefix.admin
    mchat.suffix.admin
     
  16. Offline

    Syncronyze

    Yes, these permissions are enabled.

    EDIT: Actually, I think it's with Permissions, and not /just/ mChat.
     
  17. Offline

    adenslayer

    I am having an issue, my mods show up with the prefix "Civilian" instead of "Moderator" I can not figure out what the issue is :(

    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.

    da-name-format: '+prefix+name&e'
    date-format: 'HH:mm:ss'
    message-format: '+prefix+name+suffix&f: +message'
    mchat:


    prefix:
    VIP: '&6[VIP] '
    HEM: '&c[Head_Moderator] '
    MOD: '&c[Moderator] '
    SUP: '&c[Supervisor] '
    CIV: '&9[Civilian] '
    ADM: '&4[Admin] '
    NOO: '&1[Noob] '
    I added mchat.prefix.MOD: true to PermissionsBukkit and it still doesn't work..
     
  18. Offline

    Sayshal

    Check if they are also part of the civilian group, or maybe they also have mchat.prefix.CIV : true
     
    MiracleM4n likes this.
  19. Offline

    adenslayer

    nope, here is an example of a the head mod. the only ones that appear to be working is admin for me, noobs for the noobs, and then everyone else just turns into a civilian, no matter that their group is set to..

    Head_Moderator:
    permissions:
    bb.admin.rollback: true
    essentials.protect.admin: true
    lwc.admin: true
    mchat.prefix.HEM: true
    permissions.build: true

    then, an example of the head mod..

    sshhww:
    permissions:
    adminscanfly.allow: true
    essentials.god: true
    nocheat.all: true
    nocheat.flying: true
    nocheat.moving: true
    nocheat.speedhack: true
    spyer.spy: true
    mchat.suffix.GF: true
    groups:
    - Head_Moderator

    and it says that he is a civilian on mChat
     
  20. You have to falsify each node a group does inherit. So if Head_Moderator does inhert CIV you would have to do mchat.suffix.CIV: false in Head_Moderator
     
    adenslayer likes this.
  21. Offline

    adenslayer

    ahhhhhh thank you so very much :D
     
  22. Np ;)
     
    MiracleM4n and adenslayer like this.
  23. Offline

    MiracleM4n

    @Sayshal @Lathanael Thanks for all the help while I am away.

    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.

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

    swift_fox24

    Mob Disguise Integration for prefixes?

    And does the plugin currently update in game? I'm pretty sure for changes to take place, people need to relog, which would make mob disguise integration pointless anyways.
     
  25. Offline

    Elfsovereign

    Hey how do I get rid of the |||||||| before my messages? They're kind of a nuisance.
     
  26. Offline

    Sa_KE

    Im using mcmyadmin with this plugin and when i log into the server it goes [ADMIN]NAME all in red which is what i want. But when chatting normally there is no colours or prefixes. Am i doing something wrong?

    Code:
    PermissionsBUkkit/config.yml
    
    users:
        Tim:
            groups:
            - Regulars
        cptawesomee:
            groups:
            - Regulars
        Jaay:
            groups:
            - Regulars
        QuackScopes:
            groups:
            - Moderators
        Ren_kun:
            groups:
            - Administrators
        bpe:
            groups:
            - Administrators
    groups:
        default:
            permissions:
                mchat.prefix.Everyone: true
                mchat.suffix.Everyone: true
                permissions.build: false
    
        Regulars:
            permissions:
                mchat.prefix.Regulars: true
                mchat.suffix.Regulars: true
                mchat.prefix.default: false
                mchat.suffix.default: false
                mchat.prefix.guest: false
                permissions.build: true
            inheritance:
            - default
        Moderators:
            permissions:
                mchat.prefix.Moderators: true
                mchat.suffix.Moderators: true
                mchat.prefix.Regulars: false
                mchat.suffix.Regulars: false
                permissions.build: true
                mchat.prefix.user: false
            inheritance:
            - Regulars
        Administrators:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Administrators: true
                mchat.suffix.Administrators: true
                mchat.prefix.Moderators: false
                mchat.suffix.Moderators: false
                mchat.custVar.Administrators: true
            inheritance:
            - Moderators
    
    Code:
    mChat/config.yml
    
    # mChat configuration file
    #
    #           **IMPORTANT**
    #   usage of mchat-message-format is restricted to:
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    #
    #   usage of mchat-name-format, mchat-playerEvent-format are restricted to:
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb
    #           **************
    #
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    # ignore it if you don't know what that is.
    
    mchat-date-format: HH:mm:ss
    mchat-name-format: +prefix+dname+suffix&e
    mchat-message-format: <+prefix+dname+suffix&f> +message
    auto-Changed: 1
    mchat-playerEvent-format: +p+dn+s&e
    mchat-join-message: has joined the game.
    mchat-leave-message: has left the game.
    mchat-kick-message: has been kicked from the game.
    mchat-API-only: false
    
     
  27. just remove the +hb in mchat config.yml (look for mchat-message-format: or mchat-name-format:)

    Can we see your Info.yml?
     
  28. Offline

    Sa_KE

    Code:
    mchat:
        prefix:
            Everyone: '&f[Guest]'
            Regulars: '&a[Member]'
            Moderators: '&6[Mod]'
            Administrators: '&4[Admin]'
        group:
            Everyone: 'Everyone'
            Regulars: 'Regulars'
            Moderators: 'Moderators'
            Administrators: 'Administrators'
        suffix:
            Everyone: ''
            Regulars: ''
            Moderators: ''
            Administrators: ''
    
    Here is my info.yml
     
  29. @Sa_KE: Found it, it's a fault you do not see at the first glance :) You need to put Singlequotes ( ' ' ) around the foramts in the config.yml (like so):

    Code:
    mChat/config.yml
    
    # mChat configuration file
    #
    #           **IMPORTANT**
    #   usage of mchat-message-format is restricted to:
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    #
    #   usage of mchat-name-format, mchat-playerEvent-format are restricted to:
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb
    #           **************
    #
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    # ignore it if you don't know what that is.
    
    mchat-date-format: HH:mm:ss
    mchat-name-format: '+prefix+dname+suffix&e'
    mchat-message-format: '<+prefix+dname+suffix&f> +message'
    auto-Changed: 1
    mchat-playerEvent-format: '+p+dn+s&e'
    mchat-join-message: 'has joined the game.'
    mchat-leave-message: 'has left the game.'
    mchat-kick-message: 'has been kicked from the game.'
    mchat-API-only: 'false'
    That is your config.yml which i corrected with the ' ' . Please report back if that worked.
     
  30. Offline

    Sa_KE

    No that did not work sorry lath-san. Is there anythign else i can try?
     
  31. Hmm try to remove the < > brackets, but honestly those should not be a problem...
    If it still doesn't work we need MiracleM4n to look into this, as i can't find anymore issues with your .ymls

    EDIT:
    You could try to change the auto update number and let mchat regenerate all the fields ion the config.yml and edit them to what you want them then.
     

Share This Page