Hello, I'm trying to make auth with clientId, when player joins, plugin will save his clientId. It saves, but in clientid.txt is another clientid. Do you know why?
You don't "implement" a function like this. You "use" a function. Can you provide more information? What is the exact type and value the plugin tries to save, and what is the exact value found in clientid.txt? Try using var_dump() or even json_encode() to give readable values. The later is recommended if you are sure that the value is a string, since it can show some non-ASCII characters too.