From 1806bf1ff9d2ff69e4cfb20897793c5735a9018a Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Thu, 5 Nov 2026 16:16:56 +0100 Subject: [PATCH] Retire the paid FiveM shop, the scripts are free on GitHub now MSK Garage, MSK Handcuffs and MSK VehicleKeys move to the free tier and the all-access subscription is switched off. Nothing is sold through Tebex any more, so the parts of the shop that only made sense with something to buy redirect or disappear: - /fivem/garage, /fivem/handcuffs, /fivem/vehiclekeys and /fivem/all-access answer 301 with the GitHub repository (the org for the subscription), in both languages and for every old address with a Tebex package id (/packages/, /package/, /fivem/). The ids are kept in lib/retiredProducts.ts. The query of the old address is not carried over to GitHub. - The catalogue, the category pages, cart and checkout answer 308 with the free scripts page of the same language. - Header, footer, mobile menu, hero, about and 404 page link to the free scripts instead of the catalogue. The cart button, cart drawer and sale price fetcher are gone from the layout, the paid catalogue from the homepage. - The three scripts are listed on /fivem/free and the homepage with their docs links. Sitemap and llms.txt no longer list product or category pages and no longer call Tebex. The Tebex client, the product model, the basket API and the old pages stay in the code for a separate cleanup. Their tests run against the last paid configuration (tests/fixtures/paidCatalogue.ts). --- README.md | 2 +- app/[lang]/(site)/about/page.tsx | 6 +- app/[lang]/(site)/fivem/free/page.tsx | 11 +-- app/[lang]/(site)/layout.tsx | 7 +- app/[lang]/(site)/page.tsx | 18 +--- app/llms.txt/route.ts | 19 +--- app/sitemap.xml/route.ts | 3 +- components/home/Hero.tsx | 16 ++-- components/layout/Footer.tsx | 1 - components/layout/Header.tsx | 31 ++---- components/layout/MobileMenu.tsx | 4 +- components/layout/NotFoundContent.tsx | 2 +- components/layout/navigation.ts | 10 +- content/custom-packages.ts | 70 ++++++++++++-- content/resource-stats.ts | 40 ++++---- docs/development.md | 4 +- docs/features.md | 2 + lib/config.ts | 9 +- lib/i18n.ts | 23 ++--- lib/llms.ts | 28 ++---- lib/pageSeo.ts | 12 +-- lib/retiredProducts.ts | 46 +++++++++ lib/routes.ts | 40 +++++++- lib/sitemap.ts | 68 ++------------ proxy.ts | 6 +- tests/cart.test.ts | 13 +++ tests/fixtures/paidCatalogue.ts | 20 ++++ tests/llms.test.ts | 44 +++------ tests/notFoundPage.test.ts | 32 ++++--- tests/products.test.ts | 13 +++ tests/routes.test.ts | 130 ++++++++++++++++---------- tests/sitemap.test.ts | 81 +++------------- 32 files changed, 427 insertions(+), 384 deletions(-) create mode 100644 lib/retiredProducts.ts create mode 100644 tests/fixtures/paidCatalogue.ts diff --git a/README.md b/README.md index 536e172..ef016b6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The headless storefront behind [msk-scripts.de](https://www.msk-scripts.de), built on Next.js 16, React 19, TypeScript, Tailwind CSS and MariaDB. -It sells FiveM resources through the Tebex Headless API and doubles as the management platform for the Discord Ticket Bot and the Giveaway Bot: API keys, Stripe subscriptions, hosted transcripts, custom domains and fully hosted bots. It also runs the MSK image gallery and its CDN. +It used to sell FiveM resources through the Tebex Headless API; since November 2026 those scripts are free on GitHub and the paid shop is switched off. It doubles as the management platform for the Discord Ticket Bot and the Giveaway Bot: API keys, Stripe subscriptions, hosted transcripts, custom domains and fully hosted bots. It also runs the MSK image gallery and its CDN. **This is not an open-source project.** The code is public to read, not free to use, see [License](#license). diff --git a/app/[lang]/(site)/about/page.tsx b/app/[lang]/(site)/about/page.tsx index 39974fe..111acf4 100644 --- a/app/[lang]/(site)/about/page.tsx +++ b/app/[lang]/(site)/about/page.tsx @@ -74,9 +74,9 @@ export default async function AboutPage() { ] const lines = [ - { href: '/fivem', title: home.entry_fivem, sub: home.entry_fivem_sub }, - { href: '/discord', title: home.entry_discord, sub: home.entry_discord_sub }, - { href: '/tools', title: home.entry_tools, sub: home.entry_tools_sub }, + { href: '/fivem/free', title: home.entry_fivem, sub: home.entry_fivem_sub }, + { href: '/discord', title: home.entry_discord, sub: home.entry_discord_sub }, + { href: '/tools', title: home.entry_tools, sub: home.entry_tools_sub }, ] const links = [ diff --git a/app/[lang]/(site)/fivem/free/page.tsx b/app/[lang]/(site)/fivem/free/page.tsx index 7a2e1c0..c9bbc3a 100644 --- a/app/[lang]/(site)/fivem/free/page.tsx +++ b/app/[lang]/(site)/fivem/free/page.tsx @@ -27,6 +27,9 @@ import { getRequestLang } from '@/lib/serverLang' * * No pictures: the entries in the content file only have banners, which are * the identical product banners of the exclusion list (4.2). + * + * Since 05.11.2026 this is the only FiveM page: the paid scripts are free on + * GitHub, and the old catalogue redirects here. */ export async function generateMetadata(): Promise { @@ -68,18 +71,12 @@ export default async function FreeScriptsPage() { id="free-title" crumbs={[ { label: crumbs.breadcrumb_home, href: '/' }, - { label: crumbs.breadcrumb_fivem, href: '/fivem' }, { label: nav.nav_fivem_free }, ]} kicker={home.free_kicker} title={} lead={home.free_scripts_subtitle} - actions={ - <> - {p.servers_source} - {p.paid} - - } + actions={{p.servers_source}} />
diff --git a/app/[lang]/(site)/layout.tsx b/app/[lang]/(site)/layout.tsx index ef08c8c..0e40138 100644 --- a/app/[lang]/(site)/layout.tsx +++ b/app/[lang]/(site)/layout.tsx @@ -1,8 +1,6 @@ import { getRequestLang } from '@/lib/serverLang' import { Header } from '@/components/layout/Header' import { Footer } from '@/components/layout/Footer' -import { CartDrawer } from '@/components/cart/CartDrawer' -import { SalePriceFetcher } from '@/components/SalePriceFetcher' import { NewsPopup } from '@/components/ui/NewsPopup' import { JsonLd } from '@/components/JsonLd' import { organizationJsonLd } from '@/lib/jsonLd' @@ -10,7 +8,8 @@ import { loadNewsPopup } from '@/lib/siteSettings' import { isBotPath } from '@/lib/routes' /** - * The frame of the public site: header, cart drawer, news popup, footer. + * The frame of the public site: header, news popup, footer. The cart drawer + * and the Tebex sale price fetcher left with the paid scripts (05.11.2026). * * A route group of its own since Phase 7 of the redesign (plan 6.3). Until * then this sat in the root layout, and the three dashboards ran inside the @@ -36,8 +35,6 @@ export default async function SiteLayout({ children }: { children: React.ReactNo <>
- -
{children}