[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. @MiracleM4n:

    Would it be possible for you to include support for MCSTats3 ? So that the group, a user is in, is displayed there?

    thx
    Lathanael
     
  3. Offline

    MiracleM4n

    @Lathanael I will look into this after work
    @Rhodori I need to see what nodes you are giving to the players
     
  4. trying it on admins and when i join it says [Admin]Rhodderz
    but when i talk it does not appear.
    i am using
    mchat.prefix.admin
     
  5. Offline

    Pr4w

    Hey,

    Is there a way to disallow users writing in colors ? Or disactivating it completely ? It can be a bit of a pain when everyone starts abusing this feature in the chat :/
     
  6. Offline

    OZ4RK

    [​IMG]
    Is mchat causing the green colons at the beginning of every prefix? If so, why? And how can I fix it?
     
  7. Offline

    MiracleM4n

    @OZ4RK Please paste your mChat config.yml so I can take a look.

    @Pr4w I will work on this.
    @Rhodri Can I see your Permissions config file?

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

    OZ4RK

    Code:
    mchat-join-message: is now playing!
    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.
    
    Tell me if you want my info.yml
     
  9. Offline

    MiracleM4n

    @OZ4RK Remove +hb from mchat-message-format, Your done.
     
  10. Offline

    OZ4RK

  11. Offline

    MiracleM4n

  12. Offline

    Zach Hinchy

    Your site is down. I can't download the plugin.
     
  13. Offline

    MiracleM4n

  14. Offline

    ZombieRampage

    Question: I have a person in two groups. The first group has a prefix, the second has a suffix. Is this supported?

    Code:
    mchat:
        group:
            admin: ''
            sadmin: ''
            mod: ''
            pmoderator: ''
            donator: ''
            m: ''
    
        prefix:
            admin: '&4[Admin] &4'
            sadmin: '&4[PreAdmin] &4'
            mod: '&a[Mod] &6'
            pmoderator: '&a[PreMod] &a'
            donator: ''
            m: '&2[Builder] &b'
        suffix:
            admin: ''
            sadmin: ''
            mod: ''
            pmoderator: ''
            donator: '&edoner'
            m: ''
     
  15. Offline

    MiracleM4n

    @ZombieRampage Hmm. Id assume so. I might just have to test it :p

    In the next release (Yes there is going to be a release soon and not just a bug fix) the mchat: group: node in the info.yml will be moved (to groups:) and will substitute a group name shortener/changer.

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

    ZombieRampage

    I got it working. And yes, it does work for multiple groups (at least for a two groups)!
     
  17. Offline

    vSanjo

    Well, like I said - PermissionsBukkit has 3 groups (default, player and admin) but mChat will always call each player a 'player', despite being any one of the 3 groups.
    If mChat is 'collecting' the groups wrong, then it would obviously show the names wrong, or it could be PermissionsBukkit 'sending' the groups incorrectly (I assume it's this one, since PB is having alot of problems..).
     
  18. Offline

    gofoufi

    ok I'm going to try this. ichat didn't work and chat didn't work *sweat drop* lets pray this works
     
  19. Offline

    MiracleM4n

    Who here thinks I should add groupname aliases and worldname aliases? Also would everyone like it if I add an option to change the static variables? (+prefix +suffix) to anything you like? I can also make it so that you can choose what the variable start character (currently +) is. Please give me your opinion as 1.7.11 is almost ready for release and with it there will hopefully be a TUT video.
     
  20. Offline

    astinax

    My prefixes and colors don't show I'm using latest version of mchat with Bukkitpermissions and mcmyadmin and craftbukkit build 1060
    here is config file
    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
    #           **************
    #
    # 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: <+group+prefix+name&f> +message
    auto-Changed: 1
    mchat-playerEvent-format: +g+p+n+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: true
    
    here is info file :
    Code:
    #Written by McMyAdmin v0.9.6.8
    
    mchat:
        prefix:
            Default: '&f'
            Regulars: '&a[Citizen]'
            Moderators: '&1[Moderator]'
            Administrators: '&4[Admin]'
            guard: '&9[Guard]'
        group:
            Default: 'Default'
            Regulars: 'Regulars'
            Moderators: 'Moderators'
            Administrators: 'Administrators'
            guard: 'guard'
        suffix:
            Default: ''
            Regulars: ''
            Moderators: ''
            Administrators: ''
            guard: ''
    
    
    and here is bukkitpermissions config file :
    Code:
    users:
        donotbanmeagain:
            groups:
            - Regulars
        jnsakata:
            groups:
            - Regulars
        miku_hatsunemiku:
            groups:
            - Regulars
        mtl101:
            groups:
            - Regulars
        nsadaoka17:
            groups:
            - Regulars
        gogorox:
            groups:
            - Regulars
        Killergungun:
            groups:
            - Regulars
        zolacolor:
            groups:
            - Administrators
        astinax:
            groups:
            - Administrators
    groups:
        default:
            permissions:
                mchat.prefix.Default: true
                mchat.suffix.Default: true
                permissions.build: true
        Regulars:
            permissions:
                citizens.trader.use.trade: true
                citizens.trader.use.list: true
                citizens.healer.use.heal: true
                citizens.blacksmith.use.repair: true
                citizens.wizard.use.interact: true
                monsterhunt.usercmd.hunt: true
                monsterhunt.usercmd.huntstatus: true
                monsterhunt.usercmd.hunttele: true
                portalstick.teleport: true
                portalstick.placeportal: true
                essentials.signs.use: true
                essentials.kit.tools: true
                essentials.signs.use*: true
                essentials.signs.use.*: true
                essentials.signs.use.free: true
                mchat.prefix.*: true
                ChestShop.shop.create: true
                ChestShop.shop.buy: true
                ChestShop.shop.sell: true
                essentials.afk: true
                essentials.help: true
                essentials.rules: true
                mchat.prefix.Regulars: true
                mchat.suffix.Regulars: true
                mchat.prefix.default: false
                mchat.suffix.default: false
                permissions.build: true
            inheritance:
            - default
        Moderators:
            permissions:
                mchat.prefix.*: true
                mchat.prefix.Moderators: true
                mchat.suffix.Moderators: true
                mchat.prefix.Regulars: false
                mchat.suffix.Regulars: false
            inheritance:
            - Regulars
        Administrators:
            permissions:
                EffectiveArrow.use.*: true
                EffectiveArrow.use.flaming: true
                essentials.*: true
                EffectiveArrow.use.Normal: true
                EffectiveArrow.use.razor: true
                citizens.blacksmith.use.repair: true
                dimensiondoor.create: true
                dimensiondoor.list: true
                dimensiondoor.load: true
                dimensiondoor.modify: true
                dimensiondoor.remove: true
                dimensiondoor.info: true
                dimensiondoor.spawn: true
                dimensiondoor.teleport: true
                dimensiondoor.template: true
                dimensiondoor.unload: true
                dimensiondoor.*: true
                mchannel.*: true
                ChestShop.*: true
                essentials.afk: true
                worldedit.*: true
                commandbook.*: true
                bigbrother.*: true
                BOSEconomy.*: true
                superpermbridge.*: true
                mchat.prefix.Administrators: true
                mchat.suffix.Administrators: true
                mchat.prefix.Moderators: false
                mchat.suffix.Moderators: false
            inheritance:
            - Moderators
        guard:
            permissions:
                stargate.use: true
                essentials.tp: true
                mchat.prefix.guard: true
                mchat.suffix.guard: true
                mchat.prefix.Regulars: false
                mchat.suffix.Regulars: false
            inheritance:
            - Regulars
    
     
  21. Offline

    RBMidknight

    Is there a way to keep the server.log from adding these "[#m]" things in?

    Code:
    2011-08-21 16:05:00 [INFO] [35m(Admin) [34mRBMidknight[37m: Test[0m
    CB: 1060
    mChat: v1.7.10_5

    config.yml:
    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
    #           **************
    #
    # Use of mchat: is only if your using PermissionsBukkit (superperms)
    # ignore it if you don't know what that is.
    
    mchat-join-message:
    mchat-date-format: HH:mm:ss
    auto-Changed: 1
    mchat-API-only: false
    mchat-name-format: +p+dn
    mchat-playerEvent-format: +p+dn&e
    mchat-kick-message: &chas been kicked from the game.
    mchat-message-format: '+p +dn&f: +message'
    mchat-leave-message: has left the game.
    
    info.yml:
    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    mchat:
        group:
            admin: ''
            mod: ''
            veteran: ''
            adept: ''
            initiate: ''
            visitor: ''
        prefix:
            admin: '&f(&5Admin&f)'
            mod: '&f(&1Mod&f)'
            veteran: '&f(&aVeteran&f)'
            adept: '&f(&6Adept&f)'
            initiate: '&f(&4Initiate&f)'
            visitor: '&f(&dVisitor&f)'
        custVar:
            admin: ''
            mod: ''
            veteran: ''
            adept: ''
            initiate: ''
            visitor: ''
    
     
  22. Offline

    MiracleM4n

    @astinax change:
    Code:
                mchat.prefix.default: false
                 mchat.suffix.default: false
    
    to

    Code:
                mchat.prefix.Default: false
                 mchat.suffix.Default: false
    
    as it is case sensitive.

    @RBMidknight What OS are you using with this server? It doesnt show up on Windows 7 or CentOS so maybe it is MacOSX Terminal being iffy?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  23. Nope iirc WindowsServer 2003(Thats what i am using atm, i know i should go get a newer one...) does show them too, would have to test, i mostly ignored those.
     
  24. Offline

    RBMidknight

    The server is running CentOS 5.5
     
  25. I do like your the first and last suggestion (groupname aliases and variable start character) but i do not quite get what you mean with adding static variables?
     
  26. Offline

    astinax

    It still doesn't work and I'm using spout
     
  27. Offline

    MiracleM4n

    What I mean by that is server admins having the abilities to change all the variables to anything they want ie +prefix you could change to %PurFex (EXAMPLE).

    Are you sure :S. That is odd if so could you PM me so we can talk about this in more detail?
     
  28. Hmm if i got it right you mean something liek this?
    Code:
    mchat-message-format: '%PurFex +dn&f: %Your_shit_to_say'
    If thats what you meant, i would advise against it, as it makes supporting the plugin a little bit harder. One more thing bugs/errors can come from if someone changes it but makes something wrong in the process.
     
  29. Offline

    MiracleM4n

    @Lathanael That is true. Im just trying to make it so people may be able to more easily understand it if they can change it to something that suites them. (The API doesnt change just the variables as mChat formats the variables itself than sends it to the API already formatted)
     
  30. Offline

    tom

    Does this ahve Global/Local chat?
     

Share This Page