# Core

URL: https://zerodev.ca/docs/medusa/modules/core

> Ranks and permissions, the help menu, leaderboards, posting, the audit trail and the built-in commands.



Core is always loaded and cannot be removed. Every other module relies on it for permissions, the help menu, leaderboards and posting.

## Ranks

Permissions are built from ranks. A rank has a priority, a list of roles and users, and the commands, buttons and dashboard pages it unlocks. A member holds every rank they match, and gets everything granted by their highest rank and every rank below it.

| Rank          | Priority | Who holds it by default                            |
| ------------- | -------- | -------------------------------------------------- |
| License Owner | 100      | The server owner. Can use everything.              |
| Admin         | 80       | Members with the Discord Administrator permission. |
| Moderator     | 60       | Nobody until you add roles or users.               |
| Generic Staff | 40       | Nobody until you add roles or users.               |
| Member        | 0        | Everyone in the server.                            |

Each command starts in the rank its module picks. Move commands between ranks, add your own ranks and limit a rank to certain servers or bots on the dashboard **Permissions** page. Ranks are set once on your primary server and apply everywhere.

## Commands

Every command can be renamed, turned off or given a text prefix on the dashboard **Commands** page. Prefix and mention triggers are off by default. The default prefix is `!`.

| Command                         | What it does                                                          | Rank   |
| ------------------------------- | --------------------------------------------------------------------- | ------ |
| `/help`                         | Browse every module's commands.                                       | Member |
| `/info server`                  | Show details about the server.                                        | Member |
| `/info bot`                     | Show details about the bot.                                           | Member |
| `/info user [target]`           | Show details about a member.                                          | Member |
| `/leaderboard <type>`           | Show any tracked leaderboard.                                         | Member |
| `/translate <text> [to] [from]` | Translate text. The source language is detected when `from` is empty. | Member |
| `/dashboard`                    | Get the dashboard link.                                               | Member |
| `/post <type> [item] [channel]` | Post a module message, such as a panel, into a channel.               | Admin  |
| `/restart`                      | Restart the bot after a confirmation.                                 | Admin  |
| User Info                       | Right-click a member, then **Apps > User Info**.                      | Member |
| Translate Message               | Right-click a message, then **Apps > Translate Message**.             | Member |

## Leaderboards

Modules add their own boards, such as levels, messages, voice time, currency and invites. `/leaderboard` and the dashboard **Leaderboard** page read all of them from one place.

## Posting

`/post` and the dashboard **Post** page send messages that modules provide: ticket, application and product panels, reaction role panels, the appeal panel, the verification panel and the honeypot warning. Pick a type, pick an entry if the module has more than one, and pick a channel.

## Audit and Logs

The dashboard **Audit** page records who changed what on the dashboard and when. Core also adds two log categories on the **Logging** page:

| Log          | What it records                        |
| ------------ | -------------------------------------- |
| Command Log  | Every slash command used.              |
| Power Events | The bot starting up and shutting down. |
