尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Server website for VitalRP
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗🌐 Official Website • 💬 Discord Community • 🛒 Tebex Store • 👕 Merch Shop
"Live the story you choose. Experience unmatched roleplay, high-octane emergencies, and thriving criminal syndicates in Los Santos."
Vital Roleplay is a premier, serious GTA V FiveM community focused on authentic storytelling, deep character development, and adrenaline-fueled roleplay. Whether upholding the law as a San Andreas State Trooper, saving lives with Emergency Medical Services, running legitimate businesses, or dominating the city’s underground cartels, Vital RP delivers an unrivaled community-driven experience.
fivem://connect/ launch buttons for instant city entry.public.profiles.owner > admin > staff > user)./admin) for staff roster coordination, gallery curation, and server settings.JPEG, PNG, WEBP, GIF), and prevents oversized payloads.#f97316) accents.| Layer | Technology | Purpose |
|---|---|---|
| Framework | Next.js 15 (App Router) | Hybrid SSG/SSR, Server Actions & edge API routes |
| Language | TypeScript 5.8 | End-to-end type safety & strict interface typing |
| Styling | Tailwind CSS + Lucide | Curated design system, responsive utilities & iconography |
| Animations | Framer Motion | Physics-based spring animations & interactive reveals |
| Auth & DB | Supabase (PostgreSQL) | Discord OAuth, session tokens, RLS & auto-sync trigger |
| Media Host | FiveManage API v3 | High-speed CDN asset delivery for user and staff media |
| Deployment | Vercel | Edge-deployed serverless Next.js runtime |
git clone https://github.com/derioz/VitalRP.git
cd VitalRP
git checkout rebuild-v2
npm install
Create a .env.local file in the project root:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=https://<your-project-id>.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# Discord OAuth 2.0 Credentials
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_REDIRECT_URI=http://localhost:3000/api/auth/discord/callback
# FiveM / CFX Server
CFX_SERVER_ID=ogpvmv
# FiveManage Media Upload (Server-only)
FIVEMANAGE_API_KEY=your_fivemanage_api_key
npm run dev
Open http://localhost:3000 to view the application.
vitalrp/
├── app/ # Next.js 15 App Router
│ ├── admin/ # Protected admin portal (staff, gallery, settings)
│ ├── api/ # Server-side API routes (auth, upload, cfx population)
│ ├── auth/callback/ # Supabase OAuth PKCE callback exchange
│ ├── layout.tsx # Root HTML layout & fonts
│ └── page.tsx # High-immersion homepage
├── components/ # Modular UI Components
│ ├── admin/ # Admin layout & management shells
│ ├── AuthProvider.tsx # Client authentication context
│ ├── Hero.tsx # Horizontal scroll cinematic showcase
│ ├── Navbar.tsx # Dynamic navigation & mobile drawer
│ ├── Gallery.tsx # Community media showcase
│ └── Footer.tsx # Brand footer & secret admin lock trigger
├── lib/ # Shared Utilities & Clients
│ ├── auth/ # RBAC permissions & session handlers
│ └── supabase/ # Browser, server, and admin Supabase instances
└── supabase_schema.sql # PostgreSQL schema, RLS policies & triggers