Léa Gris 5ba481fb14 feat(controller): maxDrawers config
Fix a server load issue with extreme drawers setup reported in
the #moderators channel by Elisis.

Implements the suggestion from @Prometheus0000:
> Is there a way to limit it to not range, but number of drawers?
> Without too big a code change?

Here is a maxDrawers configuration for the drawers controller.

maxDrawers default value is 2048 and is found in the controller section.

`StorageDrawers.cfg`:
```yaml
    controller {
        B:enabled=true
        I:maxDrawers=2048
        I:range=12
    }
```
2021-04-09 22:54:33 +02:00
2015-04-29 01:05:47 -04:00
2020-04-10 14:42:06 +02:00
2020-02-02 09:28:12 -08:00
2015-04-08 23:52:13 -04:00
2020-05-24 16:16:58 +02:00
2020-02-02 09:28:12 -08:00
2020-02-02 09:28:12 -08:00
2014-08-23 01:28:29 -04:00
2017-10-08 13:56:42 +02:00
2014-08-23 01:28:29 -04:00
2016-07-03 23:45:47 -04:00

StorageDrawers

A mod adding compartmental storage for Minecraft Forge

S
Description
No description provided
Readme
14 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 98.3%
C# 1.7%