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

Was this helpful?

PlaceholderAPI variables

Codex provides you some PlaceholderAPI variables you can use in the /codex inventory or in another plugin.

%codex_total_discoveries%

Total discoveries of the player.

%codex_total_discoveries_<category>%

Total discoveries of the player from a certain category.

%codex_total_discoveries_percentage%

Percentage of total discoveries of the player.

%codex_total_discoveries_percentage_<category>%

Percentage of total discoveries of the player from a certain category.

%codex_has_discovery_<category>:<discovery>%

Returns true if the player has unlocked the discovery and false if not.

%codex_has_completed_category_<category>%

Returns true or false depending if the player has completed a category or not.

PreviousCommands and PermissionsNextAPI

Last updated 4 months ago

Was this helpful?