Kartik Scripts

Public Properties

Kartik Properties features support for Public Properties (such as discoverable drug labs, public hubs, stash houses, or communal spaces). This allows players to discover, enter, and use property facilities (like stashes, wardrobes, and furniture tools) without buying or renting them.


How it works

  1. Discovery & Open Access: Public properties are permanently unlocked (locked = 0 on server startup). Anyone can walk up to the entrance and enter.
  2. Door Locks Blocked: Since these properties are intended for public use, players cannot lock the doors. Toggling the lock (either via the radial menu, keyboard shortcuts, or admin panels) is blocked and triggers a notification.
  3. Non-Sellable & Non-Transferable:
    • Public properties cannot be listed on the market (for sale, rent, or auction). The "Sell / Rent" tab in the management interface is dynamically hidden.
    • Deed transfers are blocked on both the NUI and the server.
  4. Entrance Interface:
    • On the entrance unit selection menu, the status badge for a public property displays as Public instead of "Private" or "Unlocked".
    • The entry 3D prompt displays as Public - [E] Enter [G] Knock and hides keybinds for locking.
    • In the building directory tablet list, the property displays a green Public badge.

Setup & Configuration

A property is flagged as public using the is_public database field:

  • Database Schema: Column is_public TINYINT(1) NOT NULL DEFAULT 0 on the kp_properties table.
  • Toggle via Settings: Management / Admin users with management permissions can toggle the Public Access switch under the Settings tab in the property management panel.

On this page