1. If so, given a server with average expected hardware, how many would cause issues? Does frequency of execution of a timer have an effect?

    I'm not an overly experienced programmer, so I've really got no frame of reference to judge these things. I do need to use them, though - so I've got to be aware of potential dangers.
     
  2. Not really, obviously you should destroy timers and such though, over time it's not good to accumulate a ton, while the performance impact may be minimal if any it's still best to be efficient.

    Code:
    var timer =  timer.Repeat(3f, 0, () =>
    {
        Puts("Hello world!")
    });timer.Destroy();
     

  3. Thanks for the answer!
     
  4. Wulf

    Wulf Community Admin

    Unless you’re setting hem in a variable for a reason, timers are automatically destroyed in C# plugins on unload.
     
    Last edited: Sep 8, 2017
  5. Did you mean destroyed?
     
  6. Wulf

    Wulf Community Admin

    Yes, must have been autocorrected.