[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

    swift_fox24

    Are you still planning on making this compatible with MobDisguise?
     
  3. Offline

    MiracleM4n

    swift_fox24: Once the MobDisguise API allows for getting who the players are Disguised as (Mob's they are disguised as) I will implement it.
    Sayshal: Whomever you give the groups to in the users.yml it will show that as the +group variable.
     
  4. Offline

    Sayshal

    Well, I promoted my self to group admin and this is the console:
    http://pastebin.com/RA9H8azq

    And this is what it shows ingame when i talk.
    ::::::::::Sayshal: Test

    Please help me out. I need this D:
     
  5. Offline

    MiracleM4n

    Sayshal: Check the mChat config file to change how the names are formatted. Right now you most likely have +hb+dn: +m

    Anyone want to be a mChannel alpha tester? If so either respond here on in a PM.

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

    Sayshal

    I have the default config, now how can I change it to be what I want?
     
  7. Offline

    dark_hunter

    Yes please. Come on Spout's IRC.
     
  8. Offline

    Sayshal

    Yes please. Start a conversation with me?

    my 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: joined.
    mchat-date-format: HH:mm:ss
    auto-Changed: 1
    mchat-API-only: false
    mchat-name-format: '+p+n&f: +message'
    mchat-playerEvent-format: +p+dn+s&e
    mchat-kick-message: has been kicked from the game.
    mchat-message-format: '+p+n&f: +message'
    mchat-leave-message: has left the game.
    
    My info.yml:
    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    mchat:
        group:
            Default: 'Default'
            Builder: 'Builder'
            Admin: 'Admin'
        prefix:
            Default: '&f[&eCitizen&f]'
            Builder: '&b[&9Builder&b]&f &b'
            Admin: '&c[Admin]&f &4'
        suffix:
            Default: ''
            Builder: ''
            Admin: ''
    
    permissions/world/groups.yml:
    Code:
    groups:
        Developer:
            default: false
            info:
                prefix: '&5[Developer]&6'
                suffix:
                build: true
                rank: 75
                inheritance: Builder
            permissions:
            - ublock.ub
        Default:
            default: true
            info:
                prefix: '&f[&eCitizen&f]'
                suffix:
                build: true
                rank: 1
            permissions:
            - mchat.prefix.Default
            - essentials.afk
            - essentials.help
            - essentials.me
            - essentials.list
            - essentials.motd
            - essentials.msg
            - essentials.rules
            - essentials.suicide
            - essentials.spawn
            - essentials.back
            - essentials.warp
            - essentials.warp.list
            - essentials.time
            - BetterShop.user.*
            - iConomy.access
            - iCononmy.list
            - iConomy.payment
            - iConomy.rank
            - lwc.protect
            - modtrs.command.modreq
            - ublock.ub
        Builder:
            default: false
            info:
                prefix: '&b[&9Builder&b]&f &b'
                suffix:
                build: true
                rank: 50
            inheritance:
            permissions:
            - commandbook.rules
            - commandbook.time.check
            - commandbook.spawn
            - commandbook.msg
            - commandbook.whereami
            - BetterShop.user.*
            - iConomy.access
            - iCononmy.list
            - iConomy.payment
            - iConomy.rank
            - lwc.protect
            - modtrs.command.modreq
            - essentials.item
            - essentials.time
            - essentials.unlimited
            - essentials.afk
            - essentials.help
            - essentials.list
            - essentials.me
            - essentials.motd
            - essentials.msg
            - essentials.rules
            - essentials.suicide
            - essentials.spawn
            - essentials.back
            - essentials.warp
            - essentials.warp.list
            - nocheat.speedhack
            - nocheat.moving
            - nocheat.flying
            - nocheat.fastswim
            - nocheat.airbuild
            - nocheat.bogusitems
            - worldguard.god
            - worldguard.ungod
            - worldguard.heal
            - worldedit.*
            - ublock.ub
            - mchat.prefix.Builder
        Admin:
            default: false
            info:
                prefix: '&c[Admin]&f &4'
                suffix:
                build: true
                rank: 100
            permissions:
            - worldguard.*
            - modtrs.*
            - lwc.*
            - nocheat.*
            - p2.*
            - bb.*
            - ublock.*
            - essentials.*
            - BetterShop.*
            - worldedit.*
            - mcbans.*
            - iconomy.*
            - permissions.*
            - vanish.*
            - mchat.prefix.Admin
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  9. Late reply because I wasn't tagged in your message. :p
    I think it was a good decision to merge them back together. I love using mChat, its great. :)
     
  10. Offline

    Singapore123

    Erm, I used it, the color works. the only thing I used the +displayname. BUT. My friends cannot see the colours. Oh and, when I use MobDisguise, then name does not change.
     
  11. Offline

    MiracleM4n

  12. Offline

    Zocomen

    Testing :)
    Edit: Work's great! No error's so far!
     
  13. Offline

    MiracleM4n

    Zocomen: Tell me if anything comes up. Or if you need any help with understanding permissions nodes, how to use the commands.
     
  14. Offline

    CW934

    I have a question. I first had mInfo + mChat with PermissionsBukkit (and the bridge), and that worked well but I couldn't find a way to, when listing players, have their name formatted with their prefix. I used jChat and jList, which let me do that, but whenever promoting someone from default to member, they had to login/logout for the change to work. So is there a plugin or add-on to list players with their prefixes? Thx :D Also will this work with MOTD plugins, where it says "Welcome [ADMIN]Player" instead of "Welcome Player?"
     
  15. Offline

    erawr00

    Regarding mChannel:
    It's working wonderfully so far, I have it working with factions as well! If you could share the permission nodes so that I can test the channels that are not joined automatically. Also, private channels, do they use permission nodes or if a user creates a private channel is there a password on it or a way to invite people to it besides using permissions?

    Great job!!! mChat and mChannel are both awesome.
     
    swift_fox24 likes this.
  16. Offline

    kardus

    I can't seem to get colours/prefixes working at all. My PermissionsBukkit user/admin block looks like this:
    Show Spoiler

    Code:
    users:
        kardus:
            groups:
            - Sysops

    Code:
    Sysops:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Sysops: true
                mchat.suffix.Sysops: true
                mchat.prefix.Administrators: false
                mchat.suffix.Administrators: false
            inheritance:
            - Administrators
    My info.yml (suffixes in file but omitted here):

    Code:
    mchat:
        prefix:
            Everyone: '&f'
            Regulars: '&a'
            Moderators: '&1'
            Administrators: '&4'
            Sysops: '&5'
            Donors: '&6'
        group:
            Everyone: 'Everyone'
            Regulars: 'Regulars'
            Moderators: 'Moderators'
            Administrators: 'Administrators'
            Sysops: 'Sysops'
            Donors: 'Donors'


    Any ideas? I've tried using a virgin install of mChat, also using the latest version (1.7.10_3).
     
  17. Offline

    erawr00

    Could you post your mChat config file as well.
     
  18. Offline

    kardus

    Here, thanks:
    Show Spoiler

    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: <+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
    
    
     
  19. Offline

    erawr00

    It looks like you're missing the group from your mchat-message-format. Simply add +group to your mchat config file like so

    mchat-message-format: <+prefix+group+dname+suffix&f> +message
     
  20. Offline

    kardus

    I don't think that was the problem, but tried it anyway and it didn't solve it. The colours/prefixes are defined in the prefix section so i don't think group has anything to do with it.

    I'm still not sure what the problem is. I installed a clean version of the mod and disabled all my other mods except permissionsbukkit, superpermbridge, and mchat.

    I can confirm prefixes (including colours) and suffixes don't work :(
     
  21. Offline

    MiracleM4n

    @kardus I will look into this. Are the colours working for login/leave mesages?
    @kardus can you put your whole permissions config.yml up?
     
  22. Offline

    Singapore123

    Did you read this?
     
  23. Offline

    MiracleM4n

    mChannel???????? Look here:

    Download:
    Latest version 1.7.1_1
    http://plugins.d3gn.net/dev/mChannel.jar

    Lots of Info (open)

    Commands:
    /mchannel create [channelName] [channelType] [channelTag] {channelDistance} - Creates new channel.
    /mchannel edit [oldChannelName] [newChannelName] [channelType] [channelTag] {channelDistance} - Edits existing channel.
    /mchannel remove [channelName] - Deletes channel.
    /mchannel join [channelName] - Joins channelName.
    /mchannel invite [playerName] - Invites playerName to your channel.
    /mchannel accept - Accepts invitation to join channel.
    /mchannel leave - Leaves current channel.
    /mchannel reload - Reloads config.
    aliases: [mchatchannels, mchannels, mcha]


    Info:
    DO NOT EDIT CONFIG FILE UNLESS YOU KNOW WHAT YOU ARE DOING.
    Anything in [] is mandatory {} is only for certain features.
    channelName can be any string.
    channelType can only be (doesnt matter the case):
    Public (Everyone can see),
    Private (Only people in this channel can see),
    Local (Anyone within a certain distance of the player can see)
    channelTag can be any string, remember this takes colour codes :D (&e,&4)
    channelDistance is optional as it is only used for local (Defaults to 0 if not used)


    Permissions (For all major Permissions plugins, includes GM/(P2/3)/bP(bPermissions)/PB(Superperms)):
    All variables are in {}'s
    mchannel.* = Everything.
    mchannel.reload = Reload config.
    mchannel.join.* = Join any channels.
    mchannel.join.{channelName} = Join {channelName}
    mchannel.invite.* = Ability to invite anyone to any channel you are in.
    mchannel.invite.{channelName} = Ability to Invite anyone to {channelName} if you are in it.
    mchannel.create.* = Create any channels.
    mchannel.create.{channelName} = Create {channelName}
    mchannel.edit.* = Edit any channels.
    mchannel.edit.{channelName} = Edit {channelName} (Note: If you change the channels name you can no longer edit it because you no longer have the node for channelName.)
    mchannel.remove.* = Remove any channels.
    mchannel.remove.{channelName} = Remove {channelName}


    @Singapore123 I will have a fix for that ASAP. It will require complete restructuring of mChat and all plugins relying on mChat because the way desmin88 stores players is as a string using Player.getName() I store them as a Player object. Shouldnt be a huge fix. I will work on it tomorrow. I have been working on mChannel like a dog. It is now at a partially stable alpha state. Give me a few days to catch up now :p

    OP now contains the post 2 posts up....5AM cut me some slack :p. Going to bed now, Tty all tomorrow night (Work all day from 7AM to 12:15AM)

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

    Zocomen

    Just to remind all McMyAdmin user's:
    They updated today, so the new mChat system will work correctly :)
     
  25. Offline

    mavbear

    this plugin makes prefixes and suffixes go bat shit nuts. :(
    they repeat constantly, for example: prefixprefixprefixmavbear
    I never had this problem with iChat :(
     
  26. Offline

    MiracleM4n

    @mavbear whar permissions plugin are you usong and what does you mchat config/info.yml look like?
     
  27. Offline

    F4BSE

    can i make localchannels like herochat? i want to speak only 20blocks on my rp server
     
  28. Offline

    erawr00

    Yes, mChannel - post #427 for information.
     
  29. Offline

    MiracleM4n

    yes thank you @erawr00 it is also now in the OP under other stuff.
     
  30. Offline

    dark_hunter

    I might try mChannel, when I wake up on my test server.
     
  31. Offline

    MiracleM4n

    you better DH :p.
     
    dark_hunter likes this.

Share This Page