Home/ Store/ Hotel Business
NEW
Gameplay· Gas Team Developers

Hotel Business

v1.0.0 Updated July 2026 Qbox / QBCore / ESX

Create hotels entirely in-game, rent rooms with rotating keypad door codes driven by ox_doorlock, and run the revenue through a per-hotel treasury. Qbox, QBCore and ESX auto-detected.

RR-Hotel is a complete, self-contained hotel business. Admins and owners create hotels entirely in-game from the /hotels dashboard — stand at the front desk, click Use My Position, done. Guests walk up, press [E], pick a room and number of nights, pay cash or bank, and get a door code instantly. Codes rotate on every booking and checkout, so past guests can never re-enter.

Features

  • Create hotels in-game — no coordinates to copy, no config files to edit.
  • Keypad door codes driven by ox_doorlock — custom or random codes, one-click regenerate, auto-rotation on booking and checkout.
  • Per-hotel blip control (sprite, color, scale, on/off) editable live from the NUI.
  • Owner system — admins assign an owner per hotel; owners manage only their own hotels.
  • Treasury with withdraw/deposit, booking history (last 50), and a 7-day revenue KPI.
  • Guest “My Stay” panel with live countdown, automatic checkout, and early self-checkout.
  • Bookings stored with absolute expiry timestamps — stays survive server restarts.
  • Database tables auto-created on first start; full locale support via ox_lib.
BusinessESXFiveMQBCoreQbox

Create Hotels In-Game

Stand at the front desk, click Use My Position, done. Blip appears on the map immediately.

Rotating Door Codes

ox_doorlock keypads with per-stay codes that auto-rotate on every booking and checkout.

Owner System

Assign an owner per hotel — owners manage their own rooms, codes, blips and treasury.

Hotel Treasury

Booking revenue lands in each hotel's treasury with owner withdraw/deposit and a 7-day revenue KPI.

Walk-Up Booking

Guests press [E] at the desk, pick a room and nights, pay cash or bank, and get their code instantly.

Restart-Proof Stays

Bookings persist in MySQL with absolute expiry — automatic checkout locks the door and rotates the code.

Installation Steps

  1. Download and extract rr-hotel into your resources folder
  2. Add 'ensure rr-hotel' to your server.cfg after ox_lib, oxmysql, your framework and ox_doorlock
  3. Restart — database tables are created automatically on first start
  4. Run /hotels as an admin, type a hotel name, stand at the front desk and click Use My Position
  5. Create room doors in ox_doorlock, then add rooms in the Rooms tab with their door IDs

Dependencies

  • ox_lib
  • oxmysql
  • ox_doorlock (optional, strongly recommended)
  • Qbox / QBCore / ESX (auto-detected)

Commands

CommandDescription
/hotelsOpen the hotel management dashboard (admins + assigned owners)