HTN Framework

(Untitled)

17 May 2026

HTNFW Housing Guide

This section explains how to use the HTNFW housing system to create, purchase, and customize houses.

Adding New Houses

  1. Open the Housing Config:
    • Navigate to the htn-housing resource folder.
    • Open the following file:
      • shared/config.lua
  2. Create a New House Entry:
    • Copy one of the existing house examples from the config.
    • Set the front door and back door coordinates using /coords in-game.
    • Give the house an address. This can be anything you want.
    • Assign a shell type for the interior.
    • Restart the resource to apply the changes.

Available Shell Types

--[[
    Shell Types:
    - highHouse
    - midHouse
    - lowHouse
    - midApartment
    - lowApartment
    - trailer
]]--

Selling a House

  1. Go to the Front Door:
    • Stand at the front door of the house you want to sell.
  2. Open the Realtor Menu:
    • Use the command /realtor to open the context menu.
  3. Attempt a Sale:
    • Click Attempt Sale in the menu.
    • Enter the State ID of the player you are selling the house to.
    • Input the sale price and click Submit.
  4. Accept the Sale:
    • The buyer must use /saleaccept to accept the house purchase.

Entering Your House

  1. Go to the Front Door:
    • Return to the house you purchased.
  2. Enter the Property:
    • Open your radial menu and select Enter House.

Editing Your House

  1. Open Edit Mode:
    • While inside the house, use the command /edit.
  2. Customize the Property:
    • From the menu, you can place:
      • Storage locations
      • Clothing/Logout locations
      • Back door locations
      • Furniture using the furnishing menu

Setting a Personal Garage

  1. Go Outside the House:
    • Stand in the location where you want your garage to be.
  2. Set the Garage Location:
    • Use /edit and select the option to set your personal garage location.

Note: Make sure all house coordinates and shell types are configured correctly in the config file before attempting to sell or enter the property.