EpicCraftingsPlus
  • EpicCraftingsPlus WIKI
  • How to Start
  • Craftings Tutorial
  • Extra Requirements
  • Items Tutorial
  • Config.yml Tutorial
  • Inventory.yml Tutorial
  • Categories Tutorial
  • Actions
  • Crafting Places
  • Commands and Permissions
  • PlaceholderAPI variables
  • API
  • Default Files
    • Inventory.yml
    • Messages.yml
Powered by GitBook
On this page
  • Item
  • Permission
  • Permission Error Actions

Categories Tutorial

PreviousInventory.yml TutorialNextActions

Last updated 8 months ago

Categories unlike craftings have few properties listed here. An example of a category:

'others':
     permission: epiccraftingsplus.categories.others
     item:
       id: 'REDSTONE'
       name: '&dOther Crafts'
       lore:
       - '&7A lot of stuff you can craft,'
       - '&7like money or the &bVIP &7rank.'

Item

Item of this category, to be replaced with the category:<name> custom item on the inventory.yml file. Remember that you can use all item properties explained .

item:
       id: 'REDSTONE'
       name: '&dOther Crafts'
       lore:
       - '&7A lot of stuff you can craft,'
       - '&7like money or the &bVIP &7rank.'

Permission

Here you can set a permission to open this category.

permission: epiccraftingsplus.categories.others

Permission Error Actions

actions:
       permission_error:
         - "message: &cThis category will be unlocked while you progress..."
         - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"

You can define custom to execute when the player tries to open the category without permissions. This will override the categoryOpenErrorNoPermissions message, so remember to include a message as well.

HERE
actions