尚未检测到更新。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