Jump to content

skript spawn is better than plugins


gabinun

Recommended Posts

i dont get why people get spawn plugins when they can just do this

command /setspawn:
    permission: "op"
    trigger:
        set {spawn} to position of player
command /spawn:
    trigger:
        teleport player to {spawn}
on join:
  teleport player to {spawn}
on respawn:
  teleport player to {spawn}
and if you want to /spawn player you well just do 

 

command /setspawn:
    permission: "op"
    trigger:
        set {spawn} to position of player
command /spawn:
    trigger:
        teleport player to {spawn}
command /spawn2 <player>:
    trigger:
        teleport arg-1 to {spawn}
on join:
  teleport player to {spawn}
on respawn:
  teleport player to {spawn}

 

its that easy and alot of ppl dont do it

Link to comment
Share on other sites

On 9/6/2024 at 5:30 AM, gabinun said:

i dont get why people get spawn plugins when they can just do this

command /setspawn:
    permission: "op"
    trigger:
        set {spawn} to position of player
command /spawn:
    trigger:
        teleport player to {spawn}
on join:
  teleport player to {spawn}
on respawn:
  teleport player to {spawn}
and if you want to /spawn player you well just do 

 

command /setspawn:
    permission: "op"
    trigger:
        set {spawn} to position of player
command /spawn:
    trigger:
        teleport player to {spawn}
command /spawn2 <player>:
    trigger:
        teleport arg-1 to {spawn}
on join:
  teleport player to {spawn}
on respawn:
  teleport player to {spawn}

 

its that easy and alot of ppl dont do it

looks good, though for the on respawn event i would use the "respawn location" expression rather then teleporting the player, since it could cause issues

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

nope it dosent have any probloms it works perfectly and you can even remove the /setspawn part if you already id it since {spawn} is set even after removing that line also i tried using "respawn location" there wasnt errors but it didnt work

Edited by gabinun
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...