diff --git a/src/lib/components/ui/navbar/commands/Commands.svelte b/src/lib/components/ui/navbar/commands/Commands.svelte index 80fc460e..5f168a63 100644 --- a/src/lib/components/ui/navbar/commands/Commands.svelte +++ b/src/lib/components/ui/navbar/commands/Commands.svelte @@ -79,6 +79,10 @@ } function searchGroup(term: string) { + if (term == '/kill @') { + goto('/you_died') + } + if (term.length < 1) { if (breadcrumbs.length <= 0) { filteredGroups = groups.map(group => ({ diff --git a/src/routes/you_died/+page.svelte b/src/routes/you_died/+page.svelte new file mode 100644 index 00000000..2be50f87 --- /dev/null +++ b/src/routes/you_died/+page.svelte @@ -0,0 +1,48 @@ + + + + +
+
+

{profile.data.username ?? 'You'} was slain by Command Palette

+
+ Minecraft 'you died' +
+
+ + diff --git a/static/other/mc.mp3 b/static/other/mc.mp3 new file mode 100644 index 00000000..402a18b6 Binary files /dev/null and b/static/other/mc.mp3 differ diff --git a/static/other/mc.png b/static/other/mc.png new file mode 100644 index 00000000..73383cdf Binary files /dev/null and b/static/other/mc.png differ