Codex
  • Codex Wiki
  • How to Start
  • Discoveries/Categories Tutorial
  • Items Tutorial
  • Config.yml Tutorial
  • Inventory.yml Tutorial
  • Actions
  • Commands and Permissions
  • PlaceholderAPI variables
  • API
  • Customized Discoveries Tutorial
  • Default Files
    • messages.yml
    • inventory.yml
Powered by GitBook
On this page
  • How to use
  • Methods

Was this helpful?

API

How to use

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:

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

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

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

Methods

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

PreviousPlaceholderAPI variablesNextCustomized Discoveries Tutorial

Last updated 4 months ago

Was this helpful?