#Input
1 messages · Page 1 of 1 (latest)
@rotund oak I downloaded commandprompter and tried, still doesn't work
open_command:
- pickaxename
- pn
size: 45
items:
'space-1':
material: BLACK_STAINED_GLASS_PANE
priority: 1000
display_name: '&f'
slots:
- 0-44
'name':
material: NAME_TAG
priority: 10
slot: 21
display_name: '&d&lPICKAXE RENAME'
lore:
- '&fClick here to set a new pickaxe name!'
click_commands:
- '[close]'
- '[console] variable set %player_name% pickaxe_name <&fWrite the name you want for your pickaxe!>'
'update':
material: DIAMOND_PICKAXE
priority: 10
slot: 23
display_name: '&c&lCONFIRM RENAME'
lore:
- '&fClick here to confirm pickaxe rename!'
click_commands:
- '[close]'
- '[console] edp updatepickaxe %player%'```
I tried with 'player' command. It works, but doesn't register color
what do you mean by "player command" ?
[player]
so it works or it doesn't work?
it works as intended. However, one problem I'm facing, is the color codes
how do i enable color codes on command prompter
what's your DeluxeMenus version?
1.14.0
yes
ah
what's the result exactly? is it the text without the color codes, or the text including the color codes, just no color?
so, when i input, it shows in green. But when i update pickaxe, it shows in aqua
and I'm trying color code yellow and green
wat
it works when i do it through command. But through menu, it doesn't work
can you send screenshots?
seems like CommandPrompter removes all colors from the input
oh
and there doesn't seem to be a config option to disable that
well, Ig I have to make new variables 😭
you could try to open a github issue to ask for a config option to disable that
but I don't think there's any other solutions rn
ok thank you so much for all the help 😄
You can disable input sanitation for a prompt using the -ds prompt argument.
Example:
nick <-a Player> <-a -ds Enter nickname>
The example above would only remove the input sanitation for the second prompt, not the first prompt.
that shouldn't be an issue