Starbound

Starbound

Magic Labels
48 Comments
MithranArkanere 28 May @ 4:52pm 
Does this work with the custon names you can give things with Enhanced Storage?
Nephirus90 23 Jul, 2023 @ 1:56pm 
Hello @v6 !
I made a version of your mod with a couple of fixes and modification to the script (better support for colored names, custom status text, and other minors) and a cumulative patch included to cover all the mods covered by enhanched storage and more (a custom patch with more enh stor coverage).
Can I publish it with your permission and a link to your mod as the clear main source for the script code?
Méroulkas 2 Dec, 2022 @ 7:14am 
I have the same problem, i guess, the name wont change and add character ^w... at the end
Toenail The Lit 1 Oct, 2022 @ 9:50pm 
I changed the name of a box. Then decided I wanted to change it again.
When changing a 2nd time the OG name remains no matter how many times I rename.
I even unsubscribed to the storage mod and reinstalled and still it showed the old name I had chosen.
So I removed this mod and tried again to no avail. It is Retaining the 1st custom name I put.

I can't tell if it's this mod or Enhanced Storage.

**Removed Enhanced Storage and Subscribed to Improved Containers instead. Box in question is Still retaining the Name of the 1st Custom Choice regardless of putting a fresh name with the new Mod. **
** When Box is opened new name shows as intended. ONLY when holding Alt to activate This mod does the 1st custom name remain regardless of what the current box name is.**
Davoker 23 May, 2022 @ 2:44am 
@Nephirus90 0 incompatibilities with known mods that modify containers.

This mod has made naming boxes, chests, etc. really worthwhile, thank you, very useful.
Nephirus90 31 Jan, 2022 @ 8:53am 
Is there a known incompatibility or major issue with the last version of starbound or some of the more popular mods?
marierporter 12 Apr, 2020 @ 4:56am 
I'm not sure if this counts as a bug, but I can't seem to get the labels on mannequins to work. It works on chests, but not mannequins. Any and all help is very much appreciated!
StriderAlpha.com 5 Aug, 2019 @ 9:10pm 
It works with a ton of mods for me including FU, cant play without this now
*Yuki* 20 Jul, 2019 @ 8:11am 
answering myself: mod still works, and with frackin too. BUT, as person above said - wall-mounted storages wont show anything - both with and without custom labels. Iceboxes and normal storages seem to work fine
*Yuki* 20 Jul, 2019 @ 7:37am 
does it still work? Anything about FU compatibility (e.g will FU's custom containers display stuff too?)
StriderAlpha.com 23 Jun, 2019 @ 4:05pm 
Does not work with wall mounted storage sadly!
aubri 14 Feb, 2019 @ 2:09pm 
I no longer have to open each and every container to know what they contain.
Thank you bunches.
Boltte man 2 Feb, 2019 @ 10:25am 
Nevermind - I'm an idiot; it works, had to hold the alt key for the names to pop up....thought it would be similar to terraria where you would just mouse over the container and it would show its name just like that or that it would insistently display the name 24/7 on screen....hah....
Boltte man 2 Feb, 2019 @ 10:20am 
...ok so it *does* work but it only lasts for half a second before the label disappears......and then never re-appears afterwards......so only happens once....on a rename....
LaysDragon 17 Jan, 2019 @ 8:03am 
It seems cannot process chinese character incurrently and cause “Invalid UTF-8 code unit sequence in utf8Length” Exception to client ,the incurrent string will stuck in save file and make it unusable...
Boltte man 16 Jan, 2019 @ 5:08pm 
This doesn't work with Improved containers....named a random container with a random name and the name didn't popup.....could be that this mod loads before the Improved Containers mod and thus won't work because it would see no custom names on containers, in which case I would need to find a way to have it load last in the mod order.....
Tedlil 7 Oct, 2018 @ 3:15pm 
It seems not to work. I added this mod to my game (i am using many mods, but in description you said it should work with other mods). Am i missing something beside just subscribing to this modification?
Serath 3 May, 2018 @ 3:45pm 
@JuggerXP
That happens every time, not just sometimes. And I'm pretty sure it's intentional for informative purposes.
JuggerXP 5 Jan, 2018 @ 12:29pm 
Nice mod! :yennefer:

The only teeny issue is that sometimes when the labelled boxes come into view thier names automatically appear and kinda flicker/fluctuate for a sec. Nothing serious, I'm just noting it cuz maybe someone else has this too :3
A-Vladimir 22 Dec, 2017 @ 5:10pm 
Doesn't work with FU Wall Storage, i rename it but it doesn't show when i hold ALT
SquidCell 3 Oct, 2017 @ 8:09am 
Hi! this doesn't seem to work for me -- am I missing something? I have the improved containers mod, and have verified that your mod shows up in the list of assets. I've hit alt to highlight containers as well. Any ideas? I'm really excited to use this.
Fenrii 14 Aug, 2017 @ 4:58am 
@v6
I found that disabling the container slot counters really helps with name stacking, I personally have them disabled because I have no use to knowing exact ammount of stacks container has... usualy when you name a container you have a general idea of what you store in there. So there is that. As for the font size, thanks for the tip... I will experiment around with it.

EDIT: I've messed around with fontSize and settled with "6" everything is amazing now! :D Thanks again for the tip.
v6  [author] 13 Aug, 2017 @ 11:24pm 
@StarScribe,
You'd have to modify the font size of "nametag" that's in interface.config


Using NPCs in a place with many containers makes the names collide and attempt to rellocate.
Stacking chests and long names caused them to move too far away from their actual container.

The script of this mod is a bit unfinished. At first I thought it would be best to make permanent unique NPCs but the shear amount of NPCs you may end up with could make your game lag.

I have been toying ideas for a long time but nothing I've wanted to release so far.
Most alternatives do not use the ALT key.
Fenrii 13 Aug, 2017 @ 7:44am 
Hey @v6 I need some help :/
I've been tweaking your mod for personal use to make it more suitable for my resolution and visual aesthetics but I don't know how to reduce the text size (if at all possible) any help would be trully appreciated!
Fenrii 13 Aug, 2017 @ 7:42am 
When using "Enhanced Storage" mod to add colored name to containers there is currently a bug that causes the words to cut short with a "..." text in front of it.

You can easily correct this by changing the following line in your code:
[from]
if ml.name and string.len(ml.name) > 20 then
[to]
if ml.name and string.len(ml.name) > 64 then

I don't think this part of the script is even necessary, if players decide their text is too long they can just add "..." at the end themselves when renaming containers.
warmainiac 29 May, 2017 @ 10:25am 
so with garden bot, will it let you know when its full from gardenbots dumping the goods into the boxes?
ZOIYYK 31 Jan, 2017 @ 4:48am 
Thanks anyway @v6
v6  [author] 31 Jan, 2017 @ 2:26am 
Sorry for not replying here but I have read all replies and I have been working on a new version on and off.

@ZOIYYK,
While I messed around with NPC names/labels, not much with NPCs. I'm afraid I cant answer that question.

@Da Wrecka,
All objects need to have a script file attached to them.
ZOIYYK 18 Jan, 2017 @ 1:08am 
Question to the author:
@v6 , do you know if random village NPCs have their own label and if they are assigned a name just once in their life?
Da Wrecka 6 Dec, 2016 @ 8:12am 
I've got a couple of containers with custom names but Magic Labels isn't picking them up. My question; How does Magic Labels detect when to show a label, so I can make sure my containers meet the criteria?
Ecukan 17 Sep, 2016 @ 9:06am 
Tbh i agree with CortexArtz. For me it dosent really matter, i would rather hold a key down to see the names instead of the pop ins... So yeah would be awesome, I would sub to this mod then and add it to my server. But it would be something to mention tho in the discription that is removes the normal pop ins... :steamhappy:
ChriS 13 Sep, 2016 @ 3:56pm 
That would be fcuking awesome! I hate the popup on Npcs anyway.. :D
v6  [author] 13 Sep, 2016 @ 11:24am 
I found the variables controlling the display of nametags. I can remove the "popup" when they come into view but that would also remove the feature from regular NPCs and players.

Do you want me to add this?
Ecukan 30 Aug, 2016 @ 5:19am 
Such a cool and usefull mod! I had to unsub due to the known issue with When coming into view. It really bothers me to see evertime i come into view like 30 chest text flying around:/ If you can fix that issue, im subbing right back to this!!! I got this mod followed as i really hope to download it again :) Nice mod!!! :steamhappy:
Schakarus 28 Aug, 2016 @ 4:38pm 
too bad I had to unsub because this mod marks all labeled containers as npcs ==> they trigger proximity sensors...and I use a lot of those
ChriS 28 Aug, 2016 @ 6:02am 
Labels dont show up on modded containers. I use Enhanced Containers to name my storage, but the containers added bz the mod like the liquid tanks, metal barrels, etc doesent show up the labels. vanilla containers work like a charm. I forgot to check Frackin and Madtulip but probablz wont work. Do u mind looking intoit?
sticker 27 Aug, 2016 @ 6:12pm 
Interesting use of NPC names.
Blackbow™ 27 Aug, 2016 @ 3:39pm 
omg dude you are the boss you finaly made it !!!
thx a lot !
Vayleos 26 Aug, 2016 @ 8:30pm 
This is amaizing! Awesome work as always!
ChriS 25 Aug, 2016 @ 10:22pm 
Oh so you used the npc name system. Fair enough :D Still awesome mod! Thanks for your work man :)
v6  [author] 25 Aug, 2016 @ 6:53pm 
@CortezArtz, Not possible. It's just how names on NPCs work. They show up when coming into view.
ChriS 25 Aug, 2016 @ 6:40pm 
Hooooly Shh.. been waiting for this! Thank you man! :D But I noticed when I move away and the container leaves the screen and then come back the labels appear without me pressing Alt. Its really annoying when I run into my warehouse with 100+ containers. Especially that it stays on for a few seconds. So I have two suggestions. First; labels should just stay on while youre holding the button and then dissapear right after release, like the outline glow of the containers. Second; they should not be visible without holding the button.
Really great mod anyway. I dont have to print signs anymore, so thankyou! :)
v6  [author] 25 Aug, 2016 @ 5:09pm 
@*Yuki*, There's no reason as you just name your chest with color. This mod just displays the name. The color would be overridden by the name anyway.
*Yuki* 25 Aug, 2016 @ 5:07pm 
as I've understood, adding button with text's color selection to chest's window will break compataibility?
v6  [author] 25 Aug, 2016 @ 5:03pm 
@*Yuki*, this is not a container mod like Improved Containers or Enhanced Storage. It is a stand-alone mod that attaches itself after all other mods. It does not conflict with Improved Containers or Enhanced Storage.

The default color display color is green. If there's an issue with this then let me know which color would be better suited.
If you just want to color certain containers, you can just name the container starting with ^color; or ^#hexcode; in either Improved Container or Enhanced Storage and it will display that.
*Yuki* 25 Aug, 2016 @ 4:57pm 
is it possible to make text's color configurable?
*Yuki* 25 Aug, 2016 @ 4:57pm 
cool, but there are lot of other container mods with cool features (changin background color, better sorting)... dammit, I dont know, which one to use now :D
Jason_c_o 25 Aug, 2016 @ 4:47pm 
I just saw this on the forums yesterday and have been waiting for it to appear on the workshop. Thanks!