05.12.2018, 10:39
Mysql plugin provides a log system for errors and warnings. The problem is that that Password and Gender (assuming ID is set as auto increment) do not have a default value so it throws an error.
Please take a look at existing register/login systems to get an idea. Executing an INSERT query every time a player connects will give you duplicates which is wrong. You need to check if player is not registered first.
Please take a look at existing register/login systems to get an idea. Executing an INSERT query every time a player connects will give you duplicates which is wrong. You need to check if player is not registered first.