# Commands

<mark style="color:green;">**Green**</mark> can be used by users (some commands may be restricted to property owners only), <mark style="color:red;">**Red**</mark> is only usable by the `Config.AllowedLicenses = { "license:abc" }` and  <mark style="color:orange;">**Orange**</mark> can only be used by the owner and tenants of the house.

<table><thead><tr><th width="239">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;"><strong>/buyhouse</strong></mark></td><td>Purchases a property that’s currently for sale.</td></tr><tr><td><mark style="color:green;"><strong>/sellhouse</strong></mark></td><td>Sells the property back to the server.</td></tr><tr><td><mark style="color:green;"><strong>/transferhouse</strong></mark></td><td>Transfers ownership of a property to another player. (Can be used for hand-to-hand sales.)</td></tr><tr><td><mark style="color:green;"><strong>/propertiesforsale</strong></mark></td><td>Displays all properties available for purchase as blips on the map.</td></tr><tr><td><mark style="color:green;"><strong>/refreshinterior</strong></mark></td><td>Refreshes the interior.</td></tr><tr><td><mark style="color:green;"><strong>/gotoentrance</strong></mark></td><td>Teleports the player to the entrance of the property.</td></tr></tbody></table>

<table><thead><tr><th width="239">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:orange;"><strong>/map</strong></mark></td><td>Opens the main menu for interior design, tenant management, and much more. </td></tr><tr><td><mark style="color:orange;"><strong>/lockhouse</strong></mark></td><td>Locks or unlocks the property.</td></tr><tr><td><mark style="color:orange;"><strong>/setexithouse</strong></mark></td><td>Sets the interior entry point. (Defines the entry location inside the property, where players will appear upon entering the interior.)</td></tr><tr><td><mark style="color:orange;"><strong>/addtenant</strong></mark></td><td>Used as <code>/addtenant &#x3C;ServerID> &#x3C;1 or 2></code>, this command allows you to add a player as a tenant.<br>Level 1 grants access to unlock doors, while Level 2 also gives access to the <code>/map</code> menu.</td></tr></tbody></table>

<table><thead><tr><th width="239">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;"><strong>/createhousing</strong></mark></td><td>Used as <code>/createhousing &#x3C;Name> &#x3C;Price></code>, this command creates a purchasable house at your current location.</td></tr><tr><td><mark style="color:red;"><strong>/forcepropertylock</strong></mark></td><td>Changes the property’s locks. Must be used near the property.</td></tr><tr><td><mark style="color:red;"><strong>/manageproperties</strong></mark></td><td>Opens the property management menu.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://789.gitbook.io/789/items/premium-properties/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
