#Creating a variable in deluxemanus config

1 messages · Page 1 of 1 (latest)

long egret
#

Is it possible to create a "variable" in the menu config.
Is it possible to create a variable that will be responsible for the id of this block, the point is that I can change it only in one place and not throughout the file, it is important that the config of the block was only for this one item such as stone because the blocks in one menu is about 10
For example,
There is a variable "x" its content is for example "minecraft:stone"
And this variable can be used for example this place:
items:
'stone':
material: stone # <- here
slot: 11
display_name: '&b&lStone'
lore:
...
how can i make one and where do i put it in the config
Im sory for the missunderstendings but Im writing it from the translator :/.

long egret
#

Can somone help me?

#

If u dont understand something i can explain it one more timr

formal sage
#

utils expansion provides a shortcut placeholder

#

%utils_shortcut_<name>:arg0:arg1:...%

long egret
#

and it will be %utils_shortcut_idstone:stone:%

#

?

#

@formal sage

#

im so dumb and i just dont understund it ...

#

im sory

formal sage
#

It’s not documented at all, so shortcut would be confusing

#

What exactly are you wanting to do?

formal sage
#

The only use case I can see of using a “variable” or a “shortcut” would be being able to change the variable in 1 place and it changes it in tons of places

long egret
#

Yes its what i need it for

formal sage
#

ok, you need to add the shortcut you want to your placeholderapi config