diff --git a/MCenters 5.0.exe b/MCenters 5.0.exe
index f028f7c..8d49951 100644
Binary files a/MCenters 5.0.exe and b/MCenters 5.0.exe differ
diff --git a/index.html b/index.html
index 08bdb68..15dbef3 100644
--- a/index.html
+++ b/index.html
@@ -1,53 +1,31 @@
-
-
- Minecraft PE
-
-
-
-
-
- Minecraft - 1.20
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Minecraft 1.19
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ Minecraft PE
+
+
+
+
+
+
+ Minecraft - 1.21
+
+
+ Minecraft - 1.20
+
+
+
+ Minecraft 1.19
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/index.js b/index.js
index 1411856..a2ebcde 100644
--- a/index.js
+++ b/index.js
@@ -1,54 +1,81 @@
-function addURLS() {
- let URLS = [
- "https://mcpedlcom.org/wp-content/uploads/2024/02/minecraft-1-20-62.apk",
- "https://mcpedl.org/uploads_files/06-02-2024/minecraft-1-20-60.apk",
- "https://mcpedl.org/uploads_files/14-12-2023/minecraft-1-20-51.apk",
- "https://mcpedl.org/uploads_files/05-12-2023/minecraft-1-20-50.apk",
- "https://mcpedl.org/uploads_files/02-11-2023/minecraft-1-20-41.apk",
- 'https://mcpedl.org/uploads_files/24-10-2023/minecraft-1-20-40.apk',
- 'https://mcpedl.org/uploads_files/05-10-2023/minecraft-1-20-32.apk',
- 'https://mcpedl.org/uploads_files/26-09-2023/minecraft-1-20-31.apk',
- 'https://mcpedl.org/uploads_files/19-09-2023/minecraft-1-20-30.apk',
- 'https://mcpedl.org/uploads_files/16-08-2023/minecraft-1-20-15.apk',
- 'https://mcpedl.org/uploads_files/18-07-2023/minecraft-1-20-12.apk',
- 'https://mcpedl.org/uploads_files/11-07-2023/minecraft-1-20-10.apk',
- 'https://mcpedl.org/uploads_files/21-06-2023/minecraft-1-20-1.apk',
- 'https://mcpedl.org/uploads_files/07-06-2023/minecraft-1-20-0.apk',
- 'https://tinyurl.com/mcpe11981',
- 'https://mcpedl.org/uploads_files/26-04-2023/minecraft-1-19-80.apk',
- 'https://mcpedl.org/uploads_files/29-03-2023/minecraft-1-19-73-02.apk',
- 'https://mcpedl.org/uploads_files/17-03-2023/minecraft-1-19-71.apk',
- 'https://mcpedl.org/uploads_files/14-03-2023/minecraft-1-19-70.apk',
- 'https://mcpedl.org/uploads_files/24-02-2023/minecraft-1-19-63.apk',
- 'https://mcpedl.org/uploads_files/18-02-2023/minecraft-1-19-62.apk',
- 'https://mcpedl.org/uploads_files/07-02-2023/minecraft-1-19-60.apk',
- 'https://mcpedl.org/uploads_files/13-12-2022/minecraft-1-19-51.apk',
- 'https://mcpedl.org/uploads_files/29-11-2022/minecraft-1-19-50.apk',
- 'https://mcpedl.org/uploads_files/03-11-2022/minecraft-1-19-41.apk',
- 'https://mcpedl.org/uploads_files/25-10-2022/minecraft-1-19-40.apk',
- 'https://mcpedl.org/uploads_files/04-10-2022/minecraft-1-19-31.apk',
- 'https://mcpedl.org/uploads_files/20-09-2022/minecraft-1-19-30.apk',
- 'https://mcpedl.org/uploads_files/01-09-2022/minecraft-1-19-22.apk',
- 'https://mcpedl.org/uploads_files/04-11-2022/minecraft-1-19-21.apk',
- 'https://mcpedl.org/uploads_files/22-11-2022/minecraft-1-19-20.apk',
- 'https://mcpedl.org/uploads_files/26-07-2022/minecraft-1-19-11.apk',
- 'https://mcpedl.org/uploads_files/16-07-2022/minecraft-1-19-10.apk',
- 'https://mcpedl.org/uploads_files/01-12-2022/minecraft-1-19-2.apk',
- 'https://mcpedl.org/uploads_files/01-12-2022/minecraft-1-19-0.apk',
- 'https://mcpedl.org/uploads_files/05-10-2023/minecraft-1-20-41.apk',
- 'https://mcpedl.org/uploads_files/24-10-2023/minecraft-1-20-40.apk',
- 'https://mcpedl.org/uploads_files/21-06-2023/minecraft-1-20-1.apk',
- 'https://mcpedl.org/uploads_files/29-03-2023/minecraft-1-19-73-02.apk',
- 'https://www.mediafire.com/file/qr96yns3o7u1arw/Minecraft_1.19.63.01.apk/file',
- 'https://www.mediafire.com/file/ac6cqdbnv1j71lf/Minecraft+1.19.50+Official+Compressed.apk/file',
- 'https://www.mediafire.com/file/5azvb090agizyld/Minecraft_1.19.31_Arm64.apk/file',
- 'https://www.mediafire.com/file/tzgdon033175lzn/Minecraft_PE_1.19.2-64bit.apk/file',
- 'https://www.mediafire.com/file/xty209dq6btrozl/Minecraft.ver.1.19.0.05.build.951900005.apk/file?dkey=25prbi9pn4p116'];
- loadURLS(URLS);
-};
-function loadURLS(URL) {
- let x = document.getElementsByTagName('button');
- for (let i = 0; i < x.length; i++) {
- x[i].setAttribute('onClick', `window.open("${URL[i]}");`);
- }
-};
+document.addEventListener("DOMContentLoaded", function() {
+
+ const versionURLs = {
+ "1.21.0": "https://mcpedl.org/uploads_files/13-06-2024/minecraft-1-21-0.apk",
+ "1.20.81": "https://mcpedl.org/uploads_files/29-04-2024/minecraft-1-20-81.apk",
+ "1.20.80": "https://mcpedl.org/uploads_files/23-04-2024/minecraft-1-20-80.apk",
+ "1.20.73": "https://mcpedl.org/uploads_files/02-04-2024/minecraft-1-20-73.apk",
+ "1.20.72": "https://mcpedl.org/uploads_files/19-03-2024/minecraft-1-20-72.apk",
+ "1.20.71": "https://mcpedl.org/uploads_files/12-03-2024/minecraft-1-20-71.apk",
+ "1.20.62": "https://mcpedlcom.org/wp-content/uploads/2024/02/minecraft-1-20-62.apk",
+ "1.20.60": "https://mcpedl.org/uploads_files/06-02-2024/minecraft-1-20-60.apk",
+ "1.20.51": "https://mcpedl.org/uploads_files/14-12-2023/minecraft-1-20-51.apk",
+ "1.20.50": "https://mcpedl.org/uploads_files/05-12-2023/minecraft-1-20-50.apk",
+ "1.20.41": "https://mcpedl.org/uploads_files/02-11-2023/minecraft-1-20-41.apk",
+ "1.20.40": "https://mcpedl.org/uploads_files/24-10-2023/minecraft-1-20-40.apk",
+ "1.20.32": "https://mcpedl.org/uploads_files/05-10-2023/minecraft-1-20-32.apk",
+ "1.20.31": "https://mcpedl.org/uploads_files/26-09-2023/minecraft-1-20-31.apk",
+ "1.20.30": "https://mcpedl.org/uploads_files/19-09-2023/minecraft-1-20-30.apk",
+ "1.20.15": "https://mcpedl.org/uploads_files/16-08-2023/minecraft-1-20-15.apk",
+ "1.20.12": "https://mcpedl.org/uploads_files/18-07-2023/minecraft-1-20-12.apk",
+ "1.20.10": "https://mcpedl.org/uploads_files/11-07-2023/minecraft-1-20-10.apk",
+ "1.20.1": "https://mcpedl.org/uploads_files/21-06-2023/minecraft-1-20-1.apk",
+ "1.20.0": "https://mcpedl.org/uploads_files/07-06-2023/minecraft-1-20-0.apk",
+ "1.19.80": "https://mcpedl.org/uploads_files/26-04-2023/minecraft-1-19-80.apk",
+ "1.19.73": "https://mcpedl.org/uploads_files/29-03-2023/minecraft-1-19-73-02.apk",
+ "1.19.71": "https://mcpedl.org/uploads_files/17-03-2023/minecraft-1-19-71.apk",
+ "1.19.70": "https://mcpedl.org/uploads_files/14-03-2023/minecraft-1-19-70.apk",
+ "1.19.63": "https://mcpedl.org/uploads_files/24-02-2023/minecraft-1-19-63.apk",
+ "1.19.62": "https://mcpedl.org/uploads_files/18-02-2023/minecraft-1-19-62.apk",
+ "1.19.60": "https://mcpedl.org/uploads_files/07-02-2023/minecraft-1-19-60.apk",
+ "1.19.51": "https://mcpedl.org/uploads_files/13-12-2022/minecraft-1-19-51.apk",
+ "1.19.50": "https://mcpedl.org/uploads_files/29-11-2022/minecraft-1-19-50.apk",
+ "1.19.41": "https://mcpedl.org/uploads_files/03-11-2022/minecraft-1-19-41.apk",
+ "1.19.40": "https://mcpedl.org/uploads_files/25-10-2022/minecraft-1-19-40.apk",
+ "1.19.31": "https://mcpedl.org/uploads_files/04-10-2022/minecraft-1-19-31.apk",
+ "1.19.30": "https://mcpedl.org/uploads_files/20-09-2022/minecraft-1-19-30.apk",
+ "1.19.22": "https://mcpedl.org/uploads_files/01-09-2022/minecraft-1-19-22.apk",
+ "1.19.21": "https://mcpedl.org/uploads_files/04-11-2022/minecraft-1-19-21.apk",
+ "1.19.20": "https://mcpedl.org/uploads_files/22-11-2022/minecraft-1-19-20.apk",
+ "1.19.11": "https://mcpedl.org/uploads_files/26-07-2022/minecraft-1-19-11.apk",
+ "1.19.10": "https://mcpedl.org/uploads_files/16-07-2022/minecraft-1-19-10.apk",
+ "1.19.2": "https://mcpedl.org/uploads_files/01-12-2022/minecraft-1-19-2.apk",
+ "1.19.0": "https://mcpedl.org/uploads_files/01-12-2022/minecraft-1-19-0.apk",
+ "1.19.81": "https://tinyurl.com/mcpe11981",
+ };
+
+
+ const containers = {
+ "1-21": document.getElementById("version-1-21"),
+ "1-20": document.getElementById("version-1-20"),
+ "1-19": document.getElementById("version-1-19")
+ };
+
+
+ Object.entries(versionURLs)
+ .forEach(([version, url]) => {
+
+ const button = document.createElement("button");
+ button.className = "version-button";
+ button.textContent = version;
+ button.addEventListener("click", function() {
+ if (url) {
+
+ window.location.href = url;
+ } else {
+ alert("URL for version " + version + " is not defined.");
+ }
+ });
+
+ // Determine which container to append the button based on version
+ if (version.startsWith("1.21")) {
+ containers["1-21"].appendChild(button);
+ } else if (version.startsWith("1.20")) {
+ containers["1-20"].appendChild(button);
+ } else if (version.startsWith("1.19")) {
+ containers["1-19"].appendChild(button);
+ } else {
+ alert("Version " + version + " does not match any container.");
+ }
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
index 28a1bcd..3533ffc 100644
--- a/style.css
+++ b/style.css
@@ -1,83 +1,100 @@
@font-face {
- font-family: 'Minecraft Ten';
- src: url('assets/fonts/Minecraft-Ten.ttf') format('truetype');
+ font-family: "Minecraft Ten";
+ src: url("assets/fonts/Minecraft-Ten.ttf") format("truetype");
}
+
@font-face {
- font-family: 'Mojangles';
- src: url('assets/fonts/Mojangles.ttf') format('truetype');
+ font-family: "Mojangles";
+ src: url("assets/fonts/Mojangles.ttf") format("truetype");
}
+
@font-face {
- font-family: 'Minecraft Seven';
- src: url('assets/fonts/Minecraft-Seven.ttf') format('truetype');
+ font-family: "Minecraft Seven";
+ src: url("assets/fonts/Minecraft-Seven.ttf") format("truetype");
}
+
@font-face {
- font-family: 'Minecraft Five';
- src: url('assets/fonts/Minecraft-Five.ttf') format('truetype');
+ font-family: "Minecraft Five";
+ src: url("assets/fonts/Minecraft-Five.ttf") format("truetype");
}
-@import url('https://fonts.googleapis.com/css2?family=Oxanium&display=swap');
-@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');
+
+@import url("https://fonts.googleapis.com/css2?family=Oxanium&display=swap");
+@import url("https://fonts.googleapis.com/css2?family=Kalam&display=swap");
+
body {
- text-align: center;
- background-color: #000;
- padding: 0px;
- margin: 8px;
- border-style: double;
- border-radius: 20px;
- border-color: #666;
- border-width: 2px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
+ text-align: center;
+ background-color: #000;
+ padding: 0px;
+ margin: 8px;
+ border-style: double;
+ border-radius: 20px;
+ border-color: #666;
+ border-width: 2px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ font-family: "Kalam", sans-serif;
+ color: #fff;
}
-button, .on {
- width: 45%;
- background: #222;
- padding: 11px;
- color: #fff;
- border: 1px solid silver;
- border-radius: 5px;
- font-family: "Minecraft Ten", sans-serif;
- font-size: 20px;
- margin-top: 20px;
- text-align: center;
- margin: 1%;
- letter-spacing: 1.2px;
+
+button,
+.on {
+ width: 45%;
+ background: #222;
+ padding: 11px;
+ color: #fff;
+ border: 1px solid silver;
+ border-radius: 5px;
+ font-family: "Minecraft Ten", sans-serif;
+ font-size: 20px;
+ margin-top: 20px;
+ text-align: center;
+ margin: 1%;
+ letter-spacing: 1.2px;
+ cursor: pointer;
}
-button:hover, .on:hover {
- transform: scale(.95);
- border: .9px solid cyan;
+
+button:hover,
+.on:hover {
+ transform: scale(0.95);
+ border-color: cyan;
}
+
.title {
- font-size: 40px;
- font-family: "Mojangles", sans-serif;
- letter-spacing: 2px;
- color: #fff;
- text-align: center;
- font-weight: 1000;
- margin: 5%;
+ font-size: 40px;
+ font-family: "Mojangles", sans-serif;
+ letter-spacing: 2px;
+ font-weight: 1000;
+ margin: 5%;
+ color: #fff;
}
+
.title:active {
- transform: scale(0.98);
+ transform: scale(0.98);
}
+
hr {
- width: 80%;
- margin-top: 20px;
- margin-bottom: 20px;
+ width: 80%;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ border-color: #fff;
}
+
footer {
- border: 1px solid white;
- background: #333;
- width: auto;
- border-radius: 10px;
- margin-left: 10%;
- margin-right: 10%;
- margin-top: 3%;
- margin-bottom: 3%;
- font-size: 20px;
- font-family: "Minecraft Five", sans-serif;
+ border: 1px solid white;
+ background: #333;
+ width: auto;
+ border-radius: 10px;
+ margin-left: 10%;
+ margin-right: 10%;
+ margin-top: 3%;
+ margin-bottom: 3%;
+ font-size: 20px;
+ font-family: "Minecraft Five", sans-serif;
}
+
footer p {
- color: #fff;
- margin: 5%;
-}
+ color: #fff;
+ margin: 5%;
+}
\ No newline at end of file