23.03.2016, 19:17
Calling a query for every player every second will obviously cause problems. Instead of fetching that type of data from a database, you can directly act on such changes through the Socket plugin(here). The thread contains usage/documentation.