From a7cbecf81b12deec5ae59566acb1d7f47a408ee7 Mon Sep 17 00:00:00 2001
From: IThundxr <contact@ithundxr.dev>
Date: Mon, 18 Sep 2023 16:19:45 -0400
Subject: [PATCH] update list

Signed-off-by: IThundxr <contact@ithundxr.dev>
---
 dev_capes.json | 56 ++++++++++++++++++++++++++++----------------------
 dev_capes.txt  |  2 ++
 gen_json.py    |  7 +++++--
 3 files changed, 39 insertions(+), 26 deletions(-)
 mode change 100644 => 100755 gen_json.py

diff --git a/dev_capes.json b/dev_capes.json
index e1a0d0a..82dc1c3 100644
--- a/dev_capes.json
+++ b/dev_capes.json
@@ -1,60 +1,68 @@
 {
     "dev": [
         {
-            "id": "9ac19a38-5013-44d3-9a05-118814639dcd",
-            "name": "Szedann"
+            "id": "e67eb09a-b5af-4822-b756-9065cdc49913",
+            "name": "IThundxr"
         },
         {
-            "id": "adf9cb5f-23dd-4d13-bcea-7d56c9f579a1",
-            "name": "cshcrafter"
+            "id": "8356846e-7582-4301-8111-aedd54cf95d6",
+            "name": "JosephFranci"
         },
         {
-            "id": "53b0c8cd-548e-43ac-9611-42fa7a24a383",
-            "name": "Madame_Bones"
+            "id": "fc6f678b-f31c-4a29-9b4f-bec29cfafd58",
+            "name": "Kayla_the_Bee"
         },
         {
-            "id": "e67eb09a-b5af-4822-b756-9065cdc49913",
-            "name": "IThundxr"
+            "id": "3f5150ea-fade-4233-ad40-719e207154e9",
+            "name": "LemmaEOF"
         },
         {
-            "id": "b317e1b6-7329-484c-a54b-fdb82228c07e",
-            "name": "mattentosh"
+            "id": "53b0c8cd-548e-43ac-9611-42fa7a24a383",
+            "name": "Madame_Bones"
         },
         {
-            "id": "fc6f678b-f31c-4a29-9b4f-bec29cfafd58",
-            "name": "Kayla_the_Bee"
+            "id": "b426dac5-8b87-4068-91c2-d7a97a2e50d1",
+            "name": "NeonCityDrifter"
         },
         {
-            "id": "8dd9ad20-80d5-45b3-a6e4-56af90d891c9",
-            "name": "To0pa"
+            "id": "dcbce3a2-6ee9-4a3b-94f1-dd5d674abe91",
+            "name": "RileyHighline"
         },
         {
             "id": "3648354d-2a8d-45aa-87da-aa38293950e1",
             "name": "Slimeist"
         },
+        {
+            "id": "c5e9fe6f-93aa-4b64-83b7-5a617e359757",
+            "name": "SpottyTheTurtle"
+        },
         {
             "id": "ec83fe0b-c1c7-4b20-8644-5429b9b0222d",
             "name": "StarFluxie"
         },
         {
-            "id": "c5e9fe6f-93aa-4b64-83b7-5a617e359757",
-            "name": "SpottyTheTurtle"
+            "id": "20dfe7f1-4c18-4545-849d-c4d764e118aa",
+            "name": "Stick_King1"
         },
         {
-            "id": "8356846e-7582-4301-8111-aedd54cf95d6",
-            "name": "JosephFranci"
+            "id": "9ac19a38-5013-44d3-9a05-118814639dcd",
+            "name": "Szedann"
         },
         {
-            "id": "dcbce3a2-6ee9-4a3b-94f1-dd5d674abe91",
-            "name": "RileyHighline"
+            "id": "8dd9ad20-80d5-45b3-a6e4-56af90d891c9",
+            "name": "To0pa"
         },
         {
-            "id": "3f5150ea-fade-4233-ad40-719e207154e9",
-            "name": "LemmaEOF"
+            "id": "adf9cb5f-23dd-4d13-bcea-7d56c9f579a1",
+            "name": "cshcrafter"
         },
         {
-            "id": "b426dac5-8b87-4068-91c2-d7a97a2e50d1",
-            "name": "NeonCityDrifter"
+            "id": "d926a62a-0ee9-4edb-a638-bbad14c3da49",
+            "name": "kurocat471"
+        },
+        {
+            "id": "b317e1b6-7329-484c-a54b-fdb82228c07e",
+            "name": "mattentosh"
         }
     ]
 }
\ No newline at end of file
diff --git a/dev_capes.txt b/dev_capes.txt
index dcccf7a..264091c 100644
--- a/dev_capes.txt
+++ b/dev_capes.txt
@@ -12,3 +12,5 @@ Madame_Bones
 NeonCityDrifter
 mattentosh
 LemmaEOF
+kurocat471
+Stick_King1
diff --git a/gen_json.py b/gen_json.py
old mode 100644
new mode 100755
index c695cf7..ed7dfcc
--- a/gen_json.py
+++ b/gen_json.py
@@ -8,12 +8,13 @@
     for line in f:
         names.append(line.strip())
 
-names = list(set(names))
+names = sorted(list(set(names)))
 names = [name for name in names if name != ""]
 
 uuids = {}
 
 for name in names:
+    print("Getting UUID for "+name)
     with urllib.request.urlopen("https://api.ashcon.app/mojang/v2/user/"+name) as f:
         dat = json.load(f)
         uuids[name] = dat["uuid"]
@@ -27,5 +28,7 @@
         } for k, v in uuids.items()
     ]
 }
+
 with open("dev_capes.json", "w") as f:
-    json.dump(full_data, f, indent=4)
\ No newline at end of file
+    json.dump(full_data, f, indent=4)
+    print("Wrote to dev_capes.json")
\ No newline at end of file