-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpm-app.html
More file actions
483 lines (423 loc) · 20.5 KB
/
pm-app.html
File metadata and controls
483 lines (423 loc) · 20.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Legacy PocketMine App</title>
<meta name="description" content="PocketMine-MP apps for Android">
<meta name="keywords" content="PocketMine-MP, PocketMine-MP app for Android, PocketMine, PMMP, Legacy PocketMine, NostalgiaCore, PocketMine 1.3.12, 0.8.1">
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<meta property="og:title" content="Legacy PocketMine-MP App">
<style>
.version-list {
display: grid;
grid-template-columns: 1fr;
gap: 10px 20px;
margin-top: 10px;
margin-bottom: 40px;
text-align: left;
}
@media (min-width: 600px) {
.version-list.grid-view {
grid-template-columns: 1fr 1fr;
}
}
.version-list.list-view {
grid-template-columns: 1fr;
}
.version-group h2 {
margin-top: 30px;
margin-bottom: 15px;
border-bottom: 1px solid var(--border-color);
padding-bottom: 10px;
font-size: 24px;
font-weight: 800;
text-align: left;
}
.version-list p {
margin: 0;
min-width: 0;
}
.version-list p a {
display: block;
background-color: var(--version-list-item);
color: var(--text-color);
padding: 15px;
text-align: left;
text-decoration: none;
font-size: 24px;
font-weight: 700;
transition: background-color 0.2s ease;
border-radius: 0;
line-height: 1.2;
border: none;
border-bottom: 4px solid var(--navbar-hover-bg);
}
.version-list p a:hover {
background-color: var(--navbar-hover-bg);
}
.old-version-link {
display: block;
width: 100%;
text-align: center;
padding: 15px 0;
margin: 0;
color: #ffffff;
background-color: #2a2727;
font-size: 16px;
font-weight: 700;
text-decoration: none;
transition: background-color 0.2s ease;
position: fixed;
top: 0;
left: 0;
z-index: 1050;
box-shadow: none;
border-bottom: 4px solid #333;
padding-right: 40px;
}
.old-version-link:hover {
color: #ffffff;
text-decoration: none;
background-color: #333333;
transform: none;
}
.old-version-link.hidden {
top: -60px;
}
.old-version-link.permanently-hidden {
display: none !important;
}
.navbar-fixed-top-adjusted {
top: 55px;
}
.navbar-fixed-top-adjusted.moved-up {
top: 0;
}
.close-btn {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
font-size: 24px;
line-height: 1;
cursor: pointer;
color: #fff;
opacity: 0.7;
transition: opacity 0.2s ease;
}
.close-btn:hover {
opacity: 1;
}
.search-container {
display: flex;
gap: 10px;
margin-bottom: 30px;
}
.search-input {
flex-grow: 1;
padding: 15px;
border: 1px solid var(--border-color);
border-radius: 0;
font-size: 18px;
box-sizing: border-box;
background-color: var(--jumbotron-bg);
color: var(--text-color);
}
.view-toggle-btn {
background-color: var(--navbar-bg);
border: 1px solid var(--border-color);
border-radius: 0;
padding: 0 15px;
cursor: pointer;
transition: background-color 0.2s ease;
color: var(--text-color);
}
.view-toggle-btn:hover {
background-color: var(--navbar-hover-bg);
}
.view-toggle-btn svg {
display: block;
fill: currentColor;
}
</style>
</head>
<body id="page-body" style="padding-top: 105px;">
<a href="owv/pocketmine-app.html" class="old-version-link" id="old-version-button">
Switch to old website verion
<span class="close-btn" id="dismiss-old-version">×</span>
</a>
<nav class="navbar navbar-default navbar-fixed-top navbar-fixed-top-adjusted" id="main-navbar">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#" id="navbar-brand-link">LegacyMinecraftPE</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="pm-versions.html">PM versions</a></li>
<li><a href="pm-installers.html">PM installers</a></li>
<li class="active"><a href="pm-app.html">PM app</a></li>
<li><a href="nukkit.html">Nukkit</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Other <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://github.com/kotyaralih/NostalgiaCore/">NostalgiaCore</a></li>
<li><a href="https://github.com/oldminecraftcommunity/NostalgiaCore-backport">NostalgiaCore Backport</a></li>
<li><a href="https://github.com/FreeHij/Festival">Festival 0.11</a></li>
<li><a href="https://github.com/GameHerobrine/Minecraft013-Server">MCPE 0.1.3 Server Core</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://discord.gg/4fv4RrTav4" target="_blank" class="social-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
viewBox="0 0 16 16">
<path
d="M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612" />
</svg>
</a>
</li>
<li>
<a href="https://github.com/LegacyMinecraftPE" target="_blank" class="social-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
viewBox="0 0 16 16">
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8" />
</svg>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container text-center">
<h1>Old PocketMine App</h1>
</div>
</div>
<div class="container section-padding">
<div class="search-container">
<input type="text" id="versionSearch" class="search-input" placeholder="Search for version">
<button id="viewToggleBtn" class="view-toggle-btn" aria-label="Change the list view">
<svg id="gridIcon" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 -960 960 960" style="display: none;"><path d="M120-520v-320h320v320H120Zm0 400v-320h320v320H120Zm400-400v-320h320v320H520Zm0 400v-320h320v320H520Z"/></svg>
<svg id="listIcon" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 -960 960 960" style="display: none;"><path d="M80-160v-160h160v160H80Zm240 0v-160h560v160H320ZM80-400v-160h160v160H80Zm240 0v-160h560v160H320ZM80-640v-160h160v160H80Zm240 0v-160h560v160H320Z"/></svg> </button>
</button>
</div>
<div class="version-group">
<div class="version-list grid-view">
<p><a href="assets/pocketmine-app/PocketMine-MP_2.1.4.apk">2.1.4</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_2.1.3.apk">2.1.3</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_2.1.2.apk">2.1.2</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_2.1.1.apk">2.1.1</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_2.1.0.apk">2.1.0</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_2.0.0.apk">2.0.0</a></p>
<p><a href="assets/pocketmine-app/PocketMine-MP_1.1.0.apk">1.1.0</a></p>
<p><a href="assets/pocketmine-app/PocketmineMP_PHP7.apk">PHP7</a></p>
</div>
</div>
<hr>
<div class="version-group" id="download-archives-group">
<div class="version-list grid-view">
<p><a href="https://www.mediafire.com/file/x2t80nz9itbkdxu/PocketMine_App.zip/file">Download archive with all versions</a></p>
</div>
</div>
</div>
<footer style="padding: 20px 0; border-top: 1px solid var(--border-color); background: var(--navbar-bg)">
<div class="container">
<div class="row">
<div class="col-md-6 text-left">
<h2>LegacyMinecraftPE <small style="color: grey;">2023-2025</small></h2>
<p style="margin-bottom: 0; font-size: 12px;">Saving the history of Minecraft PE Alpha</p>
<p style="font-size: 10px; color: grey;">This website is not affiliated with Mojang, Microsoft, or any other entity</p>
</div>
<div class="col-md-6 text-right">
<button id="theme-toggle" class="btn btn-default">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z" />
</svg>
</button>
</div>
</div>
</div>
</footer>
<div id="mainSiteModal" class="main-site-modal">
<div class="modal-content">
<span class="modal-close-btn">×</span>
<h3>Warning </h3>
<p style="font-weight: 400 !important; font-size: 16px;">You are attempting to navigate to the main LegacyMinecraftPE website. Proceed?</p>
<a href="http://legacyminecraftpe.github.io/" class="btn btn-primary btn-block" style="border-radius: 0;">Go to Main Website</a>
<button id="skipModalAndGoBtn" class="btn btn-default btn-block" style="margin-top: 10px; border-radius: 0; background-color: transparent;">Do not show this dialog again</button>
</div>
</div>
<div id="mainSiteModal" class="main-site-modal">
<div class="modal-content">
<span class="modal-close-btn">×</span>
<h3>Warning </h3>
<p style="font-weight: 400 !important; font-size: 16px;">You are attempting to navigate to the main LegacyMinecraftPE website. Proceed?</p>
<a href="http://legacyminecraftpe.github.io/" class="btn btn-primary btn-block" style="border-radius: 0;">Go to Main Website</a>
<button id="skipModalAndGoBtn" class="btn btn-default btn-block" style="margin-top: 10px; border-radius: 0; background-color: transparent;">Do not show this dialog again</button>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
const themeToggle = document.getElementById('theme-toggle');
function setTheme(themeName) {
document.documentElement.setAttribute('data-theme', themeName);
localStorage.setItem('theme', themeName);
}
function toggleTheme() {
if (localStorage.getItem('theme') === 'dark') {
setTheme('light');
} else {
setTheme('dark');
}
}
if (localStorage.getItem('theme') === 'dark') {
setTheme('dark');
} else {
setTheme('light');
}
themeToggle.addEventListener('click', toggleTheme);
const pageBody = document.getElementById('page-body');
const oldVersionButton = document.getElementById('old-version-button');
const mainNavbar = document.getElementById('main-navbar');
const dismissButton = document.getElementById('dismiss-old-version');
const buttonHeight = 55;
const localStorageKey = 'oldVersionDismissed';
function hideButtonPermanently() {
localStorage.setItem(localStorageKey, 'true');
oldVersionButton.classList.add('permanently-hidden');
mainNavbar.classList.add('moved-up');
pageBody.style.paddingTop = '50px';
}
if (localStorage.getItem(localStorageKey) === 'true') {
hideButtonPermanently();
} else {
window.addEventListener('scroll', () => {
const currentScrollY = window.scrollY;
if (currentScrollY > buttonHeight) {
oldVersionButton.classList.add('hidden');
mainNavbar.classList.add('moved-up');
} else if (currentScrollY === 0) {
oldVersionButton.classList.remove('hidden');
mainNavbar.classList.remove('moved-up');
}
});
dismissButton.addEventListener('click', (e) => {
e.preventDefault();
hideButtonPermanently();
});
}
const versionSearch = document.getElementById('versionSearch');
const viewToggleBtn = document.getElementById('viewToggleBtn');
const gridIcon = document.getElementById('gridIcon');
const listIcon = document.getElementById('listIcon');
const versionGroups = document.querySelectorAll('.version-group');
const downloadArchivesGroup = document.getElementById('download-archives-group');
const versionLists = document.querySelectorAll('.version-list');
const viewModeKey = 'versionViewModeApps';
function setViewMode(mode) {
versionLists.forEach(list => {
list.classList.remove('grid-view', 'list-view');
list.classList.add(mode);
});
if (mode === 'grid-view') {
gridIcon.style.display = 'none';
listIcon.style.display = 'block';
} else {
gridIcon.style.display = 'block';
listIcon.style.display = 'none';
}
localStorage.setItem(viewModeKey, mode);
}
function toggleViewMode() {
const currentMode = localStorage.getItem(viewModeKey) === 'list-view' ? 'list-view' : 'grid-view';
const newMode = currentMode === 'grid-view' ? 'list-view' : 'grid-view';
setViewMode(newMode);
}
viewToggleBtn.addEventListener('click', toggleViewMode);
const savedViewMode = localStorage.getItem(viewModeKey) || 'grid-view';
setViewMode(savedViewMode);
function filterVersions() {
const query = versionSearch.value.toLowerCase().trim();
let hasVisibleVersions = false;
versionGroups.forEach(group => {
const versionList = group.querySelector('.version-list');
if (!versionList) return;
const versions = versionList.querySelectorAll('p');
let groupHasVisibleVersion = false;
versions.forEach(version => {
const versionName = version.querySelector('a').textContent.toLowerCase();
if (versionName.includes(query)) {
version.style.display = 'block';
groupHasVisibleVersion = true;
hasVisibleVersions = true;
} else {
version.style.display = 'none';
}
});
if (group.id !== 'download-archives-group') {
if (groupHasVisibleVersion || query === '') {
group.style.display = 'block';
} else {
group.style.display = 'none';
}
}
});
if (query === '') {
downloadArchivesGroup.style.display = 'block';
} else {
downloadArchivesGroup.style.display = 'none';
}
}
versionSearch.addEventListener('input', filterVersions);
</script>
<script>
const navbarBrandLink = document.getElementById('navbar-brand-link');
const mainSiteModal = document.getElementById('mainSiteModal');
const modalCloseBtn = mainSiteModal.querySelector('.modal-close-btn');
const pageContentWrapper = document.getElementById('page-content-wrapper');
const skipModalAndGoBtn = document.getElementById('skipModalAndGoBtn');
const mainSiteURL = 'http://legacyminecraftpe.github.io/';
const skipModalKey = 'skipMainSiteModal';
function openModal(e) {
e.preventDefault();
mainSiteModal.classList.add('open');
pageContentWrapper.classList.add('modal-open-blur');
}
function closeModal() {
mainSiteModal.classList.remove('open');
pageContentWrapper.classList.remove('modal-open-blur');
}
function handleNavbarClick(e) {
if (localStorage.getItem(skipModalKey) === 'true') {
window.location.href = mainSiteURL;
} else {
openModal(e);
}
}
function handleSkipAndGoClick() {
localStorage.setItem(skipModalKey, 'true');
window.location.href = mainSiteURL;
}
navbarBrandLink.addEventListener('click', handleNavbarClick);
modalCloseBtn.addEventListener('click', closeModal);
skipModalAndGoBtn.addEventListener('click', handleSkipAndGoClick);
mainSiteModal.addEventListener('click', (e) => {
if (e.target === mainSiteModal) {
closeModal();
}
});
</script>
</body>
</html>