#hey is there a way to run a command when loging on to a server for the first time?
9 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Use the login event, check if the player has a stage. If no, run the command and give the player the stage
PlayerEvents.loggedIn(event => {
if(event.player.stages.has("first_login")) return
event.player.stages.add("first_login")
event.server.runCommandSilent("yourcommand")
})
Let people think themself 

thanks
I fr was not gonna beable to do that bro...