AuroraCollections
  • AuroraCollections
  • Configuration
    • Main configuration
    • Category configuration
    • Collection configuration
    • Menu configuration
      • Categories (main menu)
      • Category rewards
      • Collection list
      • Collection progression
  • Commands
  • Rewards
  • Permissions
  • Placeholders
  • API
  • Compatible plugins
Powered by GitBook
On this page
  1. Configuration

Category configuration

Guide to the categories.yml file

You can and have to define categories for your collections. You can do it in the categories.yml file.

Default configuration:

categories:
  farming:
    name: "Farming"
    # You can lock the category behind a permission
    # making it not progressable until the player have the permission.
    permission: "my.permission"
    levels:
      my_level1:
        percentage: 50
        rewards:
          my_command:
            type: item
            item:
              material: diamond
            display: "&8+&b1 shiny diamond"
  mining:
    name: "Mining"
  combat:
    name: "Combat"
  foraging:
    name: "Foraging"
  fishing:
    name: "Fishing"

The key will be used as an id for the category. It will determine how will the plugin lookup the collections for the category, since it will search for a folder named as the id of the category in the collections folder.

Name field is the name of the category which will be displayed in menus. You can use any color codes here. If you you add levels , then when you right click on the category in the menu, you will see a leveling system for the entire category that is based on percentages. Any reward type can be used here as well.

PreviousMain configurationNextCollection configuration

Last updated 3 months ago