1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Click on url

Discussion in 'Skript' started by couger44, Mar 22, 2019.

Thread Status:
Not open for further replies.
  1. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    How can i do to, when a player click in a url, automatically open a page?

     
  2. Best Answer:
    Post #6 by Ouma Shu, Mar 23, 2019
  3. Ouma Shu

    Ouma Shu Member

    Joined:
    Dec 25, 2017
    Messages:
    45
    Likes Received:
    2
    You can't. Accepting the rendering to a page is like accepting the download of a resourcepack, you can somehow make that the player will be kicked (I'm not sure of this).
     
  4. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    But, in my server, when i click a url, does not sent me a page with the options "Open page", "Copy" and "close"
    How can i solve that?
     
  5. Ouma Shu

    Ouma Shu Member

    Joined:
    Dec 25, 2017
    Messages:
    45
    Likes Received:
    2
    Send me a screenshot, probably you don't formatted the url in the right way.
     
  6. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Code (Skript):
    1.  
    2. #GUI code before...
    3.  
    4. on inventory click:
    5.     inventory name of player's current inventory is "&eTienda de WorldCraft":
    6.         event-slot = air:
    7.             close inventory of player
    8.             wait 3 ticks
    9.             execute player command "tienda"
    10.         clicked slot is 10:
    11.             close inventory of player
    12.             wait 3 ticks
    13.             send "&a[VIP]: &2&nhttp://tienda-worldcraft.buycraft.net/buy/2rO5p"
    14.  
    That is a part of code and...
    upload_2019-3-23_13-46-10.png

    2
    upload_2019-3-23_13-47-0.png
    When I click, it does not show me this:
    upload_2019-3-23_13-48-3.png
     

    Attached Files:

    #5 couger44, Mar 23, 2019
    Last edited: Mar 23, 2019
  7. Ouma Shu

    Ouma Shu Member

    Joined:
    Dec 25, 2017
    Messages:
    45
    Likes Received:
    2
    Search in config of Skript this line:
    parse links in chat messages: disabled

    And change "disabled" to "strict". (to make your search easier just press CTRL+F and type "link")

    Ah, and don't forget to do "/skript reload config"! :emoji_blush:
     
    #6 Ouma Shu, Mar 23, 2019
    Last edited: Mar 23, 2019
  8. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Thanks :emoji_slight_smile:
    That's work
     
Thread Status:
Not open for further replies.

Share This Page

Loading...