title: Create playerdata for a fake player in a Minecraft plugin
body: <p>I'm struggling with creating new playerdata (the server's one in /world/playerdata/[uuid].dat). I write a plugin which should make fake players to be banks (but in fact regular fake players) and hold money (I use <a href="https://www.spigotmc.org/resources/vault.34315/" rel="nofollow noreferrer">Vault API</a>).</p>
  <p>I use Paper 1.17.1 as my dependency.</p>
  <p>I thought that this one would do its job:</p>
  <pre><code>  PlayerProfile profile = Bukkit.createProfile(UUID.randomUUID(), bankName);
  </code></pre>
  <p>However no playerdata is created and if I try to check if this player exists in game, it says that it can't find it. I also use <a href="https://www.spigotmc.org/resources/cmi-298-commands-insane-kits-portals-essentials-economy-mysql-sqlite-much-more.3742/" rel="nofollow noreferrer">CMI</a> plugin and I would like the solution that is compatible with this (I mean that this new player will be instantly recognized by it - that it exists).</p>
  <p>Is there any method to create a [uuid].dat file? Or should I write my custom method, and if so, how should  I start with that?</p>
  <p>I would be grateful for any hints on that, since I've been looking for a solution for a quite lot of time and that's one of the last things I need in my plugin to be usable. Thank you for your help.</p>
  <p>EDIT:
  I don't mean to spawn them, just to use them as Vault API balance, since most economy plugins doesn't support Vault Banks feature.</p>