#✅ | Placeholders

1 messages · Page 1 of 1 (latest)

clever onyx
#

I want you to send me placeholders for size and position. I can't seem to click to select the placeholders.

wet emberBOT
#

Checking the placeholder names for size/position real quick 🙂

wet emberBOT
# clever onyx I want you to send me placeholders for size and position. I can't seem to click ...

Yep , for FancyMenu, the usual placeholders are these 👇

Element size

  • {"placeholder":"elementwidth","values":{"id":"your_element_id"}}
  • {"placeholder":"elementheight","values":{"id":"your_element_id"}}

Element position

  • {"placeholder":"elementposx","values":{"id":"your_element_id"}}
  • {"placeholder":"elementposy","values":{"id":"your_element_id"}}

Replace your_element_id with the actual element ID. You can usually get that by right-clicking the element and using Copy Element Identifier.

If you meant the whole screen size instead:

  • {"placeholder":"guiwidth"}
  • {"placeholder":"guiheight"}

About not being able to click/select placeholders: that usually means you’re not in the full editor view. The placeholder picker only shows up there, and if it still won’t let you click, you can just type the placeholder manually , that works fine too 🙂

If you want, I can also give you a ready-to-paste example for a specific element like a button, image, or text field.

clever onyx
#

advanced_width = {"placeholder":"elementwidth","values":{"id":"938990"}}
advanced_height = {"placeholder":"elementheight","values":{"id":"938990"}}
advanced_posx = {"placeholder":"elementposx","values":{"id":"938990"}}
advanced_posy = {"placeholder":"elementposy","values":{"id":"938990"}}

I want you to use these commands to add a border around that element—about 2 pixels on each side.

wet emberBOT
#

Figuring out the cleanest way to turn those size/position values into a 2px border around the element 🎯

#

Got it , FancyMenu doesn’t have a direct border placeholder, so I’m turning that into a simple 2px outline workaround now 🙂

wet emberBOT
# clever onyx advanced_width = {"placeholder":"elementwidth","values":{"id":"938990"}} advan...

Yep , the clean way to do this is to make a separate rectangle element behind the original one.
There’s no direct “border” placeholder, so the trick is:

  • width + 4
  • height + 4
  • posx - 2
  • posy - 2

That gives you about 2px on each side 😄

Use this for the border rectangle element:

advanced_width = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementwidth","values":{"id":"938990"}} + 4","decimal":"false"}}
advanced_height = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementheight","values":{"id":"938990"}} + 4","decimal":"false"}}
advanced_posx = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementposx","values":{"id":"938990"}} - 2","decimal":"false"}}
advanced_posy = {"placeholder":"calc","values":{"expression":"{"placeholder":"elementposy","values":{"id":"938990"}} - 2","decimal":"false"}}

A couple of important bits:

  • put the border element behind the original element
  • both elements should use the same anchor point
  • set the border rectangle to the color you want

If you want, I can also format this as a full ready-to-paste border setup for a specific element type, like a button or image.

clever onyx
#

source = {"placeholder":"local","values":{"key":"selectWorld.version"}} v{"placeholder":"mcversion"}%n%{"placeholder":"local","values":{"key":"selectWorld.version"}} 39.0+beta%n%{"placeholder":"loadername"}: {"placeholder":"loaderver"}

Loaderver has been showing only 0.0.0 for a long time now. Is this a problem with the mod or with the way I set it up?

wet emberBOT
#

Checking whether loaderver is a known placeholder issue or just a setup thing 🤔

#

Quick update: I checked the docs and there doesn’t seem to be a known issue list entry for loaderver yet. Looking at whether this is just an unsupported loader/version readout or a real bug 👀

wet emberBOT
# clever onyx source = {"placeholder":"local","values":{"key":"selectWorld.version"}} v{"place...

Short version: your syntax looks fine, so this does not look like a setup mistake 🙂
{"placeholder":"loaderver"} is the right placeholder.

What matters is this:

  • FancyMenu docs say loaderver returns the mod loader version for Forge/Fabric
  • I didn’t find an existing GitHub issue about loaderver always showing 0.0.0
  • If you’re on NeoForge / Quilt / another loader, that placeholder may simply not be supported there, which could explain the 0.0.0

So my best guess is:

  • Forge/Fabric: likely a mod/environment bug, not your setup
  • Other loader: probably just unsupported

Your other placeholders in the string don’t affect loaderver, so the problem is probably not in that text format.

If you want, send me:

  • your Minecraft version
  • your mod loader and loader version
  • your FancyMenu version

and I’ll tell you whether loaderver should work there 👍

clever onyx
#

fabric = "0.19.2"
minecraft = "26.1.2"
fancymenu = "3.9.0"

wet emberBOT
#

Thanks, I’m checking whether loaderver returning 0.0.0 is already reported anywhere 👍

wet emberBOT
# clever onyx fabric = "0.19.2" minecraft = "26.1.2" fancymenu = "3.9.0"

Thanks, that helps 🙂

I checked the FancyMenu issues and didn’t find an existing report for loaderver staying at 0.0.0.

So, based on what you sent:

  • your placeholder syntax is fine
  • on Fabric, {"placeholder":"loaderver"} should normally work
  • so this looks more like a mod/environment bug or conflict than a setup mistake

A good next test is:

  1. run only FancyMenu + its required dependency
  2. check whether loaderver still shows 0.0.0

If it still does, please send me:

  • your /logs/latest.log right after starting the game
  • the exact Minecraft version again, just to double-check, because 26.1.2 looks unusual to me

Then I can help narrow it down properly 🔍

wet emberBOT
#
Thread Marked as Solved

This support thread has been automatically marked as solved because there were no new messages for at least 24 hours.

The AI helper is now disabled. If you still need help, please create a new support thread.