Jump to content

free advanced customizable warps skript gui with setspawn command


Narratrr

Recommended Posts

command /setspawn:
    permission: skript.spawn.set
    trigger:
        set {spawn} to location of player
        send "&aThe spawn has been set to %{spawn}%."

 

 

command /warps:
    aliases: spawn
    permission: skript.warps.gui
    trigger:
        set metadata tag "warpgui" of player to chest inventory with 6 rows named "&l&aWARPS"
        set slot 20 of metadata tag "warpgui" of player to a beacon named "&b&lSPAWN"
        set slot 21 and 22 and 23 and 24 and 29 and 30 and 31 and 32 and 33 of metadata tag "warpgui" of player to iron bars named "&f&ocoming soon"
        set slots 0 and 2 and 1 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 44 and 45 and 46 and 47 and 48 and 49 and 50 and 51 and 52 and 53 of metadata tag "warpgui" of player to gray glass pane named "&1"
        open (metadata tag "warpgui" of player) to player
        
        
on inventory click:
    if event-inventory = (metadata tag "warpgui" of player):
        cancel event
        if index of event-slot is 20:
            apply potion of blindness to player for 50 ticks
            wait 25 ticks
            send title "&b&lSPAWN" to player for 2 seconds
            teleport player to {spawn}
            play sound "entity.experience_orb.pickup" with volume 1 and pitch 1 at player for player

IGN: LastMC

Discord: LastXD#7171

Rank: PRO

Join date: Monday - December - 23rd - 2019

Link to comment
Share on other sites

Looks cool! How about letting people create warps via an external command or within the gui and then display all the current warps a player with the right permissions can access in the gui. Obviously make it so they can delete warps to compliment the creation of them.

Discord: Dead#6905

Love anime!


Anime Gifs

Link to comment
Share on other sites

  • 5 weeks later...
On 3/3/2023 at 9:54 AM, ApexSplat said:

Looks cool! How about letting people create warps via an external command or within the gui and then display all the current warps a player with the right permissions can access in the gui. Obviously make it so they can delete warps to compliment the creation of them.

i didnt create it for people who dont know how to skript. id make a plugin for something like that

IGN: LastMC

Discord: LastXD#7171

Rank: PRO

Join date: Monday - December - 23rd - 2019

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