632

Chat Bubbles 1.7.2

632 diamonds
  • 225,990
    Views, 477 today
  • 103,202
    Downloads, 249 today
  • 703 Comments
  • 274 Favorites
  • Flag / Report

Get Embed Code

Forum:
HTML:
Link:
avatar
MamiyaOtaru
Level 93 : Elite Programmer
This mod displays what people say above their head. Useful for crowded servers where the chat lines fly by. This way you can hold a conversation with people near you.

This is similar to VoxelChat, but VoxelChat functions best with a server plugin. This has a lot of work on the client side done so that it has a lot better chance of working on servers that don't use the server plugin. That said, this can use the server plugin too, and VoxelChat will soon get the better client side parsing. When that happens pretty much the only difference will be looks, and this using Forge instead of liteloader. Will decide then whether to even keep this separate

Requires Forge

Known Issues:

  1. nicknames will not work. If the name attached to the chat message is different than the name above someone's head, there is no way to match that. Wouldn't mind redoing this so there's a server component that communicates better with the client re: who sent a message

**Chatline formats currently handled properly (not exhaustive):
pretty much anything with a : or a > after the name
almost anything with name in a < > block


The general case regular expressions are pushed about as far as I can go. The mod now has the ability to use custom regex lines per server. There are a few examples in

/.modloader/mods/chatbubbles/customRegexes.txt (after you run minecraft with the mod once). Each line is four parts.

  1. server address (with port if necessary).
  2. regex to match that server's chat format(s).
  3. which ( ) group corresponds with the playername. Can be multiple comma separated values in the case of an OR in the regex (for multiple wildly different styles on a server).
  4. ( ) group corresponding to the message.
Add more lines to that file and they will be used. If you can't work it out, as usual send me your server's chat format and I can help you put together a new custom line.

Old Versions (all for Modloader/Forge):
Progress: 95% Complete
Game Version:Minecraft 1.7.2
Tags:Aesthetic
Credit:ExDoublez for the suggestion. The ChatBubbles mod for Minecraft (its code and artwork) copyright Jason (MamiyaOtaru) Winzenried

More Mods by MamiyaOtaruView All

Last updated 04/15/14
by MamiyaOtaru

Update #24 : 02/02/2014 12:06:26 am2/02/14

1.7.2 update. now requires Forge. Much more compatible with other mods that change the player renderer

VoxelModpack functionality temporarily out until I can code it back in. The VoxelModpack was the only way for this to function with nicknames. Will bring it back, though in the meantime one could just use VoxelChat

Update #23 : 09/23/2013 5:00:28 pm9/23/13

1.6.4 update

Update #22 : 07/29/2013 9:59:59 pm7/29/13

fixed possible hang with 2 repeating characters (ie "<><><><><><><><><><><><><><")

redid play.mc-sg.org's custom regex (functions there again)

note: realmc is currently broken with probably no possibility of functioning again unless they switch their chat format to be less retarded

Update #20 : 07/09/2013 2:42:36 am7/09/13

updated to 1.6.2. Will work with Forge now, and modloader when it updates

Update #21 : 07/09/2013 2:17:33 am7/09/13

update to work around retarded Modloader bug where the mod wouldn't work until you loaded a singleplayer world (details here). Forge is unaffected, is unique to (1.6 and up) of Modloader. Anyway, this fixes Modloader's bug

Update #19 : 07/07/2013 5:45:00 pm7/07/13

disabled debugging output to not spam everyone's log files

Update #18 : 07/05/2013 2:04:17 am7/05/13

update to 1.6.1

Update #17 : 05/24/2013 9:30:46 pm5/24/13

store settings in local minecraft dir (wherever that may be) instead of always in home

Update #16 : 04/08/2013 5:33:05 am4/08/13

fix for possible null pointer issue when changing servers

Update #15 : 03/22/2013 1:26:29 pm3/22/13

update for 1.5.1

Update #14 : 03/14/2013 12:57:06 pm3/14/13

1.5 update

moved some classes around for maintainability while I was at it

Update #13 : 12/30/2012 6:37:09 pm12/30/12

fix for hang bug on lines with the same character many (12+) times in a row

Update #12 : 12/21/2012 5:30:59 am12/21/12

update for 1.4.6

Update #11 : 12/10/2012 10:32:33 pm12/10/12

catch a few more servers (this should be easily more than 90 percent of servers out there)

Also will integrate with VoxelChat on servers that have that plugin installed, so even nicknames will work (only on those servers)

Update #10 : 12/08/2012 4:22:58 am12/08/12

more regex fix. nothing sexy, but needed for proper functioning. should about do it for general case.

Future updates will probably add more custom regex lines (added one more for this while at it)

Update #9 : 12/07/2012 12:20:17 am12/07/12

cleaned up regexs some, should work better with factions

added in custom regex lines. /.modloader/mods/chatbubbles/customRegexes.txt contains some examples. Add more there if you want to try your own. Good luck.

Update #8 : 12/02/2012 4:38:08 pm12/02/12

experimental support for Factions.

stuff like
title [rank] name: text
**title [rank] name: text
c*title c[rank] name: text
ctitle c[rank] name: next

now supported. Things like
<faction name> text
is already fine. I've also seen stuff like
<faction name rank> text
this will not work. Name has to be last in the < > block. Will be fixable on a per-server basis when custom regexs are implemented

Update #7 : 12/02/2012 3:07:02 pm12/02/12

aesthetic fix: text wasn't faded when behind a wall or something. Broke it when implementing fade out for old bubbles.

No custom chat lines yet, no one has sent me a clear precise desired custom format yet

Update #6 : 11/29/2012 3:42:18 pm11/29/12

redid image placement so bubble and bubble tail no longer overlap, so they don't look goofy with transparency applied, like when fading out (new feature) or behind something. Previously I just didn't draw the tail when it was behind something. Had to do this for fading out though!

Anyway, texture packs can include their own images, or players can add their own (like the ones from VoxelChat, which do look rather nice - Personal use only of course, I would never distribute those without their permission!)

Would be happy to distribute any custom ones people make, assuming they have the rights to the art, and allow me to

Update #5 : 11/27/2012 4:16:39 am11/27/12

added support for (staff) or (whatever) after playername. Allows for things like
[world] playername (staff): text
or
[world <rank] playername (staff)> text

Update #4 : 11/24/2012 11:34:20 pm11/24/12

angle brackets < > in text was borking parsing. Servers with username inside < > can have people say stuff with < and > in it and still have chat bubble work now. (changed one instance of .* to [^>]* for you regex mens)

Also fix for the issue some people were having with items turning grey in their inventory after saying something.

Update #3 : 11/24/2012 12:11:12 pm11/24/12

fixed visual bug where chatbubbles could cause visible lines between snow blocks (and probably other stuff).

Added some new server compatibility. <rank name> should work now as well as <[rank] name>

Update #2 : 11/23/2012 12:42:02 pm11/23/12

Massive refactoring. Each chatline processed only once (big performance improvement, though what it is improving on wasn't slowing things down any). Also eliminates the occasional duplicate. All the dweebs hosting unauthorized mirrors of this better be updating. This is why I do not approve of people doing that.

No new server compat this version

Update #1 : 11/20/2012 4:16:07 am11/20/12

redid some of the working so I can easily add in more regular expressions. Should now work on a ton more servers (like servers that use EssentialsChat and change the defaults a bit)

As long as there is something recognizable, like a : after the playername, or the playername is surrounded with the same symbol on either side, or (still best yet) < and > bubbles should work

Comments :

Join us to post comments.

1 - 50 of 703

Arseny
Level 1
New Miner
April 13, 2014, 6:49 pm

Please make a version that does not require forge modloader, I dont really like using forge unless its with modpacks like ftb or tekkit. I used to use chat bubbles, zans minimap and optifine at the same time without using forge, I loved it, plz make it

btw, you should set up a donation link, I love your mods and would like to support them/you somehow, thanks :)

Jilael
Level 1
New Miner
April 13, 2014, 4:17 pm

Hi, 

Thanks for a collaboration of awesome mods. I was having difficulty matching Regex for my 1.6.4 server. It is using Herochat and spitting out the following (not including color codes) 

[G] prefix name: message 

Typically the prefix is the permissiongroup public name surrounded in <>, the name is just the name with color, the : is colored different than the name. 

[G] <Mod> Jilael: test 

The herochat uses the following to display: (only oddity is the : after name is a different color) 

default: '{color}[{nick}] &f{prefix} {sender} {suffix}{color}: {msg} 

the nick in this example is the channel nickname, in my case G (note the color before the nick and after the suffix. 

We currently do not use suffixes.

Gaeniel
Level 1
New Miner
April 13, 2014, 11:16 am

Hello, this mod is great, but is there a way to make it work with Custom NPCs ?
It would be great to see NPCs text in bubbles, would make the world more alive (by the way, i'm using 1.6.4).
Thanks if someone can give me a tip to make it work.

brottweiler
Level 1
New Miner
April 12, 2014, 3:33 pm

I think it would be very good to make the chat bubbles not appear if the player who speaks is invisible.
Also, it would probably be good if you were not able to see the chat bubble, if you were not able to see the nametag. So for example, if a player is sneaking behind blocks, you should not see their chat bubble.

This also ofc makes sense with invisibility, because they do not have a nametag.

teen wolf
Level 4
Apprentice Architect
March 31, 2014, 12:33 pm

Heres my question: by the progress thing does it mean that you are 95% done with the mod?

brottweiler
Level 1
New Miner
April 1, 2014, 12:35 am

I am fairly certain he has said that the mod would be 100% complete if it could detect every possible chat formatting on every server in existance, and properly show it. This is practically impossible and is why you are able to do your own custom regex for servers, which to me seems to be broken in the 1.7 update of this mod. >.<

MamiyaOtaru
Level 93
Elite Programmer
April 2, 2014, 9:43 am

very well explained :)  It will never be done as long as servers continue to create new and different chat line formats.  That said, custom regexes aren't meant to be broken, I'll take a look at them

brottweiler
Level 1
New Miner
March 31, 2014, 4:00 am

Ok, I seem to be unable to create custom regex.
Creating the directory chatbubbles, makes the mod able to generate customRegexes.txt. It has 4 examples.
Regardless if I write in it or not, next launch will wipe that file. It's empty.
Even if I write my won custom regex, then make it read-only, Chat bubbles refuses to actually use it, so my custom regex does nothing.

I am trying to make custom regex for this and only this:
[Team] Player: Message
<Player>: Message

[Team] will always say "Team". Only "Team", that's the actual word.
This is what I got, not even sure if it is correct but I think so:
^(?:\[\w+\] (\w{2,16})|<(\w{2,16})>): (.*) 1,2 3

MamiyaOtaru
Level 93
Elite Programmer
April 2, 2014, 10:46 am

ok, in ^(?:\[\w+\] (\w{2,16})|<(\w{2,16})>): (.*) 1,2 3
the spaces after the \[\w+\]  and after the colon are interpreted by the parser as the divisions between your regex and the backreference numbers (and of course (\w{2,16})|<(\w{2,16})>): fails at being a list of numbers and (.*) fails at being a number).  replace the spaces with a regex equivalent like \s* to match any whitespace after [Team] and after the colon

Also if the word is always Team, you can put that in there directly :)

this should work:
^(?:\[Team\]\s(\w{2,16})|<(\w{2,16})>):\s*(.*) 1,2 3
That's basically exactly what you have (I just put Team in there directly instead of \w+, which should also work fine) except I replaced the spaces with \s* you were really really close

Put that in there and it won't get erased anyway.  I should really make it print it back out to the file with a note like "Invalid line" or something after it instead of just wiping out the file haha

TL;DR
no whitespace in the regex, only between the servername, the regex, the name backreferences, and the message backreference

brottweiler
Level 1
New Miner
April 2, 2014, 12:53 pm

Oh! Now it works! Thanks! :D
I guess the whitespace made it erase the file. Thanks!

MamiyaOtaru
Level 93
Elite Programmer
April 2, 2014, 9:44 am

awesome that you are trying to make your own.  I'll double check my code and make sure your stuff doesn't get wiped out.  If you're going to the trouble of making your own regex, I'd better allow it to work!

OK, working here.  With Minecraft closed, I add a line.  Starting minecraft reads the built in lnes, then all the lines from the file (if it exists), removing duplicates.  They are then written back out.  They come out in alphabetical order, double check your line is there, maybe just not where you expected

THAT SAID I can get it to blank out the file if there is an error in the regex.  That's not super robust.. I'll take a closer look at your line

brottweiler
Level 1
New Miner
March 29, 2014, 6:09 am

How do I make custom regex? The filepath in the description is old and outdated, and I cannot find any file called "customRegexes.txt", let alone a folder called chatbubbles/.
With that said, if I need to create it manually, how do I know the formatting for customRegexes.txt?

Edit: Ok, I googled, found out  I had to create the folder myself. I did that, it generated the file, so now I have the file. Everything is good.
However, I do want to ask about something with regex, I need help.

What is the default regex, basically? I want to use it as a base. On a server I play on, there is two kind of chat. Local chat, and global chat.

The local chat looks like 
[Team] Player: message
That works good. But the global chat does not work

Global chat looks like this:
<Player>: message
So it has a : after it, so ChatBubbles thinks that they are saying ": message".

aquapearl736
Level 1
New Miner
March 14, 2014, 1:31 pm

magiclauncher said the mod was online... but it wont work on any of the servers i go on D:

aquapearl736
Level 1
New Miner
March 14, 2014, 1:37 pm

nevermind! they had nametags! i just realized it wont work with those

QWERTY_UIVER
Level 2
Apprentice Architect
March 13, 2014, 6:14 am

Could I get your permission to use this mod in a modpack I am working on?

MamiyaOtaru
Level 93
Elite Programmer
March 13, 2014, 3:04 pm

I have conditions for modpack usage listed on the VoxalMap page.  They apply to this mod too (I should copy paste them here).  If you're fine with those, go ahead

QWERTY_UIVER
Level 2
Apprentice Architect
March 22, 2014, 2:41 pm

I didn't see any of the terms or anything... could you message them to me?

Nioclai
Level 1
New Crafter
March 9, 2014, 6:51 pm

Sick! Now I know who is talking :D

xWoahItsZoeyx64
Level 18
Journeyman Ninja
February 7, 2014, 6:12 am

Awesome. Thanks for updating :D

AlanGreyjoy
Level 7
Apprentice Miner
February 5, 2014, 2:10 pm

where are the old files at?

Most of my mods that I run on my server are still at 1.6.4

MamiyaOtaru
Level 93
Elite Programmer
February 5, 2014, 9:06 pm

(╯°□°)╯︵ ┻━┻

AlanGreyjoy
Level 7
Apprentice Miner
February 6, 2014, 3:40 am

Oh get over yourself.

That was not on the bottom last night.

MamiyaOtaru
Level 93
Elite Programmer
February 10, 2014, 12:18 am

you mean you didn't see it there. But glad you found it regardless

AlanGreyjoy
Level 7
Apprentice Miner
February 12, 2014, 2:46 pm

I am glad I did as well XD

Ender_Extravagant
Level 1
New Miner
February 4, 2014, 5:51 pm

what about .rar

MamiyaOtaru
Level 93
Elite Programmer
February 4, 2014, 8:39 pm

what about it

awesomecat123
Level 4
Apprentice Miner
February 4, 2014, 6:44 am

600th diamond! keep up the good work ;)

jackdavid12345
Level 6
Apprentice Architect
February 2, 2014, 4:56 am

Heres is a quick mod showcase hope u enjoy :D
http://www.youtube.com/watch?v=I2L-7a4EImQ

danieland12
Level 3
Apprentice Artist
February 2, 2014, 12:12 am

cool

McHazSkillz
Level 6
Apprentice Pony
February 1, 2014, 9:44 pm

This isn't his mod its just a copy of the VoxelMod this isn't his idea

I really suggest that moderators review this

MamiyaOtaru
Level 93
Elite Programmer
February 2, 2014, 7:59 am

wow, I wonder if there's a reason they are so similar. I'll give you a hint: I am on the Voxel Modpack team. Some of the voxel code is in this, and in return, the client side regex handling (which lets things work much better on servers withhout VoxelPlugin) and some rendering code from this is in VoxelPlayer. Code from this mod is literally copy pasted into VoxelPlayer.

I use voxel code to work better on servers with voxelplugin, and voxelplayer uses my regex code to work better on servers without it. And the voxel modpack team (which, again, includes me) is fully aware of this.

Just to hammer this point home, look at the names next to VoxelPlayer (the portion of the modpack that does chat bubbles) http://www.voxelwiki.com/minecraft/The_VoxelModPack

It's nice of you to play submission cop and all, but you should really get your ducks in a row first

McHazSkillz
Level 6
Apprentice Pony
February 7, 2014, 9:02 pm

Point taken :)

killjoy1221
Level 39
Artisan Unicorn
February 1, 2014, 10:03 pm

Modders are free to code what they want. This doesn't use any textures, and the only Voxel code it uses is for compatibility. Besides, some people only want bubbles, not improved nameplate visibility and the ability to visibly change your player size.

Parknight959
Level 4
Apprentice Explorer
February 1, 2014, 7:09 pm

Make it a plugin for bukkit so it can actually be useful :D

Parknight959
Level 4
Apprentice Explorer
February 1, 2014, 7:10 pm

Wait my bad it isn't a plugin but it may as well be, the other person just needs to have it too i gotcha

MamiyaOtaru
Level 93
Elite Programmer
February 1, 2014, 7:27 pm

no, only you need to have it. If he doesn't have it, he won't see bubbles, but you will

Parknight959
Level 4
Apprentice Explorer
February 2, 2014, 7:17 am

yeayeayea thats what i meant haha like he wont see chat bubbles but you will i gotchu

blaster451
Level 4
Apprentice Engineer
January 31, 2014, 7:01 pm

Does this work for 1.7 or do we have to wait for update?

MamiyaOtaru
Level 93
Elite Programmer
January 31, 2014, 10:36 pm

needs update. Will do this one next probably

FlyingMonkeyKick
Level 1
New Crafter
January 31, 2014, 4:07 pm

I'd love this for 1.7.4 if you could. I have troubles keeping track of conversations with people when everyone is talking, so a bubble would make it clear.

theRAK
Level 3
Apprentice Skinner
January 25, 2014, 4:10 am

Is this only for server?

MamiyaOtaru
Level 93
Elite Programmer
January 25, 2014, 10:11 am

only for client

Nickjako605
Level 1
New Miner
January 21, 2014, 1:18 pm

When will this update to 1.7.2?

SBB10
Level 1
New Miner
January 19, 2014, 12:38 pm

please update this to 1.7.2

Pocketkid2
Level 10
Journeyman Engineer
January 16, 2014, 10:04 am

1.7.2? forge is out...

trolling_barito127
Level 6
Apprentice Archer
December 13, 2013, 6:27 pm

i <3 dis MOD

Sto3IV
Level 1
New Miner
December 10, 2013, 1:58 am

Can you fix bag in this mod with mine little pony mod? http://youtu.be/D_h067SVbR8

guillard11
Level 13
Journeyman Dragonborn
December 1, 2013, 10:26 am

derp. nevermind. cool mod. :)

guillard11
Level 13
Journeyman Dragonborn
December 1, 2013, 10:23 am

i can't find the download link for the mod itself. where is it?

Bachus99
Level 1
New Explorer
November 22, 2013, 3:52 pm

Does it need forge or is it compatible either way??

gurra_g03
Level 1
New Crafter
March 27, 2014, 8:23 am

forge

TENNISFTW
Level 1
New Miner
November 4, 2013, 3:44 am

Haha that 2nd picture :P You should come back to realmcraft! :)

deadlesszombie
Level 1
New Explorer
November 2, 2013, 1:28 pm

Update It Please for 1.7.2? :D

Turabi
Level 1
New Miner
November 26, 2013, 7:38 pm

In order for most mods to update, the mod authors need to wait for MCP (Mod Coder Pack) and/or Forge to update.

bluebunn55
Level 8
Apprentice Archer
November 5, 2013, 4:17 pm

Yeah Pwease? :C

Chaos1271
Level 1
New Explorer
November 11, 2013, 12:46 pm

i dont evn think that he can update the mod. i cant seem to find forge for 1.7.2. so, without that, mods that use forge cannot be updated for now. too bad :(

iceiceice55
Level 1
New Crafter
January 3, 2014, 6:17 am

Forge is out for 1.7.2 now.

blahblahblah000
Level 1
New Miner
October 23, 2013, 12:06 pm

This mod looks cool!

xXSkinnygamerXx
Level 12
Journeyman Ninja
October 19, 2013, 11:39 am

hi. this doesnt seem to work for me or maybe im just thick but i install it, put the zip file into the mods folder,[size=10pt]load the game up the mod is loaded because it appears in forges list of installed mods[/size]
i then figure ok il type something and itl appear above my head so i pressed f5 twice to show above my head typed some gibberish in chat and nothing appears above my head and there doesnt seem to be any cnfg file to change the settings - am i doing something wrong ive even tried opening my game to lan and inviting someone else into my lan server and nothing shows above my head

MamiyaOtaru
Level 93
Elite Programmer
October 20, 2013, 6:39 am

your own messages never show above your head. it caused glitches with other times you view yourself, like in the inventory screen

xXSkinnygamerXx
Level 12
Journeyman Ninja
October 21, 2013, 5:22 am

ok fair enough but my friend couldnt see my text above my head either hes on my second pc i invited him to my lan game and he couldnt see my text I even typed on my friends account and couldnt see it on my account
it shows up in the mods list but it doesnt seem to work for me
im still on 1.6.2 i use 1.6.2-Forge9.10.0.842 I have my reasons for not updating to 1.6.4 i also have no plans to update just to get a single mod to work when all the other mods i use haven't been updated yet.

MamiyaOtaru
Level 93
Elite Programmer
October 22, 2013, 3:07 am

he wouldn't see them above your head unless he has the mod installed too. You should see what he says above him though

busybusybee72
Level 1
New Crafter
December 6, 2013, 4:54 pm

He said he typed it on his friends account and he couldnt see it from his account

PhoenixDoseMinecraft
Level 1
New Explorer
October 17, 2013, 12:42 pm

this is a awesome mod... it works GREAT with this outher mod (custom npc mods 1.5.2) Thanks bro... this deserves a diamond !!!

robot55_
Level 14
Journeyman Cake
October 17, 2013, 1:32 am

I love chat bubbles!

Fighterbear12
Level 36
Artisan Musician
October 13, 2013, 5:37 am

Woo!

UofU12
Level 1
New Miner
October 11, 2013, 7:28 am

Looks like a great mod but i have magiclauncher so if it is possible to just post the .jar then that'd be great!:)

aquapearl736
Level 1
New Miner
March 11, 2014, 5:09 pm

IKR!

lile
Level 1
New Crafter
October 8, 2013, 3:14 am

XD
A DREAM COME Tru

ChopMinecraftGaming
Level 24
Expert Blockhead
October 8, 2013, 1:29 am

Totaly Magnificent

ChopMinecraftGaming
Level 24
Expert Blockhead
October 8, 2013, 1:28 am

omg! you have two of my favourite mods!

deadweight123
Level 14
Journeyman Taco
October 5, 2013, 8:02 pm

how do u like make the chat bubble appear

robot55_
Level 14
Journeyman Cake
October 17, 2013, 1:37 am

It appears whenever you or someone chats

1 - 50 of 703