yepimnoob

Make a skript for mc that will have /discord when a person does it, an menu will open saying YOURSERVER on the top left and you can edit this with color code in the skript file, and it will have an discord block type thingy on the middle of the entire thing, when the person hovers over it they will see message saying like Join our server to see announcement and giveaway or some -you can change this in skript and color- and when the person clicks it they will get link to the discord server, Make sure it has color and the message look really good.

Kodari AI
KodariJan 28 at 7:13 pm 2,277 (v2)

I’ll create a Discord invitation GUI Skript with customizable colors and messages.

DiscordInviteGUI
A user-friendly Discord invitation system featuring a fully customizable GUI interface. When players execute the /discord command, they see an attractive menu with a Discord-themed item in the center. The GUI title, hover messages, and Discord link are all configurable with Minecraft color codes. Players can click the Discord item to receive the server's invite link, making community building seamless and visually appealing.

🎮 Discord GUI Skript Created!

Installation Instructions:

  1. Place discord-gui.sk in plugins/Skript/scripts/

  2. Run /sk reload discord-gui or restart server

Customization Guide:

GUI Title (Top Left):

Plain Text
gui-title: &b&lYOURSERVER

Change “YOURSERVER” to your server name. Color codes available:

  • &b = aqua, &9 = blue, &c = red, &e = yellow, &6 = gold

  • &l = bold, &n = underline, &o = italic

Discord Link:

Plain Text
discord-link: https://discord.gg/yourserver

Replace with your actual Discord invite link

Hover Messages (Lines 1-7): Edit the hover-line options to change what players see when hovering over the Discord item

Link Messages: Customize what appears in chat when players click the Discord item

Features: ✓ Beautiful bordered GUI with Discord block in center ✓ Fully color-coded and formatted ✓ Click to receive Discord link in chat with fancy formatting ✓ Sound effect on click ✓ Command aliases: /discord or /disc ✓ All text customizable with Minecraft color codes

The GUI uses a 3-row chest with black glass pane borders and a light blue concrete block in the center (slot 13) representing Discord!

yepimnoob
1 image attached
Kodari can make mistakes. Review important code before using.
Files
discord-gui.sk
Code
1 57
discord-gui.sk
options:
    gui-title: &b&lYOURSERVER
    
    discord-link: https://discord.gg/yourserver
    
    hover-line-1: &b&lJoin Our Discord!
    hover-line-2: &7
    hover-line-3: &f• Get announcements
    hover-line-4: &f• Join giveaways
    hover-line-5: &f• Chat with the community
    hover-line-6: &7
    hover-line-7: &e&lClick to get the link!
    
    prefix: &b&l[Discord]&r
    link-message: &b&lDiscord Server:&r &f%{@discord-link}%
    link-message-2: &7Click the link above to join our community!

on script load:
    send "&b[DiscordGUI] &aScript loaded successfully!" to console

command /discord:
    aliases: /disc
    trigger:
        open chest with 3 rows named "{@gui-title}" to player
        
        set {_discord} to light blue concrete named "{@hover-line-1}"
        set line 1 of lore of {_discord} to "{@hover-line-2}"
        set line 2 of lore of {_discord} to "{@hover-line-3}"
        set line 3 of lore of {_discord} to "{@hover-line-4}"
        set line 4 of lore of {_discord} to "{@hover-line-5}"
        set line 5 of lore of {_discord} to "{@hover-line-6}"
        set line 6 of lore of {_discord} to "{@hover-line-7}"
        
        set {_border} to black stained glass pane named "&r"
        
        loop 27 times:
            set slot (loop-number - 1) of player's current inventory to {_border}
        
        set slot 13 of player's current inventory to {_discord}

on inventory click:
    if inventory name of player's current inventory is "{@gui-title}":
        cancel event
        
        if clicked slot is 13:
            if clicked item is light blue concrete:
                close player's inventory
                send "" to player
                send "&b▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬" to player
                send "" to player
                send "     {@link-message}" to player
                send "     {@link-message-2}" to player
                send "" to player
                send "&b▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬" to player
                send "" to player
                
                play sound "entity.experience_orb.pickup" with volume 1 and pitch 1.5 to player