I was wondering how I could make it that players trigger a command when they disconnect from the server. As example, I got an ffa plugin installed and when they just leave the server without really leaving the ffa map, they are stuck in it and can not do anything so I thought I would let them do the leave command when they disconnect from it
@DaHamy Can't do that when they leave, you can do that when they join though. Or get the ffa plugin fixed
@timtower Wouldn't you be able to make a plugin with the 'PlayerQuitEvent' event and then execute the commands? That should be executed before the player leaves the server, right?