Learn how to use the available hooks in the CCrates plugin for customization and integration.
The ModelEngine hook allows you to assign a crate to a custom model. This hook can be used to replace crate blocks and allow further customization.
/ccrates modelengine assign <crate>" while looking at a model.This hook is ideal for users looking to expand the visual aspect of the plugin and enhance the player's experience with custom models.
DecentHolograms hook adds a fully customizable hologram above crates blocks and models, enhancing their appearance with dynamic text and visuals..
All the holograms are 100% customizable to fit all your needs.
PlaceholderAPI allows you to retrive useful data that can be used in Scoreboards, Tablist, Item Lore etc...
Here is a list of all plugin's placeholders:
| Placeholder | Description | Example |
|---|---|---|
%ccrates_opened_<cratename|total>% |
Displays the specific or total amount of crate opened. | %ccrates_opened_examplecrate% |
%ccrates_keys_<cratename>% |
Displays the amount keys | %ccrates_keys_examplecrate% |
%ccrates_virtualkeys_<cratename>% |
Displays the amount of virtual keys | %ccrates_virtualkeys_examplecrate% |
%ccrates_phisicalkeys_<cratename>% |
Displays the amount of phisical keys | %ccrates_phisicalkeys_examplecrate% |
%ccrates_multiplier_<cratename>% |
Displays the current legendary multiplier for that crate | %ccrates_multiplier_examplecrate% |
%ccrates_top_<pos>_<cratename|total>_<name|value>% |
Displays the name or the value at the given leaderboard position for crate opened from a crate or all crates | %ccrates_top_1_examplecrate_name% |
If Dictation is installed on the server this plugin will automatically hook with it (unless dictation-hook is set to false in the config.yml) linking SQL and Redis database.
Utilize this feature to allow CCrates to link to a great server core like Dictation and have everything in one place.