> For the complete documentation index, see [llms.txt](https://ajneb97.gitbook.io/codex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajneb97.gitbook.io/codex/api.md).

# API

## How to use <a href="#how-to-use" id="how-to-use"></a>

To use and implement the Codex API, create a plugin and import Codex.jar as an external jar or use maven and set the following on your pom.xml file:

```xml
<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

<dependency>
  <groupId>com.github.ajneb97</groupId>
  <artifactId>Codex</artifactId>
  <version>2.5.2</version>
  <scope>provided</scope>
</dependency>
```

Remember to also set `depend` or `softdepend` in your plugin.yml file!

## Methods <a href="#methods" id="methods"></a>

You can access all API static methods using the **CodexAPI** class.
