Sueta

✔EasySpawn✔ 〈LightWeight〉

2018-02-24

setspawn, spawn, lightweight, easy, spawn,

·Plugin

Welcome to EasySpawn: This plugin is very nice if you want to put a spawn! It is completely configurable.

Commands:

  • /Easyspawn setspawn - To set the spawn
  • /Easyspawn help - To get the help menu
  • /Eastspawn remove - To remove the spawn

Permissions:

  • admin.SP

Requirements:
Skript and skQuery and skRayFall

#---------------------------------------#
#             EasySpawn                    #
#                                        #  
#                                        #
#            Version: 1.1                #
#                                        #
#---------------------------------------#



options:
   
    #-= [Prefix] =-#
    PrefixSP: &7[&9&oEasySpawn&7]

    #-= [Settings] =-#
    JoinSpawn: true


#---------------------------------------------------------------------------#
#DO NOT TOUCHE THE CODE!                                                    #
#---------------------------------------------------------------------------#


on join:
    if {JoinSpawn} is "true":
        teleport player to {Easyspawn}
    if {Easyspawn} is not set:
        send player title "&c&oWARNING" with subtitle "&c&oTHERE IS NO SPAWN SET"



command /Easyspawn [<text>]:
    trigger:
        if arg-1 is "help":
            if player has permission "admin.SP":
                send "&9&lEasyspawn"
                send " "
                send "&9&lVersion"
                send "&7&l1.1"
                send " "
                send "&9&lCommands"
                send "&9&l/Easyspawn set &7&oSet to your location the spawn"
                send "&9&l/EasySpawn remove &7&oDelete the spawn"
                send " "
        else if arg-1 is "setspawn":
            if player has permission "admin.SP":
                set {Easyspawn} to location of player
                send "{@PrefixSP} &a&oThe spawn has been set &7&o%spawn%"
        else if arg-1 is "remove":
            if player has permission "admin.SP":
                if {Easyspawn} is set:
                    delete {Easyspawn}
                    send "{@PrefixSP} &c&oThe spawn has been removed &7&o%spawn%"
                else:
                    send "{@PrefixSP} &c&l&oThere are no spawns set to delete"



command /spawn:
    trigger:
        teleport player to {Easyspawn}

Download goal:

10 downloads
20 downloads
30 downloads
40 downloads
50 downloads


Similar projects

Plugin →