chore: remove dead code, unused CSS, unused components, and clean up git tracking

- Remove storage/logs/ and prod.log from git tracking; add to .gitignore
- Remove unused AvatarCarousel and ArticleSlider components
- Remove unused SkeletonTable export from ui.tsx
- Remove unused ChevronDown import from admin layout
- Remove 13 unused CSS classes (icon-base, nav-*, navigation-icon*, .app.dark,
  text-body, transition-base, card-base, admin-info-grid, .coin.*)
- Remove duplicate translation keys (openMenu/closeMenu in en.json)
- Fix admin-bans to use Prisma-generated bans_type enum
- Create shared AdminPageHeader component and formatDate utility
- Add logger and generateRequestId for structured logging
- All 58 tests pass, typecheck clean, build succeeds
This commit is contained in:
openhands committed 2026-07-08 13:27:01 +02:00
1 parent c5db7f5156
commit fc57fb06d1
18 files changed
+40 -2551

No files matched your search

+4
View File
@@ -6,3 +6,7 @@ next-env.d.ts
*.tsbuildinfo
# Prisma client is generated by `prisma generate`
src/generated/
# Runtime logs (not part of the codebase)
storage/logs/
prod.log
*.log
-14
View File
@@ -1,14 +0,0 @@
> atomcms-next@ start /var/www/atom-nexst
> next start
▲ Next.js 16.2.10
- Local: http://localhost:3000
- Network: http://5.252.100.130:3000
✓ Ready in 108ms
prisma:error
Invalid `prisma.websiteLoginLogs.create()` invocation:
The table `website_login_logs` does not exist in the current database.
 ELIFECYCLE  Command failed.
+2 -1
View File
@@ -5,8 +5,9 @@ import { requireStaffRateLimited as requireStaff } from "@/lib/admin/guard";
import { prisma } from "@/lib/prisma";
import { rcon } from "@/lib/services/rcon";
import { logStaffActivity } from "@/lib/services/staff-activity";
import type { $Enums } from "@/generated/prisma/client";
type BanType = "account" | "ip" | "machine" | "super";
type BanType = $Enums.bans_type;
const BAN_TYPES: ReadonlySet<string> = new Set(["account", "ip", "machine", "super"]);
const PERMANENT_SECONDS = 100 * 365 * 24 * 3600;
+1 -1
View File
@@ -11,7 +11,7 @@ import {
Store, ShoppingCart, Receipt, Ticket, CreditCard, Gem, Award, Trophy, Calendar,
Radio, History,
Terminal, Monitor, Bell, FileText, Filter, Wrench, Settings, DoorOpen, Mail, Palette, Cog,
ChevronDown, LogOut,
LogOut,
} from "lucide-react";
export const dynamic = "force-dynamic";
+1 -80
View File
@@ -159,58 +159,13 @@ body {
}
}
/* ── Atom icons / backgrounds (asset paths adapted to /assets) ── */
.icon-base {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.nav-credit-icon {
background: #e9b124 url("/assets/images/icons/currency/credits.png") no-repeat center;
outline: 1px solid #b26d18;
}
.nav-ducket-icon {
background: #c44aac url("/assets/images/icons/currency/duckets.png") no-repeat center;
outline: 1px solid #812378;
}
.nav-diamond-icon {
background: #caf1f3 url("/assets/images/icons/currency/diamonds.png") no-repeat center;
outline: 1px solid #6caff4;
}
.navigation-icon {
width: 20px;
height: 25px;
background-repeat: no-repeat;
background-position: center;
}
.navigation-icon.shop {
background-image: url("/assets/images/icons/navigation/shop.png");
}
.navigation-icon.leaderboards {
background-image: url("/assets/images/icons/navigation/leaderboards.png");
}
.navigation-icon.rules {
background-image: url("/assets/images/icons/navigation/rules.gif");
}
.navigation-icon.home {
background-image: url("/assets/images/icons/navigation/home.png");
}
.navigation-icon.community {
background-image: url("/assets/images/icons/navigation/community.png");
}
/* ── Site background ── */
.site-bg {
background:
linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 12%, rgba(255,255,255,0.6)), rgba(255,255,255,0.75)),
url("/assets/images/background-light.jpg") no-repeat fixed center / cover;
background-blend-mode: overlay;
}
.app.dark .site-bg {
background:
linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 8%, rgba(15,17,23,0.7)), rgba(15,17,23,0.85)),
url("/assets/images/background-dark.jpg") no-repeat fixed center / cover;
background-blend-mode: overlay;
}
.article-body {
line-height: 1.7;
@@ -227,9 +182,6 @@ body {
text-decoration: underline;
}
.text-body {
color: var(--color-text);
}
.text-muted {
color: var(--color-text-muted);
}
@@ -242,9 +194,6 @@ body {
.text-shadow-sm {
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.transition-base {
transition: all 0.2s ease-in-out;
}
.hover-lift {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@@ -252,18 +201,6 @@ body {
transform: translateY(-2px);
box-shadow: var(--shadow-card-hover);
}
.card-base {
background-color: var(--color-navbar);
color: var(--color-navbar-text);
border-radius: var(--radius-md);
box-shadow: var(--shadow-card);
border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);
}
.card-base:hover {
box-shadow: var(--shadow-card-hover);
border-color: color-mix(in srgb, var(--color-text-muted) 25%, transparent);
}
/* ── App component classes (used across the converted pages) ── */
h1 {
font-size: var(--size-heading-h1, 30px);
@@ -442,16 +379,6 @@ tbody tr:hover {
color: #fff;
font-size: 0.7rem;
}
.coin.credits {
background: #e9b124;
}
.coin.duckets {
background: #c44aac;
}
.coin.diamonds {
background: #4bc0d9;
}
/* ── Admin panel (Housekeeping) ─────────────────────────────────
Modern, consistent styling for all admin content pages. */
.admin-page { scroll-margin-top: 1rem; }
@@ -553,12 +480,6 @@ tbody tr:hover {
margin-top: 0;
}
/* Two-column info grid */
.admin-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 0.75rem;
}
.admin-info-item {
display: flex;
flex-direction: column;
+21
View File
@@ -0,0 +1,21 @@
import type { LucideIcon } from "lucide-react";
interface AdminPageHeaderProps {
icon: LucideIcon;
title: string;
subtitle: string;
}
export function AdminPageHeader({ icon: Icon, title, subtitle }: AdminPageHeaderProps) {
return (
<div className="flex items-center gap-3 mb-6">
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-[var(--color-primary)]/20 to-[var(--color-primary)]/5 grid place-items-center">
<Icon size={20} className="text-[var(--color-primary)]" />
</div>
<div>
<h1 className="m-0 text-xl font-extrabold text-[var(--color-text)]">{title}</h1>
<p className="m-0 text-xs text-[var(--color-text-muted)] mt-0.5">{subtitle}</p>
</div>
</div>
);
}
-116
View File
@@ -1,116 +0,0 @@
"use client";
import { useState, useRef, useCallback } from "react";
import { avatarImageUrl } from "@/lib/format";
interface AvatarCarouselProps {
figures: string[];
imager: string;
onSelect: (figure: string) => void;
initialIndex?: number;
}
export function AvatarCarousel({
figures,
imager,
onSelect,
initialIndex = 0,
}: AvatarCarouselProps) {
const [currentIndex, setCurrentIndex] = useState(initialIndex);
const [direction, setDirection] = useState(0);
const isAnimating = useRef(false);
const prevIndexRef = useRef(initialIndex);
const navigate = useCallback((dir: number) => {
if (isAnimating.current || figures.length <= 1) return;
isAnimating.current = true;
setDirection(dir);
prevIndexRef.current = currentIndex;
setCurrentIndex((prev) => (prev + dir + figures.length) % figures.length);
setTimeout(() => { isAnimating.current = false; }, 300);
}, [currentIndex, figures.length]);
const goToIndex = useCallback((index: number) => {
if (isAnimating.current) return;
isAnimating.current = true;
const dir = index > currentIndex ? 1 : -1;
setDirection(dir);
prevIndexRef.current = currentIndex;
setCurrentIndex(index);
setTimeout(() => { isAnimating.current = false; }, 300);
}, [currentIndex]);
return (
<div className="relative w-full max-w-sm mx-auto" role="region" aria-label="Avatar selection">
<div className="relative overflow-hidden rounded-2xl bg-white p-4 shadow-xl dark:bg-gray-800">
<div className="transition-transform duration-300 ease-out" style={{ transform: `translateX(${direction * 100}%)` }}>
{figures.map((figure, idx) => (
<div
key={figure}
className="relative w-full h-48 flex items-center justify-center"
style={{
position: "absolute",
left: `${idx * 100}%`,
top: 0,
transition: "transform 300ms ease-out",
transform: `translateX(${(currentIndex - prevIndexRef.current) * -100}%)`,
}}
>
<div className="relative w-48 h-64">
<img
src={avatarImageUrl(imager, figure, { headOnly: false, direction: 2 })}
alt={`Avatar ${idx + 1}`}
className="w-full h-full object-contain"
loading="lazy"
/>
</div>
</div>
))}
</div>
</div>
<div className="flex justify-center gap-3 mt-4">
<button
type="button"
onClick={() => navigate(-1)}
disabled={isAnimating.current || figures.length <= 1}
className="flex h-10 w-10 items-center justify-center rounded-full bg-white/80 dark:bg-gray-800/80 text-gray-700 dark:text-gray-300 shadow-md hover:scale-105 transition-transform disabled:opacity-50 disabled:cursor-not-allowed"
aria-label="Previous avatar"
>
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 19l-7-7 7-7" />
</svg>
</button>
<div className="flex items-center gap-2">
{figures.map((_, idx) => (
<button
key={idx}
type="button"
onClick={() => goToIndex(idx)}
disabled={isAnimating.current}
className={`w-2.5 h-2.5 rounded-full transition-all ${
idx === currentIndex
? "bg-[#eeb425] scale-125"
: "bg-gray-400 hover:bg-gray-500 dark:bg-gray-600 dark:hover:bg-gray-500"
}`}
aria-label={`Select avatar ${idx + 1}`}
/>
))}
</div>
<button
type="button"
onClick={() => navigate(1)}
disabled={isAnimating.current || figures.length <= 1}
className="flex h-10 w-10 items-center justify-center rounded-full bg-white/80 dark:bg-gray-800/80 text-gray-700 dark:text-gray-300 shadow-md hover:scale-105 transition-transform disabled:opacity-50 disabled:cursor-not-allowed"
aria-label="Next avatar"
>
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
</svg>
</button>
</div>
</div>
);
}
-143
View File
@@ -1,143 +0,0 @@
"use client";
import Link from "next/link";
import { useCallback, useEffect, useRef, useState } from "react";
/**
* Horizontal, scroll-snap slider for the home page "latest news" row. Keeps the
* exact article-card markup from the server page; the cards are passed in as a
* pre-shaped list so this client component carries no prisma/i18n dependency.
* Prev/next buttons scroll the snap track by one viewport-ish step and disable
* themselves at the ends.
*/
export type SliderArticle = {
slug: string;
title: string;
image: string;
excerpt: string;
};
export function ArticleSlider({ articles }: { articles: SliderArticle[] }) {
const trackRef = useRef<HTMLDivElement>(null);
const [atStart, setAtStart] = useState(true);
const [atEnd, setAtEnd] = useState(false);
const updateEdges = useCallback(() => {
const el = trackRef.current;
if (!el) return;
const maxScroll = el.scrollWidth - el.clientWidth;
setAtStart(el.scrollLeft <= 1);
setAtEnd(el.scrollLeft >= maxScroll - 1);
}, []);
useEffect(() => {
updateEdges();
window.addEventListener("resize", updateEdges);
return () => window.removeEventListener("resize", updateEdges);
}, [updateEdges]);
const scrollByDir = useCallback((dir: 1 | -1) => {
const el = trackRef.current;
if (!el) return;
// Step by roughly one card width (incl. gap) so snapping lands cleanly.
const step = Math.max(el.clientWidth * 0.8, 260);
el.scrollBy({ left: dir * step, behavior: "smooth" });
}, []);
return (
<div style={{ position: "relative" }}>
<button
type="button"
aria-label="Previous"
onClick={() => scrollByDir(-1)}
disabled={atStart}
className="article-slider-nav"
style={{ left: "-0.6rem", opacity: atStart ? 0.35 : 1 }}
>
‹
</button>
<div
ref={trackRef}
onScroll={updateEdges}
style={{
display: "flex",
gap: "1rem",
overflowX: "auto",
scrollSnapType: "x mandatory",
scrollbarWidth: "none",
paddingBottom: "0.25rem",
}}
>
{articles.map((a) => (
<article
key={a.slug}
className="card hover"
style={{
padding: 0,
overflow: "hidden",
flex: "0 0 auto",
width: "clamp(220px, 70vw, 280px)",
scrollSnapAlign: "start",
}}
>
{a.image ? (
// biome-ignore lint/performance/noImgElement: external article image
<img className="article-img" src={a.image} alt="" />
) : (
<div className="article-img" />
)}
<div style={{ padding: "0.85rem" }}>
<h3 style={{ margin: "0 0 0.3rem", fontSize: "1rem" }}>
<Link href={`/news/${a.slug}`}>{a.title}</Link>
</h3>
<p className="muted" style={{ margin: 0 }}>
{a.excerpt}
</p>
</div>
</article>
))}
</div>
<button
type="button"
aria-label="Next"
onClick={() => scrollByDir(1)}
disabled={atEnd}
className="article-slider-nav"
style={{ right: "-0.6rem", opacity: atEnd ? 0.35 : 1 }}
>
›
</button>
<style>{`
.article-slider-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
width: 2.4rem;
height: 2.4rem;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--color-surface);
color: var(--color-text);
box-shadow: var(--shadow-card);
font-size: 1.4rem;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.15s ease, box-shadow 0.15s ease;
}
.article-slider-nav:hover:not(:disabled) {
box-shadow: var(--shadow-card-hover);
}
.article-slider-nav:disabled {
cursor: default;
}
`}</style>
</div>
);
}
+1 -23
View File
@@ -135,26 +135,4 @@ export function SkeletonCard({ lines = 3 }: { lines?: number }) {
);
}
export function SkeletonTable({ rows = 5 }: { rows?: number }) {
return (
<div className="content-card" style={{ padding: "0.5rem 1rem 1rem" }}>
{Array.from({ length: rows }).map((_, i) => (
<div key={i} style={{ display: "flex", alignItems: "center", gap: "0.75rem", padding: "0.6rem 0", borderTop: i > 0 ? "1px solid color-mix(in srgb, var(--color-text-muted) 12%, transparent)" : undefined }}>
{i === 0 ? (
<>
<Skeleton style={{ height: "12px", width: "30%" }} />
<Skeleton style={{ height: "12px", width: "20%" }} />
<Skeleton style={{ height: "12px", width: "25%", marginLeft: "auto" }} />
</>
) : (
<>
<Skeleton style={{ width: "28px", height: "28px", borderRadius: "8px" }} />
<Skeleton style={{ height: "14px", width: "35%" }} />
<Skeleton style={{ height: "14px", width: "20%", marginLeft: "auto" }} />
</>
)}
</div>
))}
</div>
);
}
+9
View File
@@ -0,0 +1,9 @@
/** Format a Date as 'YYYY-MM-DD HH:MM:SS' — used across admin and radio pages. */
export function formatDateTime(d: Date | null | undefined): string {
return d ? d.toISOString().slice(0, 19).replace("T", " ") : "";
}
/** Format a Date as 'YYYY-MM-DD' — used across radio list pages. */
export function formatDate(d: Date | null | undefined): string {
return d ? d.toISOString().slice(0, 10) : "";
}
+1 -3
View File
@@ -21,9 +21,7 @@
"admin": "Admin",
"openMenu": "Open menu",
"closeMenu": "Close menu",
"drawBadge": "Draw badge",
"openMenu": "Open menu",
"closeMenu": "Close menu"
"drawBadge": "Draw badge"
},
"header": {
"online": "{count} {hotel} online",
@@ -1,13 +0,0 @@
<!-- To: [email protected] | From: | Subject: Verify your email · Epicnabbo -->
<div style="font-family:sans-serif;line-height:1.5;color:#0f172a">
<h2 style="margin:0 0 0.5rem">Verify your email</h2>
<p>Welcome to Epicnabbo! Confirm this email address to finish setting up your account.</p>
<p style="margin:1.25rem 0">
<a href="https://epicnabbo.nl/verify?token=5e21ef6e09952e9bb7257d54c1fe896713c0f05e6d92a1f8669869d875ab2693&email=juanedavid%40hotmail.com"
style="display:inline-block;padding:0.6rem 1.2rem;border-radius:8px;background:#eeb425;color:#1a1a2e;font-weight:700;text-decoration:none">
Verify email
</a>
</p>
<p style="color:#64748b;font-size:0.875rem">If the button doesn't work, paste this link into your browser:</p>
<p style="color:#64748b;font-size:0.875rem;word-break:break-all">https://epicnabbo.nl/verify?token=5e21ef6e09952e9bb7257d54c1fe896713c0f05e6d92a1f8669869d875ab2693&email=juanedavid%40hotmail.com</p>
</div>
-74
View File
@@ -1,74 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:21 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: Dev Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
[2026-07-02 19:21:32] [INFO] Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260702-192111.log
[2026-07-02 19:21:32] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260702-192111.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-02 19:21:32] [OK] All commands available
✔ All directories exist
[2026-07-02 19:21:32] [OK] All directories exist
✔ 123GB disk available
[2026-07-02 19:21:32] [OK] 123GB disk available
 ERROR  DB connection failed
[2026-07-02 19:21:32] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-02 19:21:32] [WARN] Update had errors
Press Enter to continue...[?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:26 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: Dev Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
[2026-07-02 19:27:06] [INFO] Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260702-192641.log
[2026-07-02 19:27:06] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260702-192641.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-02 19:27:06] [OK] All commands available
✔ All directories exist
[2026-07-02 19:27:06] [OK] All directories exist
✔ 123GB disk available
[2026-07-02 19:27:06] [OK] 123GB disk available
 ERROR  DB connection failed
[2026-07-02 19:27:06] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-02 19:27:06] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:27 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:38 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: main Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl | Branch: main | Mode: full
[2026-07-07 14:39:18] [INFO] Site: https://epicnabbo.nl | Branch: main | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260707-143847.log
[2026-07-07 14:39:18] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260707-143847.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-07 14:39:18] [OK] All commands available
✔ All directories exist
[2026-07-07 14:39:18] [OK] All directories exist
✔ 126GB disk available
[2026-07-07 14:39:18] [OK] 126GB disk available
 ERROR  DB connection failed
[2026-07-07 14:39:18] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-07 14:39:18] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:39 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:44 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: main Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl | Branch: main | Mode: full
[2026-07-07 14:44:38] [INFO] Site: https://epicnabbo.nl | Branch: main | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260707-144421.log
[2026-07-07 14:44:38] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260707-144421.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-07 14:44:38] [OK] All commands available
✔ All directories exist
[2026-07-07 14:44:38] [OK] All directories exist
✔ 126GB disk available
[2026-07-07 14:44:38] [OK] 126GB disk available
 ERROR  DB connection failed
[2026-07-07 14:44:38] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-07 14:44:38] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:44 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
File diff suppressed because it is too large. Load diff
-159
View File
@@ -1,159 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 11:27 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: main Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl | Branch: main | Mode: full
[2026-07-08 11:27:55] [INFO] Site: https://epicnabbo.nl | Branch: main | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260708-112735.log
[2026-07-08 11:27:55] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260708-112735.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-08 11:27:55] [OK] All commands available
✔ All directories exist
[2026-07-08 11:27:55] [OK] All directories exist
✔ 128GB disk available
[2026-07-08 11:27:55] [OK] 128GB disk available
✔ Database connected
[2026-07-08 11:27:55] [OK] Database connected
 Step 2/8 — Update & Build Emulator 
Saved working directory and index state WIP on main: 1a05d0ed 🆙 Bump version to 4.2.49 [skip ci]
Your branch is up to date with 'origin/main'.
Updating 1a05d0ed..5c2c8013
Fast-forward
Emulator/pom.xml | 4 +-
.../habbo/habbohotel/rooms/RoomCycleManager.java | 123 ++-------
.../com/eu/habbo/habbohotel/rooms/RoomUnit.java | 20 +-
.../eu/habbo/habbohotel/rooms/RoomUnitManager.java | 280 +--------------------
4 files changed, 39 insertions(+), 388 deletions(-)
[?25l␍ ⠋ Backing up database... ␍ ⠙ Backing up database... ␍ ⠹ Backing up database... ␍ ⠸ Backing up database... ␍ ⠼ Backing up database... ␍ ⠴ Backing up database... ␍ ⠦ Backing up database... ␍ ⠧ Backing up database... ␍ ⠇ Backing up database... ␍ ⠏ Backing up database... ␍ ⠋ Backing up database... ␍ ⠙ Backing up database... ␍[?12l[?25h␍ ✔ Done
✔ Backup: 35M
[2026-07-08 11:28:29] [OK] Backup: 35M
[?25l ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... ⠇ Building emulator... ⠏ Building emulator... ⠋ Building emulator... ⠙ Building emulator... ⠹ Building emulator... ⠸ Building emulator... ⠼ Building emulator... ⠴ Building emulator... ⠦ Building emulator... ⠧ Building emulator... Line truncated
11:28:42.663 WARN [main ] FurnidataReader | FurnidataReader: ignoring out-of-base file /tmp/junit-2680494782301105986/furnidata/core/../../secret.json
11:28:42.669 WARN [main ] FurnidataReader | FurnidataReader: /tmp/junit-4684459296101932112/FurnitureData.json is 292 bytes, over cap 8 — refusing
11:28:42.679 WARN [main ] FurnidataReader | FurnidataReader: /tmp/junit-4000087741262526872/furnidata/manifest.json is 1850 bytes, over cap 8 — refusing
11:28:43.087 INFO [main ] Version | HV000001: Hibernate Validator 9.1.2.Final
␍[?12l[?25h␍ ✔ Done
✔ Jar: Habbo-4.2.50-jar-with-dependencies.jar
[2026-07-08 11:28:51] [OK] Jar: Habbo-4.2.50-jar-with-dependencies.jar
✔ Launch script updated
[2026-07-08 11:28:51] [OK] Launch script updated
 Step 3/8 — Update Nitro_Render_V3 
No local changes to save
Your branch is up to date with 'origin/main'.
Already up to date.
➜ Renderer: already up to date
[2026-07-08 11:29:11] [INFO] Renderer: already up to date
 Step 4/8 — Update & Build Nitro-V3 
No local changes to save
Your branch is up to date with 'origin/main'.
Already up to date.
➜ Nitro-V3: already up to date
[2026-07-08 11:29:32] [INFO] Nitro-V3: already up to date
 Step 5/8 — Sync Configurations 
✔ 18 config file(s) synced
[2026-07-08 11:29:33] [OK] 18 config file(s) synced
➜ Applying critical config URLs...
[2026-07-08 11:29:33] [INFO] Applying critical config URLs...
[OK] Fixed: renderer-config.json
[OK] Fixed: renderer-config.json
[OK] Fixed: ui-config.json
[OK] Fixed: ui-config.json
✔ All config URLs synced
[2026-07-08 11:29:33] [OK] All config URLs synced
 Step 6/8 — Cleanup 
yarn cache v1.22.22
success Cleared cache.
Done in 0.05s.
✔ Cleanup done (0 logs removed)
[2026-07-08 11:29:33] [OK] Cleanup done (0 logs removed)
 Step 7/8 — Set Permissions 
✔ Permissions set
[2026-07-08 11:29:35] [OK] Permissions set
 Step 8/8 — Restart Services 
✔ emulator restarted
[2026-07-08 11:29:35] [OK] emulator restarted
✔ Nginx reloaded
[2026-07-08 11:29:36] [OK] Nginx reloaded
OK
✔ Redis flushed
[2026-07-08 11:29:36] [OK] Redis flushed
╔══════════════════════════════════════════════════════════════════╗
║ ✔ UPDATE COMPLETED SUCCESSFULLY ║
╠══════════════════════════════════════════════════════════════════╣
║ Duration: 2m 1s ║
║ Updates: Yes ║
║ Nitro build: No ║
║ Warnings: 0 ║
║ Repos: Emulator ║
╚══════════════════════════════════════════════════════════════════╝
Press Enter to continue..../update-Nitrov3.sh: line 929: read: 0: read error: Input/output error