# FAQ

### What is this?

This section was created to answer frequently asked questions asked by users

### How to register a boss

First you need to create a file in the bosses directory with any name, but it is important that it ends with ".yml" then go to **config.yml** and in the bosses section write:

```yaml
boss_name: file_name.yml
```

### How to force stop a boss after a certain amount of time?

First, create a **TIMER trigger** with any name you want. Then add this to the conditions. Replace ***\<boss-id>*** with the unique ID of your boss that you specified in the configuration. Also don't forget to replace ***\<lifetime-seconds>*** with the time in seconds that the boss can live for as long as possible

```yaml
timer-lifetime:
  type: TIMER
  requirements:
    - "[condition] %beacmcboss_<boss-id>:lifetime% == <lifetime-seconds>"
  actions: 
    - "[boss_stop]"
```

### What is an item system?

It's a system that is used for action: *\[drop]*. All items are added to the items.yml file. To add an item to the items.yml file, pick it up in the game and type the command */boss additem \<item-name>*. To remove an item, use */boss removeitem \<item-name>*.
