# LightAPI addon

## What does it do?

Portals now emit block light

{% hint style="info" %}
Requires [LightAPI](https://www.spigotmc.org/resources/lightapi.4510/) 5.3.0
{% endhint %}

{% hint style="warning" %}
After the recent paper update, LightAPI requires the following settings in order to work

```
enable-compatibility-mode: true
force-enable-legacy: true
```

Using these settings may impact server performance
{% endhint %}

## How is it configured?

```yaml
Addon:
    LightAPI:
        Level: <input>
```

Level can be 0-15.\
Recommended light level = 10

### Portal without light vs Portal with light

![](https://1092078244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdhucfF0MgHVNT2etrhvq%2Fuploads%2FHI4E0lgSecde6TguBibB%2Fimage.png?alt=media\&token=1b1267ea-1ab8-4df5-9444-0e8d78d1fa32)![](https://1092078244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdhucfF0MgHVNT2etrhvq%2Fuploads%2Fz61jd8kBNbbHuXSVZBR7%2Fimage.png?alt=media\&token=8ee18566-9f63-4acc-9ee5-282222eb2eb7)
