> For the complete documentation index, see [llms.txt](https://titans-productions.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://titans-productions.gitbook.io/documentation/redm/scripts/companies/commands.md).

# Commands

`@param` \[jobname] : The company's registered job name used to identify and reference the company within the system. The value must match an existing job name that has already been registered.

`@param` \[state] : Requires a numeric value that determines the current state of the company or feature. Use `0` to disable/deactivate it and `1` to enable/activate it.

`@param` \[weight] : Specifies the total storage weight capacity to be created. The value represents the maximum amount of weight the storage can hold and should be provided as a valid numeric value.

`@param` \[cost] : Requires a numeric value representing the monetary cost associated with the command.

`@param` \[max\_employees] : Specifies the maximum number of employees that the company is allowed to have at any given time. The value must be a positive whole number and determines the company's total employee capacity.

| Command                                                      | Ace Permission                          | Description                                                                                                                                                     | Console / TXAdmin Console Support |
| ------------------------------------------------------------ | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| company:create                                               | tp\_companies.create                    | Perform this command to create a new job company.                                                                                                               | No                                |
| company:set\_management\_position \[jobname]                 | tp\_companies.set\_management\_position | Perform this command to set the main management position of a company. The position coords will be where the player will execute this command.                  | No                                |
| company:set\_wardrobe \[jobname] \[state]                    | tp\_companies.set\_wardrobe             | Perform this command to allow or not having a wardrobe on the input company.                                                                                    | Yes                               |
| company:set\_storage \[jobname] \[state] \[weight]           | tp\_companies.set\_storage              | Perform this command to allow or not having a storage on the input company. The weight is required only when creating a storage for first time on this company. | Yes                               |
| company:set\_register \[jobname] \[state]                    | tp\_companies.set\_register             | Perform this command to allow or not having a register on the company.                                                                                          | Yes                               |
| company:set\_cost \[jobname] \[cost]                         | tp\_companies.set\_cost                 | Perform this command to set a cost of purchase on a company.                                                                                                    | Yes                               |
| company:set\_duty \[jobname] \[state]                        | tp\_companies.set\_duty                 | Perform this command to allow or not having a duty system on the company.                                                                                       | Yes                               |
| company:set\_maximum\_employees \[jobname] \[max\_employees] | tp\_companies.set\_maximum\_employees   | Perform this command to set / change the maximum employees limit of a company.                                                                                  | Yes                               |
| company:set\_tax\_cost \[jobname] \[cost]                    | tp\_companies.set\_tax\_cost            | Perform this command to set / change the tax cost for a company.                                                                                                | Yes                               |
| company:reset\_tax \[jobname]                                | tp\_companies.reset\_tax                | Perform this command to reset a company's tax duration.                                                                                                         | Yes                               |
| company:clear\_ownership \[jobname]                          | tp\_companies.clear\_ownership          | Perform this command to clear from the a company the ownership from the one that it belongs to.                                                                 | Yes                               |
| company:delete \[jobname]                                    | tp\_companies.delete                    | Perform this command to delete a company permanently                                                                                                            | Yes                               |

The ace permission: `tp_companies.all` grants permissions to all commands.
