Custom Items

Create custom items from the plugin

Custom item in reycler plugin

Having custom items in the same plugin allows you to use them in the same plugin, such as getting a custom item when you recycle an item, or when you recycle a custom item. this and much more.

Default custom items list

custom-items:
  'fired_sword':
    id: DIAMOND_SWORD
    display_name: "&cFired Sword"
    lore:
      - '&7This sword is very powerful'
    enchantments:
      - 'DAMAGE_ALL:5'
      - 'FIRE_ASPECT:2'
  'custom_skull':
    id: PLAYER_HEAD
    texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDZjNDdkNTg0NDgyMjRhZGIzM2JmMzI4YzIwMzUxZTQ0Yjk3MGMwYTdiZTQ4NWFiNjA0NGJkZjIxYzBkMDZhMCJ9fX0="
    display_name: "&eCat"
    lore:
      - '&7Meow'
  'custom_model':
    id: DIAMOND
    model_data: 10
    display_name: "&aCustom Model"

How to create a custom items?

To create a custom item we will make an example of how to create it, we will create an item that is a diamond sword with a name that says "Helloo" a simple example.

  'custom_sword':
    id: DIAMOND_SWORD
    display_name: "&dHellooo"

How can i check that it was created correctly?

to do this we will use the /recycler item <item-id> <player> command, but first we need to do a reload /recycler reload in this case it would be the command /recycler item custom_sword PLAYER_NAME, If the item was created correctly you will get the item.

Last updated