You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
"!sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ &>/dev/null || echo \"Failed to add repo. Still can be ignored if openjdk16 gets installed.\"\n",
64
-
"!sudo apt-get install adoptopenjdk-16-openj9 &>/dev/null && echo \"Yay! Openjdk16 has been successfully installed.\" || echo \"Failed to install OpenJdk16.\"\n",
"# !sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ &>/dev/null || echo \"Failed to add repo. Still can be ignored if openjdk17 gets installed.\"\n",
64
+
"!sudo apt-get install openjdk-17-jre-headless &>/dev/null && echo \"Yay! Openjdk17 has been successfully installed.\" || echo \"Failed to install OpenJdk17.\"\n",
" print(\"Openjdk16 is working correctly, you are good to go.\")\n",
67
+
"if java_ver[0] == \"17\" :\n",
68
+
" print(\"Openjdk17 is working correctly, you are good to go.\")\n",
69
69
"else:\n",
70
-
" print(\"Openjdk16 doesn't seems to be installed or isn't working, falling back to java\", java_ver[0], \". You might experience reduced performance. Minecraft 1.17 and above might fail to launch.\")\n",
70
+
" print(\"Openjdk17 doesn't seems to be installed or isn't working, falling back to java\", java_ver[0], \". You might experience reduced performance. Minecraft 1.17 and above might fail to launch.\")\n",
71
71
"\n",
72
72
"# Mount Google Drive\n",
73
73
"from google.colab import drive\n",
@@ -160,6 +160,7 @@
160
160
"source": [
161
161
"# Replace \"1.17\" with your desired server version.\n",
162
162
"# Available versions:\n",
163
+
"# - 1.18 <!> Paper still in experimental\n",
163
164
"# - 1.17.1\n",
164
165
"# - 1.17\n",
165
166
"# - 1.16.4\n",
@@ -173,11 +174,15 @@
173
174
"# - 1.9.4\n",
174
175
"# - 1.8.8\n",
175
176
"# Newer versions might work too, however this isn't guaranteed.\n",
176
-
"version = '1.17'\n",
177
+
"version = '1.17.1'\n",
177
178
"\n",
178
179
"#Chose server type. Currently available versions: fabric, paper\n",
179
180
"server_type = 'paper'\n",
180
181
"\n",
182
+
"# Print experimental build warning\n",
183
+
"if version == '1.18' and server_type == 'paper':\n",
184
+
" print(\"<!> Paper 1.18 builds are still experimental. Make regular Backups!\")\n",
0 commit comments