Jump to content

Skyblock Skript


Smiley_Guy_

Recommended Posts

Make sure to make a world with multiverse named Skyblock

Best way to make one is with voidGenerator plugin 😄

Quote

command /is [<text>]:
    aliases: /island
    trigger:
        if arg-1 isn't set:
            if {island.owned::%player's uuid%} isn't set:
                console command "/mv clone Skyblock sb%player%"
                send "&6Creating Your Island!" to player
                console command "/mv load sb%player%"
                wait 2 seconds
                console command "/mvtp %player% sb%player%"
                set {island.owned::%player's uuid%} to true
            else:
                console command "/mvtp %player% sb%player%"
        else:
            if arg-1 is "delete", "d", "de", "del", "dele", "delet" or "delete":
                if {island.owned::%player's uuid%} is true:
                    send "&6Deleting Your Island!" to player
                    console command "/mvdelete sb%player%"
                    console command "/mvconfirm"
                    clear {island.owned::%player's uuid%}
                else:
                    send "&6You don't own an island!" to player
            else:
                if arg-1 is "create", "c", "cr", "cre", "crea", "creat" or "create":
                    if {island.owned::%player's uuid%} isn't set:
                        console command "/mv clone Skyblock sb%player%"
                        send "&6Creating Your Island!" to player
                        console command "/mv load sb%player%"
                        wait 2 seconds
                        console command "/mvtp %player% sb%player%"
                        set {island.owned::%player's uuid%} to true
                    else:
                        send "&6You already have an island!" to player
                else:
                    if arg-1 is "help", "h", "he" or "hel":
                        open virtual chest with 1 row named "&6Help" to player
                        format gui slot 0,1,2,3,4,5,6,7,8,9 of player with red stained glass pane to run:
                            cancel event
                        format gui slot 0 of player with book named "&6/is create" with lore "&cCreates a new island!" and "&eClick to execute this command!" to run:
                            make player execute "/is create"
                            cancel event
                        format gui slot 1 of player with book named "&6/is delete" with lore "&cDeletes your current island!" and "&eClick to execute this command!" to run:
                            make player execute "/is delete"
                            cancel event

 

Link to comment
Share on other sites

  • 3 weeks later...

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...