Skript

Forum > Suggestions

Open an url, save file and get server IP.

  • 4 posts
    #1 Dec 31, 2013 at 23:10 UTC - 0 likes

    Some examples:

    Open an url in web browser:

    On skript start:
        open "http://dev.bukkit.org/" in web browser
    

    Get server IP and open url in minecraft:

    On skript start:
        set {server_ip} to IP of the server
        open "http://www.example.com/test.php?ip=%{server_ip}%"
    

    Save a file:

    On skript start:
        save "http://www.example.com/file.sk" to "plugins/skript/scripts/"
    
    #2 Jan 01, 2014 at 01:03 UTC - 0 likes

    @Ezerill: Go

    The open web browser thing is not possible, you cant control a player's computer unlesss they click a link in chat

    Some discussion about the save file

    Last edited Jan 01, 2014 by MostFunGuy

    Sorry I'm an asshole sometimes.... It's not personal, I'm an equal opportunity hater, you're no exception

    #3 Jan 02, 2016 at 13:02 UTC - 0 likes

    @MostFunGuy: Go

    Hasn't this been made possible now i've seen it on some servers been done now and there's also something about URL's on Skunity because i wanted to make it so players can click something in a UI which would take them to our webstore?

    #4 Jan 03, 2016 at 04:46 UTC - 0 likes

    @droodzur: Go

    Replying to a 3 year old thread. Nice.

    Woo

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!