[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. @Celeress: You need to falsify each node inherited by another group, e.g:

    Code:
    groups:
        admin:
            permissions:
                mchat.prefix.admin: true
                mchat.prefix.mod: false
            inheritance:
            - mod
        mod:
            permissions:
                mchat.prefix.mod: true
                mchat.prefix.user: false
            inheritance:
            - user
    
     
  3. Offline

    IAMWIN

    i tried with Bpermissions but it is setup differently than the example, can someone plz help me via skype?
     
  4. Alright i would love this plugin but its giving me a hard time..
    for some reason some of the groups shows up as other groups in chat..

    i am set as owner, yet i show up as networ admin.. see files below..
    PLEASE HELP ME! i have no idea whats wrong and its really frustating..
    no errors in console.

    screenie:
    [​IMG]

    mchat info:

    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    mchat:
        custVar:
            owner: ''
            default: ''
            player: ''
            admin: ''
            mod: ''
            netmod: ''
            netadmin: ''
            guardian: ''
            d1: ''
            d2: ''
        group:
            admin: ''
            owner: ''
            member: ''
            default: ''
            mod: ''
            netmod: ''
            netadmin: ''
            guardian: ''
            d1: ''
            d2: ''
        prefix:
            admin: '&4[SA] &4'
            owner: '&5[SO] &5'
            player: '&6[P] &6'
            default: '&8[NEW] &8'
            mod: '&9[M] &9'
            netmod: '&9[NM] &9'
            netadmin: '&4[NA] &4'
            guardian: '&2[G] &2'
            d1: '&b[D1] &d'
            d2: '&b[D2] &d'
        suffix:
            admin: ':&c'
            owner: ':&d'
            member: '&f'
            default: '&7'
            mod: '&b'
            netmod: '&b'
            netadmin: '&c'
            guardian: '&a'
            d1: '&f'
            d2: '&f'
    permissionsbukkit file:


    Code:
    users:
        vibraloop:
            permissions:
            groups:
            - owner
        dr_richtofen:
            groups:
            - guardian
        xxacemcflyxx:
            groups:
            - guardian
        synx241:
            groups:
            - guardian
        minsin:
            groups:
            - netmod
        pokebrandon:
            groups:
            - guardian
        sephirium:
            groups:
            - netadmin
        motherhen:
            groups:
            - netadmin
        multitallented:
            groups:
            - netadmin
    groups:
        default:
            permissions:
                mchat.custVar.default: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                permissions.build: false
        owner:
            permissions:
                mchat.custVar.owner: true
                mchat.prefix.admin: false
                mchat.prefix.owner: true
                mchat.suffix: true
                mchat.suffix.owner: true
                permissions.*: true
                world: true
            inheritance:
            - netadmin
        netadmin:
            permissions:
                mchat.custVar.netadmin: true
                mchat.prefix.netadmin: true
                mchat.prefix.admin: false
                mchat.suffix.netadmin: true
                permissions.*: true
                world: true
            inheritance:
            - admin
        admin:
            permissions:
                mchat.custVar.admin: true
                mchat.prefix.admin: true
                mchat.prefix.mod: false
                mchat.suffix: true
                mchat.suffix.admin: true
                permissions.*: true
            inheritance:
            - netmod
        netmod:
            permissions:
                mchat.custVar.netmod: true
                mchat.prefix.netmod: true
                mchat.prefix.mod: false
                mchat.suffix.netmod: true
            inheritance:
            - mod
        mod:
            permissions:
                mchat.custVar.mod: true
                mchat.prefix.mod: true
                mchat.prefix.player: false
                mchat.suffix.mod: true
            inheritance:
            - player
        guardian:
            permissions:
                mchat.custVar.guardian: true
                mchat.prefix.d2: false
                mchat.prefix.guardian: true
                mchat.suffix.guardian: true
            inheritance:
            - d2
        d2:
            permissions:
                mchat.custVar.d2: true
                mchat.prefix.d2: true
                mchat.prefix.d1: false
                mchat.suffix.d2: true
            inheritance:
            - d1
        d1:
            permissions:
                mchat.custVar.d1: true
                mchat.prefix.d1: true
                mchat.prefix.player: false
                mchat.suffix.d1: true
            inheritance:
            - player
        player:
            permissions:
                mchat.prefix.player: true
                mchat.prefix.default: false
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cRead the signs at spawn to find out how to get promoted!'
    debug: false
     
  5. Offline

    justproud2b

    bPermissions works like SuperPerms or PermissionsBukkit (whatever you want to call it) just follow the instructions in the OP and you'll be fine.

    you need to have mchat.prefix.netadmin: false as one of your permissions you didn't cancel it out as you did with all of your other permissions prefix's you have the admin canceled out in owner but not netadmin :D

    So it should be
    Code:
        owner:
            permissions:
                mchat.custVar.owner: true
                mchat.prefix.netadmin: false
                mchat.prefix.owner: true
                mchat.suffix: true
                mchat.suffix.owner: true
                permissions.*: true
                world: true
            inheritance:
            - netadmin
     
    @vibraloop I looked at your permission file again and found a few more. Basically any inheritance needs be canceled out. I am not sure if it needs to be done for suffix's as well as I don't use them but it may. So like in the case of Owner who inherits from Netadmin any trues you do not want continued need to be falsed out in the owner permissions. I fixed all of them below but you may need to do the same for suffix so owner would get mchat.suffix.netadmin: false so on and so forth. Hope this helped solve the issue.

    Code:
    groups:
        default:
            permissions:
                mchat.custVar.default: true
                mchat.prefix.default: true
                mchat.suffix.default: true
                permissions.build: false
        owner:
            permissions:
                mchat.custVar.owner: true
                mchat.prefix.netadmin: false
                mchat.prefix.owner: true
                mchat.suffix: true
                mchat.suffix.owner: true
                permissions.*: true
                world: true
            inheritance:
            - netadmin
        netadmin:
            permissions:
                mchat.custVar.netadmin: true
                mchat.prefix.netadmin: true
                mchat.prefix.admin: false
                mchat.suffix.netadmin: true
                permissions.*: true
                world: true
            inheritance:
            - admin
        admin:
            permissions:
                mchat.custVar.admin: true
                mchat.prefix.admin: true
                mchat.prefix.netmod: false
                mchat.suffix: true
                mchat.suffix.admin: true
                permissions.*: true
            inheritance:
            - netmod
        netmod:
            permissions:
                mchat.custVar.netmod: true
                mchat.prefix.netmod: true
                mchat.prefix.mod: false
                mchat.suffix.netmod: true
            inheritance:
            - mod
        mod:
            permissions:
                mchat.custVar.mod: true
                mchat.prefix.mod: true
                mchat.prefix.player: false
                mchat.suffix.mod: true
            inheritance:
            - player
        guardian:
            permissions:
                mchat.custVar.guardian: true
                mchat.prefix.d2: false
                mchat.prefix.guardian: true
                mchat.suffix.guardian: true
            inheritance:
            - d2
        d2:
            permissions:
                mchat.custVar.d2: true
                mchat.prefix.d2: true
                mchat.prefix.d1: false
                mchat.suffix.d2: true
            inheritance:
            - d1
        d1:
            permissions:
                mchat.custVar.d1: true
                mchat.prefix.d1: true
                mchat.prefix.player: false
                mchat.suffix.d1: true
            inheritance:
            - player
        player:
            permissions:
                mchat.prefix.player: true
                mchat.prefix.default: false
                permissions.build: true
            inheritance:
            - default
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  6. Offline

    Tealk

    I have a problem with mchat because i dont get shown the format what i want
    this i will get:
    hero.JPG
    but only this i get
    mchat.JPG
    config
    http://pastebin.com/GBh8EXTQ
    info
    http://pastebin.com/YZ6LuQi1
    permissions
    Code:
    users:
        Tealk:
            permissions:
                mchat.suffix.Herzog: true
            groups:
            - SAdmin
    and i get the message
    2011-08-28 15:45:06 [INFO] [mChat] Permissions not found, Checking for GroupManager.
    2011-08-28 15:45:06 [INFO] [mChat] mChat version 1.7.10_5 is enabled!
    but i use PermissionsBukkit and SuperpermsBridge
     
  7. yeah i see the issue! i belive it will help :) gonna test it in a few. thanks a bunch!
     
  8. Offline

    HockeyMike24

    When ever I change my info it just resets back to the original file.
     
  9. Offline

    coolbeans00

    Is there a jar???? i need a jar..... :( not loading
     
  10. Offline

    SPAMCraft1

    Ok here's my info:

    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    mchat:
    custVar:
    Admin: ''
    Default: ''
    Player: ''
    Mod: ''
    Worldeditor: ''
    HeadMod: ''
    Co-Owner: ''
    Owner: ''
    group:
    Admin: ''
    Default: ''
    Player: ''
    Mod: ''
    Worldeditor: ''
    HeadMod: ''
    Co-Owner: ''
    Owner: ''
    prefix:
    Admin: '&6DtK [Admin] &7'
    Default: '&7DtK [Default] &7'
    Player: '&aDtK [Player] &7'
    Mod: '&bDtK [Mod] &7'
    Worldeditor: '&dDtK [Worldeditor] &7'
    HeadMod: '&3DtK [HeadMod] &7'
    Co-Owner: '&9DtK [Co-Owner] &7'
    Owner: '&5DtK [Owner] &7'
    suffix:
    Admin: '&f'
    Default: '&f'
    Player: '&f'
    Mod: '&f'
    Worldeditor: '&f'
    HeadMod: '&f'
    Co-Owner: '&f'
    Owner: '&f'

    Here's the Config:

    # 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-join-message: has joined the server.
    mchat-date-format: HH:mm:ss
    auto-Changed: 1
    mchat-API-only: false
    mchat-name-format: p+n+s&e
    mchat-playerEvent-format: p+n+s&e
    mchat-kick-message: has been kicked from the server.
    mchat-message-format: 'p+n+s&f: +message'
    mchat-leave-message: has left the server.​

    Hey @coolbeans00
    I know what you should do. Redownload from the link given in the first post and save it as .jar instead of .zip
    Hopefully that helps you. It helped me :D

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

    MiracleM4n

    *Finally updated* Check change log
     
  12. Offline

    SPAMCraft1

    Hey @MiracleM4n
    Sorry, but mChat has given me so many problems. I'm going to switch to jChat and see if there are any problems.
    My public opening is this Friday and i need to figure everything out very fast. So, if you can format some config and info files for me I'm going to stick with mChat.
    Hopefully you can help! The groups i want are Owner, Co-Owner, Admin, HeadMod, Mod, WorldEditor, Player, Default.
    Please help me. Nothing is working.
     
  13. Offline

    coolbeans00

    @MiracleM4n
    Should it say
    # 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
    # **************
    mchat-join-message: has joined the game.
    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 the game.
    mchat-message-format: '+hb+p+dn+s&f: +message'
    mchat-leave-message: has left the game.

    Or

    mchat-join-message: 'has joined the game.'
    mchat-leave-message: 'has left the game.'
    mchat-kick-message: 'has been kicked from the game.'
    mchat-name-format: '+prefix+group+suffix+name&e'
    mchat-date-format: HH:mm:ss
    mchat-message-format: '+<custVar>+prefix+group+suffix+name&f: +message'
    mchat-playerEvent-format: '+h+p+dn+s&e'
    mchat-API-only: 'false'
    and @SPAMCraft1 THANKS SO MUCHH :)
     
  14. Offline

    MiracleM4n

    When I add more features I usually add them to the config. They are not noticeable unless they are either an added config option or you wipe the config. The bottom one is the most updated one.
     
  15. Offline

    billofbong

    So how would I add the reason to /kick?

    Like I would do /kick billofbong Testing, and the message would show up as something like "Billofbong has been kicked from the game for Testing" What's the variable?
     
  16. Offline

    Massimo1993

    @MiracleM4n
    hi excuse me but you can add (if there isn't) the possibility to remove kick message? and support for eban (when i ban a person he write me: player was exit
    player was banned
     
  17. Offline

    kamild1996

    Installed, but only showing healthbars...
    Using bPermissions. Please help.
     
  18. Offline

    Raptor2213

    You need an actual tutorial on how what you can do with the info.yml file. No where do you explain what any of those symbols correspond to.
    All I'm trying to do is have chat listed like, <group> <world> name: message
    ...but it's never explained in your inadequate instructions.

    Furthermore, why can this plugin not work with permission groups? It should be a simple matter to replace +g with a permission group. Instead, you have to re-define it manually? Seems fairly useless.


    I'm killing this mod on my server, with the hope that someone will finally release a good prefix/suffix mod like what the old Phoenix permissions had.


    P.S. Yes, I'm very angsty right now. I've been dealing with setting up too many over-complicated addons recently (70+).
     
  19. Offline

    Calvin

    So whats with the lines? they look janky,
    ||
    ||
    V
    |||||||||||||||||Calvissuperman: sup
     
  20. It is the healtbar. If you do not like it remove the +h or +hb in your config.yml
     
  21. Offline

    Calvin

    OH, thanks :D
     
  22. Offline

    Frvwfr3

    Suggestion, make the colored chat codes a permission node.

    I like to allow my VIP members to be able to talk in colors, but not normal members :/

    Just a useful feature :3

    Since you have no more ideas xD
     
  23. Offline

    Wiinick

    why dont you use &4 for red, its easier for everyone else
    try it with command book or something, &1 &2....&9 all work, even &f is white

    nvm

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

    MiracleM4n

    Anyone still having difficulties, I am now back from a day trip?
     
  25. v 1.7.11 Does have that node, see changelog ;)
     
  26. Offline

    kamild1996

    Refresh! I want to logins be colored depending on the rank of player (admin's nick's are red, mod's nick's are green etc)...
     
  27. Offline

    Adambean

    Would it be possible to have a /me someaction command doing the IRC style action, using mchat-playerEvent-format as the template?
     
  28. Offline

    KUJO_

    Hello,
    Everything is working fine to me expect everyone are showing green ||||||| before the prefix.
    Please help?
    Thanks in charge
     
  29. Offline

    Adambean

    You should post your configuration inside a CODE block if you want help.
    Code:
    like this
     
  30. Offline

    KUJO_

    I didn't change the configuration. Here it is anyway
    Code:
    # 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
    #           **************
    
    mchat-join-message: has joined the game.
    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 the game.
    mchat-message-format: '+hb+p+dn+s&f: +message'
    mchat-leave-message: has left the game.
    
     
  31. Offline

    Adambean

    All those strings should be inside 'single quotes'. Also what is auto-Changed: 1 for?
     

Share This Page