> For the complete documentation index, see [llms.txt](https://docs.anotherlevel.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anotherlevel.it/documentation/motels/commands.md).

# Commands

### Admin Commands

All admin commands start with `/moteladmin`.

General Management:

* `/moteladmin check` (Permission: anotherlevel.motels.admin.check) Verifies if motel bookings have expired.
* `/moteladmin reload` (Permission: anotherlevel.motels.admin.reload) Reloads all plugin configurations.
* `/moteladmin menu` (Permission: anotherlevel.motels.admin.menu) Opens the motel administration menu.
* `/moteladmin help` (Permission: anotherlevel.motels.admin.help) Displays help information for admin commands.
* `/moteladmin bugreport` (Permission: anotherlevel.motels.admin.bugreport) Generates a bug report for the plugin.

Motel Management:

* `/moteladmin add <regionId> <price> <displayName>` (Permission: anotherlevel.motels.admin.add) Creates a new motel with specified region ID, price, and display name.
* `/moteladmin remove <motelRegionId>` (Permission: anotherlevel.motels.admin.remove) Deletes an existing motel.
* `/moteladmin set-location <motelRegionId>` (Permission: anotherlevel.motels.admin.set-location) Sets the location of a motel.
* `/moteladmin change-type <motelId> <type>` (Permission: anotherlevel.motels.admin.change-type) Changes the type of a motel.
* `/moteladmin set-expiration-date <motelId> <day> <month> <year>` (Permission: anotherlevel.motels.admin.set-expiration-date) Sets the expiration date for a motel.
* `/moteladmin set-displayname <motelId> <displayName>` (Permission: anotherlevel.motels.admin.set-displayname) Sets or changes the display name of a motel.

Player Management:

* `/moteladmin vault <playerName> <motelName>` (Permission: anotherlevel.motels.admin.vault) Checks the vault of a specified player at a specific motel.

### Player Commands

All player commands start with `/motel`.

Motel Interaction:

* `/motel buy [motelName]` (Permission: anotherlevel.motel.buy) Buys a motel room. The motel name is optional.
* `/motel sell` (Permission: anotherlevel.motel.sell) Sells the player's motel.
* `/motel info` (Permission: anotherlevel.motel.info) Displays detailed information about the motel.
* `/motel vault` (Permission: anotherlevel.motel.vault) Opens the player's motel room vault.
* `/motel visitable` (Permission: anotherlevel.motel.visitable) Toggles whether the motel is visitable by other players.

Rental Management:

* `/motel rent <action>` (Permission: anotherlevel.motel.rent) Manages rental payments and extensions. Actions: pay, extend, info
* `/motel rent info` (Permission: anotherlevel.motel.rent) Shows details about the player's current rental.

Navigation and Exploration:

* `/motel gps [room]` (Permission: anotherlevel.motel.gps) Starts GPS navigation to a motel room.
* `/motel visit <targetPlayer>` (Permission: anotherlevel.motel.visit) Visits another player's motel if visitable.
* `/motel teleport` (Permission: anotherlevel.motel.teleport) Teleports to your own motel.
* `/motel explore [group]` (Permission: anotherlevel.motel.explore) Opens the explore motel interface. Optionally specify a group.

Miscellaneous:

* `/motel menu` (Permission: anotherlevel.motel.command) Opens a menu encompassing all motel-related functions.
* `/motel help` (Permission: anotherlevel.motel.help) Displays help information for player commands.
* `/motel expired` (Permission: anotherlevel.motel.expired) Shows a list of the player's expired motels.

Note: Some commands may require the player to be inside a motel region to function properly. The availability of certain features (like GPS navigation) may depend on server configuration and compatible plugins.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.anotherlevel.it/documentation/motels/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
