# Commons

### What is Commons?

Commons is a core developer library that all Supreme Ventures plugin use. Commons handles a large portion of your plugin's features automatically behind the scenes so our developers don't have to write as much boring and repetitive code.&#x20;

* Menus - Menu animations, failed action items, etc
* Commands - Help menus, and argument handling
* Database Engine - Our custom database interface (data storage)
* Configs - Reads & writes with plugin configs
* Leaderboards - Managing, refreshing, and accessing.
* Hundreds of misc utility functions and classes

### Does this change anything on my server?

Yes and no. Commons helps to eliminate duplicate class loading at runtime. Basically, if we just included Commons inside of every plugin, every plugin would load its own version of all the common classes, potentially having 8 - 20 copies of some classes. If our plugins depend on it instead, all plugins share the same set of classes saving memory when using a lot of the Gucci plugins at the same time. This has an adverse effect when only using one or two plugins. Commons has a lot of stuff in it, and one or two plugins won't use the majority of the classes, in turn, wasting ram.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.supremeventures.ca/libraries/commons.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
