Пример #1
0
 public File getUserFileFromString(final String name) {
   final File userFolder = new File(ess.getDataFolder(), "userdata");
   return new File(userFolder, StringUtil.sanitizeFileName(name) + ".yml");
 }
Пример #2
0
 private File getUserFileFromID(final UUID uuid) {
   final File userFolder = new File(ess.getDataFolder(), "userdata");
   return new File(userFolder, uuid.toString() + ".yml");
 }