-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
354 lines (317 loc) · 13.4 KB
/
index.html
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
<!DOCTYPE html>
<!--
Site made by Kad, aliases KadTheHunter, KaddicusAlmighty, Kadalyst.
Descriptions for some kits written by CoolestGuy94, alias 05.
All kits created by their respective Authors.
SNBT Linter (nbt-lint.js, page.js) was created by AjaxGb under the MIT License.
Source: https://github.com/AjaxGb/NBTLint
-->
<!--
The default template for Kit entries is provided below, because JSON doesn't allow comments:
,
[
"",
"",
"",
"Tag",
"<a href=nbt/kits/nbt/.nbt download>NBT</a>"
]
When using WebStorm, I have this template saved as e+TAB in JSON files.
-->
<html lang="en">
<meta name="description" content="A collection of NBT data for Shulker Kits"/>
<head>
<title>The Shulker Archives</title>
<link rel="icon" type="image/png" href="assets/favicon.ico"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="assets/main.min.css"/>
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA== " referrerpolicy="no-referrer" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="assets/DataTables/datatables.min.css"/>
<link rel="stylesheet" type="text/css" href="assets/DataTables/YADCF-0.9.4-beta/jquery.dataTables.yadcf.min.css"/>
<link rel="stylesheet" type="text/css" href="assets/DataTables/YADCF-0.9.4-beta/select2/css/select2.min.css">
</head>
<header>
<span class="ShulkerLogoText"><a href="index.html">Shulker Archives</a></span>
<p class="ShulkerLogo">
<a href="index.html">
<video autoplay loop muted playsinline height="100px" width="100px">
<source src="assets/Shulker_shooting.webm" type="video/webm" />
</video>
</a>
</p>
<h2>Welcome to the Shulker Archives</h2>
<h3 style="color: red; font-style: italic;">This project is no longer maintained. Please <a href="https://github.com/KadTheHunter/ShulkerArchives/blob/master/NoLongerMaintained.md" rel="noopener noreferrer" target="_blank">read here</a> for more information.</h3>
<hr>
<div style="padding-bottom: 4px"> <!-- I could add this to main.css, but I'd need to work out a better system, so once again laziness strikes. -->
<a href="html/UsingNBT.html">
<button class="button" type="button">Using NBT</button>
</a>
<a href="html/snbtlinter.html">
<button class="button" type="button">SNBT Linter</button>
</a>
<a href="html/Resources.html">
<button class="button" type="button">Resources</button>
</a>
</div>
<div style="padding-top: 3px"> <!-- I could add this to main.css, but I'd need to work out a better system, so once again laziness strikes. -->
<a href="html/FAQ.html">
<button class="button" type="button">FAQ</button>
</a>
<a href="html/Guides.html">
<button class="button" type="button">Guides</button>
</a>
</div>
<hr>
<p>Check the buttons below for other Archives!</p>
<a href="html/Items.html">
<button class="button" type="button">Items</button>
</a>
<a href="html/Books.html">
<button class="button" type="button">Books</button>
</a>
<a href="html/Unnamed.html">
<button class="button" type="button">Unnamed Kits</button>
</a>
<hr>
</header>
<body class="Index">
<main class="Index">
<div class="center">
<table id="kits">
<thead>
<tr>
<th>Kit Name</th>
<th>Author</th>
<th>Description</th>
<th>Tags</th>
<th>NBT</th>
</tr>
</thead>
<tfoot>
<tr class="cus-footer"> <!-- Footer is required for Column Searching to work -->
<th>Kit Name</th> <!-- Footer Name is required for Column Searching placeholder to work -->
<th>Author</th>
<th>Description</th>
</tr>
</tfoot>
</table>
</div>
</main>
<div class="footer">
<p><a href="https://github.com/KadTheHunter/ShulkerArchives/" rel="noopener noreferrer" target="_blank">Created by Kadalyst</a></p>
</div>
<script src="assets/js/jquery-3.6.3.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="assets/DataTables/datatables.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="assets/DataTables/YADCF-0.9.4-beta/jquery.dataTables.yadcf.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="assets/DataTables/YADCF-0.9.4-beta/select2/js/select2.full.min.js"></script>
<!--
order.neutral().min.js is a DataTables plugin that allows resetting a page order to no order, and is the simplest way of doing so.
We use it in combination with the script imported below it, jquery.hotkeys.min.js
-->
<script type="text/javascript" charset="UTF-8" src="assets/DataTables/order.neutral().min.js"></script>
<script type="text/javascript" charset="UTF-8" src="assets/js/jquery.hotkeys.min.js"></script>
<script>
$(function () {
$("#kits").dataTable({
// This allows saving the Search/Sort/Filter state in the browser
stateSave: true,
ajax: 'nbt/kits/Kits.json',
// This shows 'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers
pagingType: "full_numbers",
// This is disabled for both optimization and sanity. No need for DT to check/calc width, no visual issues causing me a headache
autoWidth: false,
columnDefs: [
{
searchable: false,
// Leave as -1, because the NBT column will always be last
targets: -1
},
{
sortable: false,
// Leave as 3, -1 because the Tag/NBT columns will always be last
targets: [
3,
-1
]
}
],
language: [
{
zeroRecords: "No Kits found :("
}
]
});
$('#kits tfoot tr.cus-footer th').each(function () {
var title = $(this).text();
$(this).html('<input type="text" placeholder="Search by '+title+'" />');
});
var table = $('#kits').DataTable();
// [0,1,2] must be changed to match the columns we want searchable. This shouldn't ever have to be done, but noted here just in case.
table.columns([0,1,2]).every(function () {
var that = this;
$('input', this.footer()).on('keyup change', function () {
if (that.search() !== this.value) {
that
.search(this.value)
.draw();
}
});
});
var oTable;
oTable = $('#kits').DataTable();
yadcf.init(oTable,
[
{
// column_number must be set to the Tags column, which is currently 3. Similar to table.columns this shouldn't need to be changed, but noted here just in case.
column_number: 3,
filter_type: "multi_select",
select_type: 'select2',
html_data_type: "text",
filter_default_label: "Tags...",
// The space in ", " MUST be there, or else tag select generation will read "PvP, Themed" and "Themed, PvP" as four different tags rather than two
text_data_delimiter: ", "
}
]
);
});
</script>
<!--
Thank fuck for Rookie in July 2012 for posting about this https://datatables.net/forums/discussion/10892/keystroke-pagination or I'd have just given up. Other posts suggesting fuckin KeyTables...
-->
<script>
$(document).ready(function() {
$(document).bind('keydown', 'right', function() {
$(".next").click();
});
$(document).bind('keydown', 'left', function() {
$(".previous").click();
});
$(document).bind('keydown','i', function() {
window.location = "html/Items.html";
});
$(document).bind('keydown', 'b', function() {
window.location = "html/Books.html";
});
$(document).bind('keydown', 'u', function() {
window.location = "html/Unnamed.html";
});
$(document).bind('keydown', 'k', function() {
window.location = "index.html";
});
$(document).bind('keydown', 'z', function() {
on();
})
// Sets the table to display in the order it's written in the JSON file via order.neutral().min.js
$(document).bind('keydown', 'd', function() {
var table = $('#kits').DataTable();
table.order.neutral().draw();
table.page('last').draw('page');
});
// Resets the table to default sort order by ordering the Name column A-Z
$(document).bind('keydown', 'shift+d', function() {
var table = $('#kits').DataTable();
table.order([0, 'asc']).draw();
table.page('first').draw('page');
});
});
</script>
<div id="infolay" onclick="off()">
<h1>Important Information</h1>
<p><i>(Click anywhere to close this overlay)</i></p>
<hr>
<br>
<h2>Info:</h2>
<p>⭐'s indicate kits recommended by Archivists.</p>
<p>Kits in the 'Unnamed Kits' page have no official name. As such, we have given them Archivist Assigned Names (AANs). Similarly, the files are suffixed with <code>_[AAN]</code> to help distinguish them from Named Kits. Should we ever find a named copy of a kit there (or the Author of the kit properly name it) we will move it to the main Kits page.</p>
<p>In the Item category, if an entry has "<i>pre-X.Y.Z!</i>" in its description, it is an item that only works in Minecraft versions prior to that. Some items have entries for pre- and post-versions, depending on how popular the item is/how complicated upgrading it is.</p>
<br>
<hr>
<br>
<h2>Notices:</h2>
<p style="color: orange"><i>Minecraft 1.20.0 broke Signs, and 1.20.2 will break Potions. If a Sign/Potion from a Kit does not work, please check the NBT as it likely uses the old format. We will <b>NOT</b> be upgrading kits to fix these issues, nor will we be marking kits that contain them. Thank you for your understanding.</i></p>
<br>
<hr>
<br>
<h2>Disclaimers:</h2>
<p style="color:red">Kadalyst is in no way responsible for how any entries were obtained, who downloads them, and how they are used. YOU are responsible for protecting the privacy of your items and the security of your server. Any and all complaints made pertaining to the privacy or use-case of an entry will be ignored. Basically: fuck you, you disingenuous dense <a href="https://www.youtube.com/watch?v=YN7nGl-ARVE" rel="noopener noreferrer" target="_blank">shoe-fucker</a> :D</p>
<br>
<hr>
<br>
<h2>Credits:</h2>
<p class="credits">
<li style="color: deepskyblue">Kadalyst - Archives Creator, Main Dev, Owner</li>
<li style="color: deepskyblue">Parsa__ - Encouraged Archives Creation, hunted new kits</li>
<li style="color: deepskyblue">_Win9x_ - Provided >50% of all entries, hunted down more</li>
<li style="color: deepskyblue">AbdulFmMicrosoft - Designed early iterations of Archives Map</li>
<li style="color: deepskyblue">iceyou - Alerted Archives to issues with SNBT, major help with Archives Map</li>
</p>
<br>
<hr>
<br>
<h2>Hotkeys:</h2>
<p>There are a number of hotkeys set up to make navigating the site easier.</p>
<table class="center">
<tbody>
<tr>
<td>K</td>
<td>Jumps to the 'Kits' table</td>
</tr>
<tr>
<td>I</td>
<td>Jumps to the 'Items' table</td>
</tr>
<tr>
<td>B</td>
<td>Jumps to the 'Books' table</td>
</tr>
<tr>
<td>U</td>
<td>Jumps to the 'Unnamed Kits' table</td>
</tr>
<tr>
<td><b>←</b></td>
<td>Moves one page back in the table</td>
</tr>
<tr>
<td><b>→</b></td>
<td>Moves one page forward in the table</td>
</tr>
<tr>
<td>D</td>
<td>Jumps to the newest entries in a table</td>
</tr>
<tr>
<td>SHIFT + D</td>
<td>Resets table to default sorting/arrangement (does not reset Tags)</td>
</tr>
<tr>
<td>Z</td>
<td>Opens this overlay</td>
</tr>
</tbody>
</table>
<br>
<hr>
<br>
<a href="html/NotSoSecretPage.html">
<button class="button" type="button">Not So Secret Page</button>
</a>
<br>
<br>
</div>
<div class="fab-container">
<div class="button iconbutton">
<i class="fa-solid fa-circle-info fa-flip fa-2xl" onclick="on()"></i>
</div>
</div>
<script>
function on() {
document.getElementById("infolay").style.display = "block";
}
function off() {
document.getElementById("infolay").style.display = "none";
}
</script>
</body>
</html>