Scheduled function query

Discussion in 'Plugin Development' started by Mattigins, Dec 26, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Mattigins

    I made a very simple plugin for my server that simply checks if the player is in creative mode upon logging in, and if they are then it puts them in survival and kicks them.

    Unfortunately this has not succeeded in stopping all of the creative hackers that manage to find their way onto my server.

    So my question is; If i was to run the check game mode function for every player on the server every few ticks. Would this effect my server performance at all in terms of cpu and memory usage?
     
  2. Offline

    mrkirby153

    Mattigins

    It depends on what you are running. I would suggest maybe running the loop every 1-1.5 seconds or so.
     
Thread Status:
Not open for further replies.

Share This Page