#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)

mossy edge
#

Read the title?

fading kayakBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

mossy edge
tidal sigil
#

Use the login event, check if the player has a stage. If no, run the command and give the player the stage

errant geyser
#
PlayerEvents.loggedIn(event => {
  if(event.player.stages.has("first_login")) return
  event.player.stages.add("first_login")
  event.server.runCommandSilent("yourcommand")
})
tidal sigil
#

Let people think themself Madge

errant geyser
mossy edge