[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

    ZombieRampage

    Found the bugger. I looked at my local server (the list I sent you) and my online server, and sure enough... EssentialsChat. Removed that little bugger and all is well. Far as I know, EssentialsChat borks every chat plugin.

    [diamond] for you. I'll buy you a coffee when I get paid!
     
  3. Offline

    MiracleM4n

    @ZombieRampage Yeh seems like Essentials likes to kill all other similar plugins in its wake :p. Glad you found a fix.
    @fffizzz I will work on this for the next Patch release. (Will probably be tonight).
     
  4. 1.7.10_4 not showing any sort of formatting in game on CB1060 :S i noticed that this was appearing in the console though upon startup:

    Code:
    2011-08-16 05:04:51 [INFO] [mChat] Permissions 2.7.4 found hooking in.
    2011-08-16 05:04:51 [INFO] [mChat] Permissions not found, Checking for GroupManager.
    2011-08-16 05:04:51 [INFO] [mChat] version 1.7.10_4 is enabled!
    hope that helps :S i cant find any reason why it shouldnt be working.
    Thanks Spidi
     
  5. Offline

    MiracleM4n

    *Quick Patch to fix what @Spidi reported*
     
  6. Thankyou :D
     
  7. Offline

    Zocomen

    Only getting [Global] then no message after. It can't find permissions either.
    Using bukkit #1000 With PermissionsBukkit+Superperms.
    If you need I can post my config files here too.
     
  8. Offline

    mavbear

    it's still doing it ;-;

    for the record, I'm using PermissionsPlus to change my prefix:
    /user -setinfo u:mavbear i:prefix s:prefix

    will return as PrefixPrefixPrefixmavbear in chat.
     
  9. Offline

    Sayshal

    Where can I find the Permission nodes? :/
     
  10. Offline

    erawr00

    The permission nodes are like this for the official bukkit permissions

    Those would be added to the default group

    mchat.prefix.default: true
    mchat.suffix.default: true

    The next group up, lets call it normal, would have this however:

    mchat.prefix.default: false
    mchat.suffix.default: false
    mchat.prefix.normal: true
    mchat.suffix.normal: true

    You only have to add the suffix node if you are using suffix's etc.

    For permissions 3 you shouldn't need permissions nodes, you can simply use the prefix's in the permissions config file for each group.
     
  11. Offline

    Sayshal

    Well, why cant my users do /afk
    is says you do not have permission to use /mchatafk
     
  12. Offline

    erawr00

  13. @MiracleM4n: is there any reason you don't just apply the user name formatting to the displayname? That way all plugins will get the formatted nickname without having to use any api. Plugin authors know when to use displayname (for output purposes only) and the account name.
     
  14. Offline

    Artanix

    Just trying to figure out if I can setup colors/formatting dependent on username? And if so, it should override its group formatting? Does this plugin do this? (I don't really want to have to create group entries for single users just to get different colors)

    edit: Reading through the thread, I need to get BukkitContrib?
     
  15. Offline

    MiracleM4n

    @Artanix BukkitContrib is now Spout and no you dont. For maximum use of mChatEssentials you need to but for mChat you dont. And yes you can base formatting on Usernames not just Groups.
     
  16. Offline

    Artanix

    Cool, I'll have a mess around with it, thanks for confirming it :)
     
  17. Offline

    MiracleM4n

    @Artanix If you have any problems just ask, I or someone else will hopefully respond in a timely manner.... Any suggestions just spam here or PM me.
     
  18. @MiracleM4n As always, thank you for the update!
     
  19. Offline

    Viannima

    About to test it out. See if I like it better than iChat.
     
  20. Offline

    MiracleM4n

    @Viannima Always ask if you need help, or have questions.
     
  21. Offline

    ReaPxKinG

    I'm having another problem. I keep on changing mchat.prefix.default to .Everyone but it keeps reverting back to .default. please help me Dx
     
  22. Offline

    MiracleM4n

    @ReaPxKinG Using MCMA? If so I think it changes it back by itself.
     
  23. Offline

    Pim1234

    what's wrong with this?
    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    mchat:
        custVar:
            Slave: ''
            Citizen: ''
            Merchant: ''
            Nobleman: ''
            VIP: ''
            Assistant: ''
            King: ''
        group:
            Slave: ''
            Citizen: ''
            Merchant: ''
            Nobleman: ''
            VIP: ''
            Assistant: ''
            King: ''
        prefix:
            Slave: '[&2Slave]'
            Citizen: '[&2Citizen]'
            Merchant: '[&2Merchant]'
            Nobleman: '[&2Nobleman]'
            VIP: '[&dVIP]'
            Assistant: '[&cAssistant]'
            King: '[&aKing]'
        suffix:
            Slave: ''
            Citizen: ''
            Merchant: ''
            Nobleman: ''
            VIP: ''
            Assistant: ''
            King: '[&eThe Great]'
    there are no prefixes :(
    i gave the players the right permissions...
     
  24. Offline

    MiracleM4n

    @Pim1234 I would need the config for mChat, Permissions also. (Going to bed now so Ill take a look in the morning)
     
  25. Offline

    Pim1234

    config.yml (mchat) (open)

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


    info.yml (mchat) (open)

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

    mchat:
    custVar:
    Slave: ''
    Citizen: ''
    Merchant: ''
    Nobleman: ''
    VIP: ''
    Assistant: ''
    King: ''
    group:
    Slave: ''
    Citizen: ''
    Merchant: ''
    Nobleman: ''
    VIP: ''
    Assistant: ''
    King: ''
    prefix:
    Slave: '[&2Slave]'
    Citizen: '[&2Citizen]'
    Merchant: '[&2Merchant]'
    Nobleman: '[&2Nobleman]'
    VIP: '[&dVIP]'
    Assistant: '[&cAssistant]'
    King: '[&aKing]'
    suffix:
    Slave: ''
    Citizen: ''
    Merchant: ''
    Nobleman: ''
    VIP: ''
    Assistant: ''
    King: '[&eThe Great]'


    config.yml(permissionsbukkit) (open)

    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.

    users:
    pim16aap2:
    permissions:
    groups:
    - King
    alex5775:
    permissions:
    groups:
    - Assistant
    scriptr:
    permissions:
    worldedit.generation.sphere: true
    worldedit.history.undo: true
    worldedit.history.redo: true
    groups:
    - Assistant
    BloodRayne89:
    permissions:
    groups:
    - Assistant
    mineshort:
    permissions:
    groups:
    - Citizen
    DanRock007:
    permissions:
    groups:
    - Citizen
    biturbo:
    permissions:
    groups:
    - Citizen
    darkdudefly:
    permissions:
    groups:
    - Citizen
    GDIJimmy:
    permissions:
    groups:
    - Citizen
    BllodRayne89:
    permissions:
    groups:
    - Citizen
    Fryho:
    permissions:
    groups:
    - Citizen
    nickboy6677:
    permissions:
    groups:
    - Citizen
    OneManPwnage:
    permissions:
    groups:
    - Citizen
    fingkregh:
    permissions:
    groups:
    - Citizen
    dare_56:
    permissions:
    groups:
    - Citizen
    DDemian:
    permissions:
    groups:
    - Slave
    Best4eg:
    permissions:
    groups:
    - Slave
    CFC232:
    permissions:
    groups:
    - Slave
    gkarolis:
    permissions:
    groups:
    - Slave
    UnknownGold:
    permissions:
    groups:
    - Slave
    jdague:
    permissions:
    groups:
    - Citizen
    - Slave
    jack5775:
    permissions:
    groups:
    - Citizen
    57digital:
    permissions:
    groups:
    - Slave
    baileyisme:
    permissions:
    groups:
    - Slave
    ninetailer:
    permissions:
    groups:
    - Slave
    McGaiveris:
    permissions:
    groups:
    - Slave
    thiesie:
    permissions:
    groups:
    - Slave
    wolfshark:
    permissions:
    groups:
    - Citizen
    xR4nD0mx3m0x:
    permissions:
    groups:
    - Slave
    Marten2:
    permissions:
    groups:
    - Slave
    Akimtso:
    permissions:
    groups:
    - Slave
    mattie2468:
    permissions:
    groups:
    - Slave
    alinthok:
    permissions:
    groups:
    - Citizen
    benarido:
    permissions:
    groups:
    - Citizen
    CtrlAltDlt1997:
    permissions:
    groups:
    - Slave
    Ghostbattalion:
    permissions:
    groups:
    - Citizen
    owlette:
    permissions:
    groups:
    - Slave
    mehdi34:
    permissions:
    groups:
    - Slave
    n1ckboy666:
    permissions:
    groups:
    - VIP
    - Citizen
    - Slave
    kundjom:
    permissions:
    groups:
    - Slave
    Mother2fan1:
    permissions:
    groups:
    - Citizen
    homo_henning:
    permissions:
    groups:
    - Slave
    blackfire769:
    permissions:
    groups:
    - Slave
    woodzykiler:
    permissions:
    groups:
    - Slave

    left a lot of names away, otherwise it would be really realy long ;)

    groups:
    Slave:
    permissions:
    permissions.build: true
    styxspace.teleport.enter: true
    Iconomy.acces: true
    Iconomy.payment: true
    mobbounty.collect: true
    mobbounty.mb: true
    fight.user: true
    craftbook.mech.cauldron: true
    essentials.help: true
    essentials.list: true
    Permiconomy.buy: true
    virtualshop.nobuy: true
    virtualshop.nosell: true
    essentials.mail: true
    snd.help: true
    snd.join.*: true
    essentials.helpop: true
    essentials.spawn: true
    afkkick.getmessage: true
    mchat.prefix.Slave: true
    Citizen:
    permissions:
    bof.*: true
    bog.*: true
    passwordprotect.nopassword: true
    appleseed.plant.apple: true
    iconomy.bank.*: true
    scavenger.scavenge: true
    simplechestlock.lock: true
    essentials.back: true
    essentials.back.ondeath: true
    privatewarp.pw: true
    essentials.home: true
    essentials.sethome: true
    backpack.nodrop: true
    backpack.size9: true
    gcb.access: true
    wolfpound.use: true
    towny.town.resident: true
    towny.top: true
    mchat.prefix.Citizen: true
    inheritance:
    - Slave
    Merchant:
    permissions:
    Iconomy.list: true
    Iconomy.rank: true
    bedrespawn.*: true
    mchat.prefix.Merchant: true
    inheritance:
    - Citizen
    Nobleman:
    permissions:
    appleseed.*: true
    essentials.heal: true
    towny.town.new: true
    mchat.prefix.Nobleman: true
    inheritance:
    - Merchant
    VIP:
    permissions:
    VIP.VIP: true
    nocheat.all: true
    afkkick.exempt: true
    kyku.tower: true
    multiverse.tp: true
    mobdisguise.[mobtype]: true
    towny.cheat.bypass: true
    backpack.upgrade: true
    mchat.prefix.VIP: true
    inheritance:
    - Nobleman
    Assistant:
    permissions:
    easyban.*: true
    bb.admin.info: true
    bb.admin.rollback: true
    essentials.heal: true
    essentials.tp: true
    essentials.tp: true
    essentials.tpaccept: true
    nocheat.all: true
    worldedit.superpickaxe: true
    essentials.helpop.receive: true
    essentials.tpahere: true
    minecraft.reload: true
    minecraft.tp: true
    kyku.tower: true
    jail.command.jail: true
    jail.command.unjail: true
    adminchat: true
    towny.cheat.bypass: true
    gcb.allowfly: true
    mchat.prefix.Assistant: true
    inheritance:
    - Citizen
    King:
    permissions:
    adminchat.*: true
    afkkick.*: true
    kyku.*: true
    appleseed.*: true
    bb.*: true
    towny.*: true
    bof.*: true
    bog.*: true
    craftbook.*: true
    easyban.*: true
    flatlands.*: true
    flowerpower.*: true
    iconomy.*: true
    gianttrees.*: true
    givemewool.*: true
    gcb.*: true
    jail.*: true
    passwordprotect.: true
    simplegodmode.isgodbydefault: true
    pw.*: true
    scavenger.scavenge: true
    wolfpound.*: true
    VIP.VIP: true
    worldedit.*: true
    essentials.*: true
    mobdisguise.*: true
    nocheat.all: true
    spoutbackpack.*: true
    wrath.*: true
    mchat.prefix.King: true
    mchat.suffix.King: true
    messages:
    build: '&cYou do not have permission to build here, contact pim16aap2/server'

     
  26. Offline

    MiracleM4n

    @Pim1234 Make sure you falsify the node from the inherited group. ie. Add mchat.prefix.Slave: false In the Citiizens group. Tell me if this helps at all.
     
  27. Offline

    Teldelariel

    d/load link does not work
     
  28. Offline

    Pim1234

    omg, do i have to do that with all the permissions from the inherited groups?! :(
     
  29. Offline

    MiracleM4n

    @Pim1234 Not my fault blame how superperms is setup and/or PermissionsBukkit. To answer your question yes you do.
     
  30. Offline

    laguser

    How do get new players to automatically place in to the default group?
    i.e. a griever can just create a new account with no groups and grief the sh*t out of the server
     
  31. Offline

    wezzz91

    Is it me or is the colour code info spoiler not working?
     

Share This Page