#nex colors displayname

1 messages · Page 1 of 1 (latest)

idle yew
#

the problem is that the colors are like </&#084CFB>
only such <&#084CFB>, and colors </&#084CFB> are not displayed in displayname as I would like, without them I can't do without them, please help me.

open_command: castomname
register_command: true
update_interval: 1
size: 54
items:
  'customname_1':
    material: red_dye
    slot: 10
    display_name: '<#084CFB>%player_name%</#ADF3FD>'
    update: true
    lore:
    - ""
    left_click_requirement:
      requirements:
        tituls:
          type: has permission
          permission: customname.standatr.1
          deny_commands:
          - "[message] &4У вас нет доступа к данному титулу"
    left_click_commands:
      - '[console] tab player %player_name% customtabname <#084CFB>%player_name%</#ADF3FD>'
      - '[close]'```
hexed hemlock
#

Why don’t you include…

  • Expected outcome
  • Actual outcome
    Nobody know what you “can’t do without them” if you don’t tell us what you’re wanting to do.
    Also get rid of the “/“ - it’s not needed.
idle yew
#

I need to achieve this result <#084CFB>%player_name%</#ADF3FD>, this is how it should look like shown on the screen.

#

@hexed hemlock

#

But in displayname, <#084CFB>%player_name%</#ADF3FD> doesn't work.

hexed hemlock
#

Does your plugin support gradients?

idle yew
#

yes this is the deluxemenu plugin, it does not support <#084CFB> such gradients, only such &#084CFB

#

@hexed hemlock

hexed hemlock
#

DeluxeMenus may support hex colours, but if you run a command, that plugin needs to support it.

#

Your command has a completely incorrect format.

idle yew
#

what is the run command? I just can't figure out how I can make this colour <#084CFB>%player_name%</#ADF3FD>

hexed hemlock
#

If you run /tab player %player_name% customtabname <#084CFB>%player_name%</#ADF3FD> as a player, does it work as intended?

idle yew
#

Yeah, that works great.

hexed hemlock
#

Then I would imagine that DeluxeMenus would be parsing the colour codes before executing the command.

idle yew
#

see I would like to have this display_name: <#084CFB>%player_name%</#ADF3FD>, but it doesn't support these colours, and I can't do without them

hexed hemlock
#

Right, so the command is working, but the display name is not.

#

Well that's a simple one - DeluxeMenus doesn't support MiniMessage.

#

You can use a site like https://www.birdflop.com/resources/rgb/ to achieve a gradient colour.

idle yew
#

so I can't solve the problem?

hexed hemlock
#

<#084CFB>%player_name%</#ADF3FD> is not a valid format for DeluxeMenus - you cannot use this.

#

So likely not

idle yew
#

&#084CFB%&#165AFBp&#2468FBl&#3176FCa&#3F84FCy&#4D92FCe&#5BA0FCr&#68ADFC_&#76BBFCn&#84C9FDa&#92D7FDm&#9FE5FDe&#ADF3FD%
will the placeholder work?

hexed hemlock
#

No

idle yew
#

then how?

hexed hemlock
#

Well you can't use a placeholder.

#

I'd suggest using standard text rather than the player's name - maybe Your Name Colour

idle yew
#

I've been thinking about it, it won't be great, but if there's no way out then I'll use it, thanks

#

Have a good day.