# Commons Config

All plugins utilize our core library "SVCommonsLib" to create & handle command executions. Being a "one size fits all", Commons handles all aspects of commands such as creating command help pages & whatnot. Most aspects of commands like colors, format, and style of the helps messages all appear the same (the same way old school Massive Core commands worked)

We decided to also include a full config section for styling these generated messages to your liking!

{% hint style="info" %}
This config file will likely be updated over time to include more options.
{% endhint %}

```yaml
sender-must-be-player:
  style: CHAT
  message:
  - <#FC100D><bold>➜</bold> You must be a player to use this command!
  sound: minecraft:entity.player.levelup
no-permission:
  style: CHAT
  message:
  - <#FC100D><bold>➜</bold> You do not have permission to use this command!
  sound: minecraft:entity.player.levelup
invalid-args:
  style: CHAT
  message:
  - <#FC100D><bold>➜</bold> {cause}<gray> {reason}
  sound: minecraft:entity.player.levelup
unknown-sub-command:
  style: CHAT
  message:
  - <#FC100D><bold>➜</bold> Unknown sub command
  sound: minecraft:entity.player.levelup
help-page-not-found:
  style: CHAT
  message:
  - ' '
  - <#00fdf1><bold>➜</bold> Command Help Usage
  - ' '
  - <#00fdf1>▎ <white>This command has no help pages left! :(
  - <#00fdf1>▎ <white>The available help pages are <#00fdf1>1 - {pages}
  - ' '
  sound: minecraft:entity.player.levelup
help-page-legend:
  style: CHAT
  message:
  - c:<gray>(( <Required>, {Optional} - Hover For Details ))
  sound: minecraft:entity.player.levelup
primary-color: <#00fdf1>
secondary-color: <white>
accent-color: <gray>
required-color: <#FC100D>
optional-color: <#FFCC00>
```


---

# 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/important-information/configuration-options/commons-config.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.
