Hello. I make a plugin for ban, which saves everything in the database. I have question for you: How to check if a person is banned (when entering) - search in the database or variables? If variables, when must be the update of them from the database? That it would be maximally optimal?
@KAM202 You need to do a select query and check if the user exists in the database, if so then he is probably banned. You can also load everything in memory and update every ... time but then you might be better of using a config instead.