[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

    Darcion

    read the manuals

    here is the permission node

    mchat.prefix.Admin: true

    and you have to change the info.yml from mchat

    groupnames:
    Admin: ''
    mchat:
    custVar:
    Admin: ''
    prefix:
    Admin: '&1[&4Admin&1]&f '
    suffix:
    Admin: ''
     
  3. Offline

    Dragonslife

    Ok so, this is my mchat info.yml file.

    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    groupnames:
        admin: ''
        jadmin: ''
        member: ''
        sadmin: ''
    mchat:
        custVar:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
        prefix:
            admin: '[ADMIN]'
            jadmin: ''
            member: ''
            sadmin: ''
        suffix:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    
    And this is my permissionsbukkit config.yml file.
    Code:
    users:
        God:
            permissions:
                permissions.example: true
            groups:
            - admin
        sensou:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: true
                essentials.help: true
                essentials.ignore: true
                essentials.list: true
                essentials.mail.*: true
                essentials.me: true
                essentials.msg: true
                essentials.rules: true
                essentials.build: true
                modtrs.command.modreq: true
                modtrs.command.check.self: true
                izone.zones.highprotect: true
                izone.zones.define: true
                izone.zones.create: true
                izone.zones.delete: true
                izone.zones.allow: true
                izone.zones.disallow: true
                izone.zones.flag: true
                izone.zones.flag.protection: true
                izone.zones.flag.welcome: true
                izone.zones.flag.farewell: true
                izone.zones.allow: true
                citizens.trader.use.trade: true
                iConomy.holdings: true
        admin:
            permissions:
                permissions.*: true
                modtrs.command.check: true
                modtrs.command.ban: true
                modtrs.command.unban: true
                modtrs.command.complete: true
                modtrs.command.complete.override: true
                modtrs.command.broadcast: true
                modtrs.command.teleport: true
                modtrs.command.reload: true
                modtrs.command.modlist: true
                mchat.prefix.admin: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    I still don't get a prefix in front of my name, tho, i am admin... anyone seeing what is set wrong here?
     
  4. Offline

    Darcion

    take "Admin: '&1[&4Admin&1]&f '" this, you have to use colorcodes or you see nothing
     
  5. Can we see your config.yml?
     
  6. Offline

    MiracleM4n

    Also..... If you read the post above yours :p . I you would like help you could open a ticket on the BukkitDev page if you need help......
     
  7. Offline

    Dragonslife

    Code:
    # mChat configuration file
    #
    #           **IMPORTANT**
    #   usage of mchat-message-format can be, but is not limited to
    #       +suffix,+s, +prefix,+p, +group,+g, +world,+w, +time,+t, +name,+n, +dname,+dn, +health,+h +healthbar,+hb, +message,+msg,+m
    #       Suffix, Prefix, Group, World, Time, Player Name, Player Display Name, Health, Health Bar, Message
    
    mchat-join-message: has joined the game.
    mchat-date-format: HH:mm:ss
    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 +r.
    mchat-message-format: '+p+dn+s&f: +m'
    mchat-info-only: false
    mchat-leave-message: has left the game.
    
     
  8. Offline

    Darcion

    .... how stupid.... ok again

    use colorcodes

    &1[&4Admin&1]&f

    and the config.yml is not importand for prefix settings because its allready in

    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: '+p+s+n&f: +message'
    mchat-leave-message: has left the game.
    mchat-info-only: false
     
  9. Offline

    Dragonslife

    I just put in the color code, still no work D:
     
  10. How is the config not important? IF he did remove the +p by accident and we do not know that we would not be able to find the error.
    AND BTW colour-codes are NOT needed to display something. They are just for better visibility!
     
  11. Offline

    MiracleM4n

    @Dragonslife Show me your Permissions config file/s. Please in the future file a ticket in BukkitDev... PLEASE. Or I may not answer.

    @Lathanael beats @Darcion with a rubber chicken.....

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  12. It is already there: Post #890
    But i can not spot any wrongdoing there -.-

    LOL :rolleyes:
     
  13. Offline

    Darcion

    yeah thats a point, but i thougt he diddnt changed it. and without colorcode it is which color? i never tried without

    and i hope he restarted his server for testing the new config...

    btw, is the permissions working correckt? post the serverlog show us if there are any errors?
     
  14. Offline

    MiracleM4n

    Hmmm... That is very odd. @Dragonslife Could you please post any mChat related console output. and tell what version of CB and what version of mChat you are using as well as what version of what permissions plugin you are using.
     
  15. Offline

    Dragonslife

    Server startup/stop log:
    Code:
    2011-09-30 14:46:16 [INFO] Starting minecraft server version Beta 1.8.1
    2011-09-30 14:46:16 [INFO] Loading properties
    2011-09-30 14:46:16 [INFO] Starting Minecraft server on *:25565
    2011-09-30 14:46:16 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-09-30 14:46:16 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-09-30 14:46:16 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-09-30 14:46:16 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-09-30 14:46:16 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    2011-09-30 14:46:17 [SEVERE] ebean.properties not found
    2011-09-30 14:46:17 [INFO] DataSourcePool [ModTRS] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-09-30 14:46:17 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-09-30 14:46:17 [INFO] Entities enhanced[0] subclassed[2]
    2011-09-30 14:46:17 [INFO] MLog clients using java 1.4+ standard logging.
    2011-09-30 14:46:17 [INFO] Spout 1.0.6.381 has been initialized
    2011-09-30 14:46:17 [INFO] Preparing level "world"
    2011-09-30 14:46:17 [INFO] Default game type: 0
    2011-09-30 14:46:18 [INFO] Preparing start region for level 0 (Seed: -8561628729756298345)
    2011-09-30 14:46:19 [INFO] Preparing spawn area: 85%
    2011-09-30 14:46:19 [INFO] Preparing start region for level 1 (Seed: -8561628729756298345)
    2011-09-30 14:46:20 [INFO] Preparing spawn area: 97%
    2011-09-30 14:46:20 [INFO] [AuthMe] Authme 2.2 enabled
    2011-09-30 14:46:20 [INFO] creaturebox: Permissions enabled using: Bukkit Permissions
    2011-09-30 14:46:20 [INFO] creaturebox version 0.7.7 is enabled!
    2011-09-30 14:46:20 [INFO] Loaded Essentials build 2.6.1 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    2011-09-30 14:46:20 [INFO] Essentials: Using config based permissions. Enable superperms in config.
    2011-09-30 14:46:20 [INFO] Loaded EssentialsChat build 2.6.1 by: essentials team
    2011-09-30 14:46:20 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2011-09-30 14:46:20 [INFO] Loaded EssentialsProtect build 2.6.1 by: essentials team
    2011-09-30 14:46:20 [INFO] Loaded EssentialsSpawn build 2.6.1 by: essentials team
    2011-09-30 14:46:20 [INFO] [iConomy - Celty] Enabled (13 ms)
    2011-09-30 14:46:20 [INFO] [iZone : 6.7] Enabled!
    2011-09-30 14:46:20 [INFO] [iZone : 6.7] SQLite Connection successful
    2011-09-30 14:46:20 [INFO] [iZone : 6.7] Loaded 2 zones.
    2011-09-30 14:46:20 [INFO] [ModTRS] Plugin enabled! (version 2.0beta)
    2011-09-30 14:46:20 [INFO] PermissionsBukkit v1.2 is now enabled
    2011-09-30 14:46:20 [INFO] Essentials: Using PermissionsBukkit based permissions.
    2011-09-30 14:46:20 [INFO] ScheduledAnnouncer v1.7.0 is enabled!
    
    2011-09-30 14:46:20 [INFO] [SherbotLemon] version 1.0.0 is enabled!
    2011-09-30 14:46:20 [INFO] Stargate v.0.6.9 is enabled.
    2011-09-30 14:46:20 [INFO] [Stargate] Loaded 1 gate layouts
    2011-09-30 14:46:20 [INFO] [Stargate] {world} No stargates for world
    2011-09-30 14:46:20 [INFO] [Stargate] {world_nether} No stargates for world
    2011-09-30 14:46:20 [INFO] [VANISH] Version 1.6.1 enabled.
    2011-09-30 14:46:20 [INFO] [Citizens] NPC types loaded: blacksmith, guard, healer, quester, trader, wizard
    2011-09-30 14:46:21 [INFO] [Citizens] Permissions system found (PermissionsBukkit v1.2)
    2011-09-30 14:46:21 [INFO] [Citizens] version [devBuild-216] loaded.
    2011-09-30 14:46:21 [INFO] [Citizens] Economy plugin found (iConomy v6)
    2011-09-30 14:46:21 [INFO] [mChat] PermissionsBukkit 1.2 found hooking in.
    2011-09-30 14:46:21 [INFO] [mChat] mChannel not found not using.
    2011-09-30 14:46:21 [INFO] [mChat] BukkitStats Logging currently Activated. To opt-out check stats.yml.
    2011-09-30 14:46:21 [INFO] [mChat] mChat version 1.8.2_3 is enabled!
    2011-09-30 14:46:21 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-30 14:46:21 [INFO] Done (0.325s)! For help, type "help" or "?"
    2011-09-30 14:46:21 [INFO] Reached end of stream
    2011-09-30 14:46:21 [INFO] [Citizens] Loaded 6 NPCs.
    2011-09-30 14:46:21 [INFO] [Citizens] Loaded 0 quests.
    2011-09-30 14:46:28 [INFO] CONSOLE: Stopping the server..
    2011-09-30 14:46:28 [INFO] Stopping server
    2011-09-30 14:46:28 [INFO] [AuthMe] Authme 2.2 disabled
    2011-09-30 14:46:28 [INFO] creaturebox 0.7.7: saving spawners
    2011-09-30 14:46:28 [INFO] creaturebox version 0.7.7 is disabled.
    2011-09-30 14:46:29 [INFO] [iConomy] Closing general data...
    2011-09-30 14:46:29 [INFO] [iConomy] Disabled. (0 ms)
    2011-09-30 14:46:29 [INFO] [iZone : 6.7] Disabled!
    2011-09-30 14:46:29 [INFO] [ModTRS] Plugin disabled. (version 2.0beta)
    2011-09-30 14:46:29 [INFO] PermissionsBukkit v1.2 is now disabled
    2011-09-30 14:46:29 [INFO] Essentials: Using config based permissions. Enable superperms in config.
    2011-09-30 14:46:29 [INFO] ScheduledAnnouncer v1.7.0 is disabled!
    
    2011-09-30 14:46:29 [INFO] Closing all stargates.
    2011-09-30 14:46:29 [INFO] [VANISH] Version 1.6.1 disabled.
    2011-09-30 14:46:29 [INFO] [Citizens] version [devBuild-216] disabled.
    2011-09-30 14:46:29 [INFO] [mChat] mChat version 1.8.2_3 is disabled!
    2011-09-30 14:46:29 [INFO] Saving chunks
    2011-09-30 14:46:29 [INFO] Stopping server
    Craftbukkit version:
    1185
    Plugin versions:
    mChat - b25
    Permissionsbukkit - v1.2

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

    MiracleM4n

    @Dragonslife Not sure what is wrong than. Could you make sure that everything is the same case? Not sure if you may have messed something up in that way or if I just failat coding.
     
  17. Offline

    Darcion

    hm is permissionsbukkit the older 1.2? there is a fix named as 1.2k you should take that version

    and i am surprised too

    show us a picture from ingame chat as you are tiping
     
  18. Offline

    Dragonslife

    I'm not sure but, if you look at my info.yml file, there's nowhere where it points out to the groups in my permissionsbukkit config.yml file. Is it just ok that way or should it be put in there, and if so, how?
     
  19. Offline

    Darcion

    pls try this:

    under default group
    mchat.prefix.default: true
    mchat.prefix.admin: false

    and under admin

    mchat.prefix.default: false
    mchat.prefix.admin: true
     
  20. Offline

    Dragonslife

    Shouldn't i put my permissionsbukkit config.yml file group names into the mchat info.yml file under groupnames?
    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    groupnames:
        admin: ''
        jadmin: ''
        member: ''
        sadmin: ''
    mchat:
        custVar:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
        prefix:
            admin: '&1[&4Admin&1]&f'
            jadmin: ''
            member: ''
            sadmin: ''
        suffix:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    
     
  21. Offline

    Darcion

    you have to look at my post above your last @dragonslife, change your permissions

    pls add all groups to every group in
     
  22. Offline

    Dragonslife

    I did change the permissions, still no work... so shall i change my info.yml file to like this?
    Code:
    # mChat Info config
    # Only needed if using PermissionsBukkit, superperms.
    
    groupnames:
        admin: 'admin'
        jadmin: ''
        member: 'default'
        sadmin: ''
    mchat:
        custVar:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
        prefix:
            admin: '&1[&4Admin&1]&f'
            jadmin: ''
            member: ''
            sadmin: ''
        suffix:
            admin: ''
            jadmin: ''
            member: ''
            sadmin: ''
    worldnames:
        D3GN: '[D]'
        DtK: '[DtK]'
        Hello: '[H]'
        Nether: '[N]'
    
    To point out the groups in my permissionsbukkit config.yml file?
     
  23. Offline

    Darcion

    pls post you permissionsbukkit config again let me look into it.
     
  24. Hey @MiracleM4n!
    Could you please update your changelog? :) I'm currently using 1.7.12 on CB 1185 and I was wondering if you fixed the censor thingy in the latest version. You forgot to add " .equalsIgnoreCase( " :p
     
  25. Offline

    Dragonslife


    Code:
    users:
        God:
            permissions:
                permissions.example: true
            groups:
            - admin
        sensou:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: true
                essentials.help: true
                essentials.ignore: true
                essentials.list: true
                essentials.mail.*: true
                essentials.me: true
                essentials.msg: true
                essentials.rules: true
                essentials.build: true
                modtrs.command.modreq: true
                modtrs.command.check.self: true
                izone.zones.highprotect: true
                izone.zones.define: true
                izone.zones.create: true
                izone.zones.delete: true
                izone.zones.allow: true
                izone.zones.disallow: true
                izone.zones.flag: true
                izone.zones.flag.protection: true
                izone.zones.flag.welcome: true
                izone.zones.flag.farewell: true
                izone.zones.allow: true
                citizens.trader.use.trade: true
                iConomy.holdings: true
                mchat.prefix.default: true
                mchat.prefix.admin: false
        admin:
            permissions:
                permissions.*: true
                modtrs.command.check: true
                modtrs.command.ban: true
                modtrs.command.unban: true
                modtrs.command.complete: true
                modtrs.command.complete.override: true
                modtrs.command.broadcast: true
                modtrs.command.teleport: true
                modtrs.command.reload: true
                modtrs.command.modlist: true
                mchat.prefix.default: false
                mchat.prefix.admin: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
     
  26. Offline

    Darcion

    pls drop the group "user" and try without that
     
  27. Offline

    Dragonslife

    I removed the user from the permissionsbukkit config.yml file.... Still doesnt work.
     
  28. Offline

    Darcion

    ok then, begin complete from new, save all folders and begin from new files, only admin no other group

    same in mchat
     
  29. Offline

    Dragonslife

    @MiracleM4n - After going trough all these solutions and double check of possible wrong entries and with no errors in console, i'm sorry to say, that it probably is something wrong in the coding.
     
  30. Offline

    Darcion

    such easy stuff? i dont hink so but do you have the latest build from permissionsbukkit? which buildnumber do you have, maybe no problem with mchat
     
  31. Offline

    Dragonslife

    that was mentioned in this topic before, build v1.2
     

Share This Page