1. Hi, whether it is possible to catch how many the player is in game from the moment of connection? In seconds and as on a code to make, the plug-in is written on lua
     
  2. Wulf

    Wulf Community Admin

    Yes, just start a timer when they connect using OnPlayerConnected and stop it when they disconnect with OnPlayerDisconnected. You can store it to a datafile to keep track of it. There are plugins that already do this as well, such as ConnectionDB.