Jump to content

How to make a clickable discord url?


Recommended Posts

Hi there,

A skript like this should work.

options:
  link_discord: <discordlink>
  
command /discord:
  trigger:
    send "&aVisit our discord here: &b{@link_discord}"

 

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

35 minutes ago, Splxshy said:

It doesnt work. I have to type it manually for myself.

You can do one of the following:

 

Method 1 (Enable link parsing in config.sk, found at /plugins/Skript/)

Once you are in this file, look for the following option:

1128449493_ScreenShot2021-04-23at3_04_11PM.png.11f52548b38d6188b7aeb15fc3c8b1c9.png

As you can see, it's currently disabled. Change this to lenient, save your file, and use /sk reload config in-game.

If it still doesn't work, try restarting your server after this is done.

 

Method 2 (Using the <link:> component to make your text clickable)

Here is an example on how you can make clickable text:

send "Join our discord server: <link:https://discord.gg/minehut>CLICK HERE<reset>"

The text "CLICK HERE" is now clickable. Feel free to change it to "discord.gg/minehut" if you want to make it look classic.

Hope that helps.

  • Like 2

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...