10.02.2015, 17:05
In your command, /changename, you need to SELECT a name from your database and specify a callback in which if cache_num_rows > 1 NAME IS REGISTERED, else the name is not registered and then you can UPDATE his name in database