#Link markdown

1 messages · Page 1 of 1 (latest)

sour charm
#

trying to use the link shortener markdown in a mini message, the link is shortened but can't click it. Is there something I'm missing that's preventing me from doing so?

<underlined><click:OPEN_URL:mylinkhere>Link 1</click></underlined>

restive rain
#

try [URL] https://url-here.com

sour charm
#

unless I did it wrong, it didnt work

restive rain
restive rain
sour charm
#

for voting I am trying to click an item in a menu, then outputs Link 1, 2, 3, 4, etc in a list where you can click the "Link 1" and brings you to first vote site

restive rain
#

why not just make the item send the link in chat?

#

[message] <https://link1>

sour charm
#

because I wanna make them send all at once and links are all different sizes and its not neat

restive rain
#

or you can add multiple actions

#
[message] <https://link2>
[message] <https://link3>
[message] <https://link4>
[message] <https://link5>```
#

use [minimessage] <https://link5> for minimessage format

sour charm
#

well yea I understand how to do it like that, but its still super disorganized and not clean. Even if you were to use the line break to shove the url to another line.

sour charm
#

yea, as I said in my initial post it gets shortened. Once you put an actual link instead of "mylinkhere" you can't click it

restive rain
#

wait i dont understand can you provide screenshots

winter folio
#

where did you see that?

restive rain
#

wait let me check my history

winter folio
sour charm
#

- '[minimessage] <underlined><click:OPEN_URL:https://example.com>Link 1</click></underlined>'

restive rain
winter folio
#

try putting the link within ""

sour charm
#

same thing, shortened but cant click it

restive rain
#

r u using any custom client

winter folio
#

which DeluxeMenus version are you on?

restive rain
#

i feel like the web links setting in minecraft might be disabled

sour charm
winter folio
#

I'll try when I get on my pc

sour charm
restive rain
#

wait try this
send a link into chat and try to click it

#

oh wait

#

nono

#

.

#

/tellraw @p {"text":"link 1","clickEvent":{"action":"open_url","value":"https://link1"},"hoverEvent":{"action":"show_text","contents":["Click to open the link"]}}

#

type this command and check if it works

sour charm
restive rain
#

if we somehow use this tellraw command as a console command and add it into actions, it might work out

#

but the thing is, it should work with minimessage format

sour charm
#

does the tellraw text formatting not work through console?

restive rain
#

it should

#

try this
/tellraw @p {"text":"link 1","bold":true,"italic":true,"clickEvent":{"action":"open_url","value":"https://link1"},"hoverEvent":{"action":"show_text","contents":["Click to open the link"]}}

winter folio
#

worked fine for me

sour charm
# winter folio worked fine for me

yea, just doesn't for me. I even tried a whole other menu and adding just 1 minimessage and it just pastes it in chat properly but can't click it still.

#

this does work however, I can see the format and click the link in chat

#

but kinda inconvenient lol

#

as I have 0 idea on how to edit the format to what I want

restive rain
winter folio
restive rain
#

.

#

yey

sour charm
winter folio
#

wdym?

sour charm
#

well I got what I needed from the site, can click both links, but weird symbol pops up?

#

tellraw %player_name% ["",{"text":"Link 1","underlined":true,"clickEvent":{"action":"open_url","value":"https://example.net"}},{"text":" \u0020 \u0020 \u200b"},{"text":"Link2","underlined":true,"clickEvent":{"action":"open_url","value":"https://example2.net"}}]

winter folio
#

probably the \u0020 characters?

#

no idea why they are here but try removing them

sour charm
#

yea it was but I had wanted them for spacing between the 2 links but I replaced the \u200b with a \u0020 and works fine now lol

winter folio
#

okay, spaces should have worked though

sour charm
#

is there anyway I can create space at the beginning without messing up the command part? Like center the text it outputs?

- '[console] tellraw %player_name% ["",{"text":"Link 1","underlined":true,"clickEvent":{"action":"open_url","value":"https://example.net"}},{"text":" \u0020 \u0020 \u0020"},{"text":"Link2","underlined":true,"clickEvent":{"action":"open_url","value":"https://example2.net"}}]'

winter folio
#

add spaces in front of Link 1

#

can't you do it in the editor?

sour charm
#

uhm well, you see, I didn't think of that LOL

#

just woke up so my apologies

winter folio
#

it's fine 😅

#

though I do find it weird that the editor writes \u0020 (the unicode for the space character) instead of actual spaces

#

replacing them by actual spaces should be fine tho

sour charm
#

idk, same, but it works, im happy, so not touching it lol

winter folio
#

fair enough

sour charm
#

but yea idk the spaces before link 1 isnt doing anything?

winter folio
#

then I guess try with \u0020

#

I don't see why it wouldn't work without regular spaces but eh

#

this game is cursed

sour charm
#

ok finally got it all to work, unfortunate for the minimessage way. Thank you all for all the support I appreciate it