BLVCK Motel Creator [OS]
CodeM BLVCK Motel Creator - Premium Motel & Hotel Management System for FiveM
A complete motel and hotel management system where admins create motels from an in-game tablet with camera-based point placement, owners manage rooms and staff from a business panel, tenants rent and manage keys from a phone app, and police raid rooms with warrants and skill checks. 3 interior types (shell, IPL, MLO), daily/weekly/monthly rental with auto-renew and dynamic pricing, 7 employee permissions, room amenities with animations and PTFX, elevators, garages, lost & found, finance with vault and transaction log, preset MLO hotel support, and a companion phone app supporting 7 phone resources and 8 languages. 16 database tables, 2 resources, React NUI.
FEATURES
- Admin creator tablet (/motelcreator) with step-by-step motel creation wizard - name, location, interior type, room configuration, point placement (doors, stashes, wardrobes, beds, showers, toilets, exit points), front desk NPC, lost & found cart, elevator floors, garage, blip settings with full GTA blip sprite picker, and review step
- Every point placed by walking to the position in-game with a preview camera - ENTER to confirm, BACKSPACE to cancel - shell interiors previewed underground before placement
- One-click preset MLO hotel install from shared/presets.lua - each preset defines all rooms, doors, stashes, wardrobes, beds, showers, toilets, front desk, and lost & found for a specific MLO map resource (Mirror Hotel & Restaurant included as default)
- Creator limits: up to 200 rooms, 20 interiors, 10 front desks, 30 elevator floors, 20 points per room - all server-enforced
- 3 interior types per motel: Shell (instanced rooms spawned in an underground grid, each occupied room gets its own shell instance, 2 starter shells included - Standard Motel and Modern Hotel), IPL (GTA interior instances isolated in routing buckets with entity set support, 7 presets included - Low/Mid apartments, Del Perro Heights, Richard Majestic, Tinsel Towers, Eclipse Towers High/Mid/Low), and MLO (real-world map interiors with physical prop doors that lock/unlock, requires the MLO map resource to be running)
- Add custom shells by dropping .ydr/.ytyp into stream/ and adding an entry to Config.Interiors with ref, label, type, and model name
- Daily, weekly, or monthly rental periods configurable per motel - tenant auto-renew from bank with configurable retry interval (30 minutes default) on failed charge - grace period after expiry (24 hours default) before room is reclaimed - dynamic pricing with configurable swing percentage (20% default) in two directions: 'up' (price rises as motel fills) or 'down' (price drops as it empties)
- Tax (15% default), discount (0% default), per-room pricing, duplicate key cost ($55 default), max rooms per player per motel and total (both configurable, 0 = unlimited), max renew terms per period (30 daily, 12 weekly, 12 monthly)
- Two key modes: 'cid' (character-based record, works with any inventory) or 'item' (physical motel_key item with room metadata in supported inventories)
- Lost & found system: when a tenant is evicted or their lease expires, items left in the stash are moved to the motel's lost & found point (codem_trolley prop) for collection
- Owner management tablet (/motel) with sidebar navigation: Dashboard (stats cards for income, occupied rooms, customers + revenue chart + activity log), Rooms (occupancy, tenant details, evict, change room assignments), Customers (tenant list with rental status), Employees (hire/fire, permission editing), Finance (vault balance, deposit/withdraw from cash or bank, transaction log with timestamps), Settings (motel name, room price, key cost, tax %, discount %, rental period, dynamic pricing toggle and direction, enforcement toggle, description)
- Sell motel back to server at 50% of sale price (configurable) or transfer ownership to another player
- Auto-repossession after 7 days of inactivity (configurable) - if neither the owner nor any employee opens the tablet, the motel is repossessed: owner cleared, employees fired, balance zeroed, back on the market - tenants keep their rooms
- Hire nearby players (10m radius) as employees with 7 granular permissions: door access, evict tenant, change tenant room, duplicate key, message tenants, finance deposit, finance withdraw - employee roster with names, permissions, and hire dates
- Room amenities placed per-room from the creator tablet: bed (multiple sleep animation options tried in order with configurable z-offset and heading offset for alignment), shower (standing animation with water PTFX from above using inverted car-wash jet with configurable height and scale, fallback PTFX chain), toilet (sitting animation with height offset)
- Multi-floor elevator system with up to 30 floors - floor picker NUI panel - elevator points placed per floor from the creator tablet
- Vehicle garage per motel integrated via codem-lib garage provider with configurable vehicle type and preview model
- Police raid system with configurable enforcement per motel: required warrant item (police_warrant), job whitelist (police/sheriff/bcso), minimum grade, on-duty requirement, skill check gate (configurable difficulty and input keys), 5-minute cooldown per room, optional stash access after successful raid - raid logs stored in codem_motel_raid_logs with officer, room, reason, and timestamp - warrant item optionally consumed on use
- Front desk NPCs with configurable model and scenario per motel - default model a_m_y_business_01 with WORLD_HUMAN_CLIPBOARD scenario - globally toggleable
- Map blips grouped under one collapsible legend category (configurable ID and label) so multiple motels don't clutter the pause map
- World markers per interaction kind (door, desk, elevator, garage, wardrobe, stash, bed, shower, toilet) with per-kind type, color, size, draw distance, and interact distance overrides
PHONE APP (codem-motelapp)
- Companion phone app for tenants - browse available rooms at nearby motels, rent directly from the phone, manage keys (issue/revoke duplicate keys), view room details and rental status, extend rental periods, toggle auto-renew
- Auto-detects phone resource: codem-phone, lb-phone, gksphone, 17mov_Phone, cylex_phone, yseries, yflip-phone
- 8 locales: English, Turkish, French, German, Hungarian, Portuguese (BR), Swedish, Bosnian
- Vue.js NUI with dark/light theme support, currency symbol configurable
COMPATIBILITY
- Frameworks: QBCore, QBox, ESX (auto-detected via codem-lib)
- Database: oxmysql - 16 tables (AutoMigrate creates and migrates on start)
- Dependencies: ox_lib, codem-lib
- Interaction: ox_target/qb-target or drawtext with per-kind overrides (doors default to drawtext)
- Inventory: ox_inventory for stashes (via codem-lib)
- Garage: auto-detected via codem-lib garage provider
- Locale: English + Turkish (creator tablet), 8 languages (phone app)
- Streamed props: 2 shell models (standardmotel_shell, modernhotel_shell) + codem_trolley (lost & found cart)
- Escrow-ignored: config.lua, server/editable.lua, shared/presets.lua, locale/*.lua
PACKAGE
- codem-motelcreator: main resource (admin tablet, owner tablet, world interactions, rental engine, raid system)
- codem-motelapp: phone app for tenant room management
Documentation:https://codem.gitbook.io/codem-documentation/blvck/essentials/motel-creator
Verified: yes
Framework: ESX,QBCore,QBox
SubscriptionTiers: Platinum,Diamond