# Commands & Permissions

## Commands and Permissions&#x20;

### **/advancedmodels** - Main Command

<table data-full-width="true"><thead><tr><th>Command</th><th>Description</th><th>Permission</th></tr></thead><tbody><tr><td><code>/am list [page]</code></td><td>List all models</td><td><code>advancedmodels.command.list</code></td></tr><tr><td><code>/am spawn &#x3C;model> [params]</code></td><td>Spawn a model at your location</td><td><code>advancedmodels.command.spawn</code></td></tr><tr><td><code>/am give &#x3C;player> &#x3C;model> &#x3C;amount> [params]</code></td><td>Give player a model item</td><td><code>advancedmodels.command.give</code></td></tr><tr><td><code>/am menu</code></td><td>Open the models menu</td><td><code>advancedmodels.command.menu</code></td></tr><tr><td><code>/am reload</code></td><td>Reload all configuration and models</td><td><code>advancedmodels.command.reload</code></td></tr><tr><td><code>/am info &#x3C;model></code></td><td>Get information about a model</td><td><code>advancedmodels.command.info</code></td></tr></tbody></table>

## Give Models With Colors

To give models with customised parameters, you will need to use `/am` give command and define parameters.&#x20;

To figure out what customisable parameters model has, use `/am info <model>` command. In our example, we can see the allowed values:

<div align="center"><figure><img src="https://957213250-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjKIAfQ93wS8o72ak0qY%2Fuploads%2F7jIqaanBaDFxdzJBTYof%2Fimage.png?alt=media&#x26;token=66b31de1-4809-474f-8f56-daf8d1d8c9a2" alt=""><figcaption></figcaption></figure></div>

We can see model has one parameter, called `bedColor`, and all the possible colors are allowed. Let's use LIME. In our case, the give command would look like this:

`/am give Player bed 1 bedColor:LIME` and that's it!&#x20;

If we did not specifiy any parameters, it would default to what is set as a default value for model. In this case it would be `RED`.&#x20;

### Multiple parameters

If our model has multiple parameters, we format our command like this:

`/am give Player bed 1 bedColor:ORANGE,bedWood:OAK`&#x20;

Each parameter:value is separated by a comma. Make sure there are no spaces - this is important.
