# Limits

> The sizes and amounts RPG Desk accepts: packages, documents, rolls, messages, webhooks, files and rooms.

Page: https://docs.rpgdesk.com/en/referencia/limites/

## Plugins

|                              |                                          |
| ---------------------------- | ---------------------------------------- |
| Package (`.html` or `.zip`)  | up to 10 MB and 500 files                |
| Unpacked `.zip`              | up to 64 MB and 2000 files               |
| Sheets and tables per plugin | up to 20                                 |
| Webhooks per plugin          | up to 20; each one’s example, up to 4 KB |
| `id` and `type`              | up to 120 characters                     |
| `name`, `title` and `author` | up to 120 characters                     |
| `description`                | up to 1000 characters                    |

## The document

|                    |                                                                                                                                                         |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A field’s name     | up to 64 characters: unaccented letters, numbers and `_`                                                                                                |
| A path’s depth     | up to 12 levels (up to 24 segments counting list items)                                                                                                 |
| A field’s text     | up to 100,000 characters                                                                                                                                |
| The whole document | up to 5 MB and 20,000 nodes (each group of fields, list or item counts as a node); a write that would go past that is refused (`doc.on('rejected', …)`) |
| Numbers            | finite (no `Infinity` or `NaN`)                                                                                                                         |

## Per open sheet

|                       |                                                  |
| --------------------- | ------------------------------------------------ |
| Rolls                 | 10 every 10 seconds                              |
| Chat messages         | 10 every 10 seconds (up to 2000 characters each) |
| Webhooks              | 20 per minute                                    |
| `RPGDesk.storage`     | 1 MB per plugin, per person                      |
| `RPGDesk.ui.download` | up to 20 MB                                      |
| Card lines            | up to 120 characters                             |

## Webhooks in the room

|                      |                         |
| -------------------- | ----------------------- |
| Sends                | 30 per minute, per room |
| Data sent            | up to 16 KB as JSON     |
| The service’s answer | up to 64 KB             |
| Answer time          | 10 seconds              |

## Rolls

|                  |                                    |
| ---------------- | ---------------------------------- |
| Dice of one kind | from 1 to 255, with 1 to 255 faces |
| Roll size        | up to 300 dice and terms           |

## The room

|                             |                                          |
| --------------------------- | ---------------------------------------- |
| Room name                   | from 5 to 60 characters                  |
| Traits                      | up to 12                                 |
| Welcome message             | up to 500 characters                     |
| Status message              | up to 120 characters                     |
| Rooms open at the same time | up to 8                                  |
| Card bars and lines         | 4 of each (indexes 0 to 3 in rpgdesk.js) |
| Macros                      | name up to 30 characters, up to 20 lines |

## Files and accounts

|                          |                                                                                                                                 |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| Each person’s space      | the plan’s: 100 MB on Free, 5, 25 or 100 GB on the paid ones ([Plans and space](https://docs.rpgdesk.com/en/comecando/planos/)) |
| One file                 | the plan’s: up to 25 MB on Free and up to 100 MB on the paid ones                                                               |
| Profile and room picture | up to 2 MB (PNG, JPEG, WebP or GIF)                                                                                             |
| UVTT map                 | about 4/3 of the plan’s largest file, plus 2 MB (the image is embedded in the file)                                             |
| Account name             | from 3 to 24 characters                                                                                                         |
| Password                 | at least 8 characters                                                                                                           |
