How to save data for example: I wanna put a prefix in nameTag for other player, and on rejoin/reconnect or reload to get it back from .yml file!
If you save all name tags on one file, it may become very slow. What about creating one txt file for each player and save the prefix into the file directly without any formatting like YAML?
hmm... One file for each? How? I used this before $this->tag = new Config() What is @mkdir and do i need to use it?
mkdir makes a directory (in your case the plugin directory). You need it because you can't create a file in a directory which doesn't exists