[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

    Zocomen

    I have found a problem when using mChat, mChannel and Towny. I have a special prefix in towny which displays my town name, nation name and what rank I have in my town. But when I activated mChat + mChannel, the only thing I get in chat is G
    Only G
    Using Bukkit#1000 Default files.
    Edit. No Error's in log.
     
  3. Offline

    MiracleM4n

    wwhat does your mchat coonfig look like are you using +name or +dislpayname?
     
  4. Offline

    rmb938

    how do you connect to the api? the spoiler is blank
     
  5. Offline

    MiracleM4n

    @rmb938 sorry havent got around to filling it in. import net.d3gn.miraclem4n.mchat.mchat; than until i add it try mChat.API. and look at the list it prints off.
     
  6. Offline

    rmb938

    Alright thats what I thought.
     
  7. Offline

    MiracleM4n

    @EveryPeoples I am working on making per world Chat for mChannel would this be used?

    I am also reformatting the commands for mChannel, and will be making a thread in the DEV plugin section of these forums.


    EDIT: Command restructuring will come at a later date.

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

    mavbear

    Permissions 3.1.5 with PermissionsPlus, and the info.yml just lists the groups and stuff, I erased anything that was in quotes.
     
  9. Offline

    MiracleM4n

    @mavbear i need to see your mchat config.yml please pastebin it so i can take a look.
     
  10. Offline

    bob3695

    Not sure if it was mChat but I updated to the latest version and now everything with peoples display name shows as blank. I got regular chat working by switching from using the display name to using just name. But like the lottery plugin, which was working, now just says [LOTTERY] has bought 1 ticket! when it used to say [LOTTERY] bob3695 has bought 1 ticket!

    Any ideas?
     
  11. Offline

    MiracleM4n

    I will test out Lottery. Display Name works for me what other plugins you use format chat or players names at all?
     
  12. Offline

    mavbear

  13. Offline

    MiracleM4n

    @mavbear Try putting single quotes around everything in the config.yml so for example it looks like configOption: 'Options Value'
     
  14. Offline

    zenyl

    Does mchat support custom chat string variables?

    Does mchat support custom string variables?

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

    MiracleM4n

    @zenyl It doesnt atm but will in the near future
     
  16. Offline

    zenyl

    Sweet ;)
     
  17. Offline

    lilalulelo

    There's just the prefix showing up.
    Here's my config :

    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    mchat:
        group:
            Admin: 'Assemblee>'
            Conseiller: 'Conseiller>'
            Dignitaire: 'Dignitaire>'
            Notable: 'Notable>'
            Bourgeois: 'Bourgeois>'
            Resident: 'Resident>'
            Immigrant: 'Immigrant>'
            default: 'Colporteur>'
        prefix:
            Admin: '&4 <'
            Conseiller: '&6 <'
            Dignitaire: '&1 <'
            Notable: '&9 <'
            Bourgeois: '&2 <'
            Resident: '&8 <'
            Immigrant: '&7 <'
            Colporteur: '&f <'
        suffix:
            Premium: '<p>'
    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: 'a rejoint le monde.'
    mchat-date-format: 'HH:mm:ss'
    auto-Changed: 1
    mchat-API-only: 'false'
    mchat-name-format: '+dn'
    mchat-playerEvent-format: 'dn'
    mchat-kick-message: 'a ete kicke.'
    mchat-message-format: '+p+g+suffix+n&f: +message'
    mchat-leave-message: 'a quitte le monde.'
    
    It shows up like : <lilalulelo : message
     
  18. Offline

    MiracleM4n

    @lilalulelo Try putting just +s not +suffix and see if that fixes anything.
     
  19. Offline

    ZombieRampage

    mchat-message-format variable doesn't seem to do anything. I'm using the default config file and it does not format any chat strings. Strange. Is it supposed to format the general chat?

    EDIT: It does format the welcome and exit messages.

    EDIT EDIT: I've changed the default config file and still no luck:
    Code:
    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: '+prefix +name: +message'
    mchat-leave-message: has left the game.
     
  20. Offline

    bob3695

    It is lottery, Mob arena I think is doing it too (It says " died!"), mchat itself I had to change from display name to regular name to get it to work.
     
  21. Offline

    MiracleM4n

    @ZombieRampage What permissions plugin? info.yml (If using a superperms plugin)? What nodes do the players have (If using superperms plugin)
     
  22. Offline

    ZombieRampage

    I'm using superperms/permissionsbukkit.

    Code:
    mchat:
        group:
            admin: '&5TEST&4'
            mod: ''
            member: ''
        prefix:
            admin: '&4[Admin] &4'
            mod: '&a[Mod] &7'
            member: '&[M] &7'
        suffix:
            admin: '&4'
            mod: ''
            member: ''
    So, I assume that my chat lines should be changed according to the formatting of the mchat-message-format variable, correct?

    EDIT: My Admin's and Mods are showing up when logging in with the correct Prefix. It's only the chat that show them in the standard white text (no prefix) - like everyone else. My moderators have: mchat.prefix.mod: true, and my Admin's have mchat.prefix.admin: true.
     
  23. Offline

    MiracleM4n

    Yes and for say the ability for a player to have the suffix: admin: than you have to give them permissions for mchat.suffix.admin. mChat is about to be updated to allow for custom variables, This is when itll get confusing :p
     
  24. Offline

    ZombieRampage

    So, my config, info, and permissions file all look good. And you know it's working because I'm getting the correct prefix on login/logout. Still no chat formatting. I think it's a conflict then. I'm going to go though my plugins and squash them one by one and see if I can free mchat to do it's thing. Thanks!
     
  25. Offline

    MiracleM4n

    @ZombieRampage Are you using Permissions 2.x/3.x or GM or superperms?
     
  26. Offline

    ZombieRampage

    I'm using superperms/permissionsbukkit.
     
  27. Offline

    MiracleM4n

    mChat UPDATED - This is an almost mandatory update if you want other plugins by me to work.

    @ZombieRampage Ok what plugins are you using I can do some troubleshooting for you.
     
  28. Offline

    ReaPxKinG

    I'm having problem with this.
    I finished setting up the prefixes for the players.
    It works for the owner groups
    It works for the admin groups
    it doesn't work for mods, members, and guest.

    I'm using McMyAdmin to manage the server
    and using PermissionBukkit

    info
    Code:
    #Written by McMyAdmin v0.9.6.8
    
    mchat:
        prefix:
            Everyone: '&f&7Guest-'
            Members: '&f&eMember-'
            Moderators: '&2Mod-'
            Administrators: '&4Admin-'
            Owner: '&1Owner-'
        group:
            Everyone: 'Everyone'
            Members: 'Members'
            Moderators: 'Moderators'
            Administrators: 'Administrators'
            Owner: 'Owner'
        suffix:
            Everyone: ''
            Members: ''
            Moderators: ''
            Administrators: ''
            Owner: ''
    
    permission
    Code:
    users:
        ReaPxKinG:
            groups:
            - Owner
    groups:
        default:
            permissions:
                mchat.prefix.Everyone: true
                mchat.suffix.Everyone: true
                permissions.build: false
        Members:
            permissions:
                iConomy.access: true
                iConomy.payment: true
                iConomy.list: true
                iConomyDeath.use: true
                choptree.chop: true
                mchat.prefix.Members: true
                mchat.prefix.default: false
                permissions.build: true
            inheritance:
            - default
        Moderators:
            permissions:
                mchat.prefix.Moderators: true
                mchat.prefix.Members: false
              inheritance:
            - Members
        Administrators:
            permissions:
                iConomy.admin.empty: false
                iConomy.admin.account.create: false
                iConomy.admin.account.remove: false
                iConomy.admin.bank.create: false
                iConomy.admin.bank.remove: false
                iConomy.admin.bank.set: false
                iConomy.admin.hide: false
                iConomy.admin.purge: false
                iConomy.admin.reset: false
                iConomy.admin.set: false
                iConomy.admin.stats: false
                iConomy.bank.deposit: false
                iConomy.bank.join: false
                iConomy.bank.join.multiple: false
                iConomy.bank.leave: false
                iConomy.bank.list: false
                iConomy.bank.main: false
                iConomy.bank.main.change: false
                iConomy.bank.main.set: false
                iConomy.bank.main.view: false
                iConomy.bank.transfer: false
                iConomy.bank.transfer.multiple: false
                iConomy.bank.withdraw: false
                superpermbridge.*: true
                mchat.prefix.Administrators: true
                mchat.prefix.Moderators: false
            inheritance:
            - Moderators
        Owner:
            permissions:
                superpermbridge.*: true
                mchat.prefix.Owner: true
                mchat.suffix.Owner: true
                permissions.build: true
    
     
  29. Offline

    MiracleM4n

    mchat.prefix.default: false Change that to mchat.prefix.Everyone: false

    If anyone wants my plugin is now up on BlockFace. If you think it is worthy vote it up please.

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

    ZombieRampage

    Very kind of you. See attached IMG for list of plugins. 00000001.jpg
     
  31. Offline

    fffizzz

    How about the ability to alias our worlds in the info file?

    For example, i have worlds named, worldrd, which is worldramdisk (my own knowledge), i use herochat and its prefixed with just [ s ] as its survival, plus when you have full world names in there, it takes a lot of screen space.
     

Share This Page