Config.yml

Plugin default configuration file

#############################################################################################
#      ____                                 _                 ____    _                     #
#     |  _ \    ___    ___   _   _    ___  | |   ___   _ __  |  _ \  | |  _   _   ___       #
#     | |_) |  / _ \  / __| | | | |  / __| | |  / _ \ | '__| | |_) | | | | | | | / __|      #
#     |  _ <  |  __/ | (__  | |_| | | (__  | | |  __/ | |    |  __/  | | | |_| | \__ \      #
#     |_| \_\  \___|  \___|  \__, |  \___| |_|  \___| |_|    |_|     |_|  \__,_| |___/      #
#                            |___/                                                          #
#############################################################################################
#-                              *\ Created by Maazapan © /*                                -#
#############################################################################################

config:

  # You can modify the prefix found in each of the commands
  # simply by changing the text.
  prefix: " &b❖ &8| &eRecyclerPlus &8: &r"

  # Add any item you don't want to be recycled, follow the order
  # of the list to avoid any errors, you can add it to the list below.
  blacklist-items:
    - TNT
    - CHEST

  # Add the sounds of the recycling table.
  # You can find all available sounds on this page.
  # Docs: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  sounds:
    error-info:
      - 'ENTITY_VILLAGER_NO;0.8;1'
    success-info:
      - 'UI_STONECUTTER_TAKE_RESULT;1;1'
      - 'BLOCK_LEVER_CLICK;0.8;1'

  # When recycling an enchanted item, it will give you the book with which it was enchanted.
  enchanted-craft: true

  # Send a message at player if the recycler is successful.
  success-message: false
  item-durability: true

  plugin-hooks:
    # Set to true if you want to use Vault's economy plugin.
    vault-economy:
      enable: false
      cost: 100

  # If an option is enabled, check player has permission
  # and open the recycler menu.
  open-recycler-permission:
    enable: false
    permission: "recyclerplus.use"

  # Fail, when you are recycling, the player will lose the item they are trying to recycle.
  # you can set the percentage you want this to happen, also disable and enable it.
  fail-recycler:
    enable: false
    percentage: 20

  # Change the result of any recycling, you can turn it on and off from the option below
  # remember to add the item you want to change to the list here.
  change-result:
    enable: false
    materials:
      '1':
        id: custom_item:fired_sword
        result:
          - '[CONSOLE] say just recycled a diamond sword'
          - '[PLAYER] gamemode creative'
          - '[ITEM] EMERALD:10'
          - '[ITEM] GRASS_BLOCK:5'
      '2':
        id: material:NETHER_STAR
        result:
          - '[CUSTOM_ITEM] custom_skull'
          - '[CUSTOM_ITEM] fired_sword'
          - '[ITEM] DIAMOND:10'
      '3':
        id: custom_item:custom_skull
        result:
          - '[CONSOLE] title %player% title "§aChange result"'
          - '[CONSOLE] title %player% subtitle "§eCommand executed!"'
          - '[ITEM] IRON_INGOT:2'

  # You can create custom items with this option, you can add as many as you want.
  # Make sure to follow the format of the list to avoid any errors,
  # You can find all available materials on this page.
  # Docs: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  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"

  # Make it possible to craft the recycler block only by activating this option.
  crafting-recipe:
    enable: true
    # By activating this option, you need a permission when crafting a mailbox.
    recycler-permission:
      enable: true
      permission: "recyclerplus.craft"
    pattern:
      - "E E E"
      - "E A E"
      - "B C B"
    recipe:
      'E': IRON_INGOT
      'A': REDSTONE
      'B': OAK_LOG
      'C': COBBLESTONE

  # This item can be obtained with the command "/recycler give <player>"
  # use it to open the recycler more easily.
  item-recycler:
    id: PLAYER_HEAD
    texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTgxMTkxN2M2NDRmMDRmNTZiNjhjOWM3MWIzM2FjMDgyYzI2MDFjMjQ0MDliZTc4YzIwNjNkNGRmMmE4NjUyNSJ9fX0="
    display_name: "&aRecycler"
    lore:
      - '&8RecyclerPlus'
      - ''
      - '&fRecycle the items you dont'
      - '&fneed to get some materials.           '
      - ''
      - '&7You can place the recycler anywhere.'
      - ''
      - ' &e▸ Click to place'

  # These are simple messages that are used when you use some command.
  messages:
    success-recycler: "&aYou have successfully recycled an item."
    nopermission: "&cSorry you not have permission."
    receive-recycler: "&aHas received a recycler."
    send-recycler: "&fYou have sent a recycler to &a%name%"
    no-money: "&cYou don't have enough money, you need &e$%money%"

  inventory:
    title: "Recycler Bench"
    size: 54

    # This is the slot where you have to place the item you want to recycle
    #  you can modify it to your liking, remember that this slot has to be empty to work.
    recycler-slot: 19

    # In these slots, the glass will be placed informing that something happened
    # could be an error at the time of recycling or also that everything has gone well
    # If you want to deactivate this option, put the word "none."
    info-slot: 36,37,38,39,40,41,42,43,44

    # Tou can add any item to the menu by simply following the list to avoid any errors.
    items:
      '3':
        id: BARRIER
        slot: 49
        display_name: "&cClose Menu"
        actions:
          - "[CLOSE]"
          - "[SOUND]: BLOCK_LEVER_CLICK;1;1"
      '4':
        id: PLAYER_HEAD
        slot: 25
        texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTliZjMyOTJlMTI2YTEwNWI1NGViYTcxM2FhMWIxNTJkNTQxYTFkODkzODgyOWM1NjM2NGQxNzhlZDIyYmYifX19"
        display_name: "&aAccept Recycling"
        lore:
          - '&8Recycler Menu'
          - ''
          - '&fObtain the materials you used'
          - '&fto create this item. '
          - ''
          - '&c¡Not be able to recover the item!        '
          - ''
          - ' &e▸ Click to recycling'
        actions:
          - "[ACCEPT]"
      '1':
        id: BLACK_STAINED_GLASS_PANE
        except-slots:
          - 12
          - 13
          - 14
          - 19
          - 21
          - 22
          - 23
          - 25
          - 30
          - 31
          - 32
          - 49
      '2':
        id: GRAY_STAINED_GLASS_PANE
        slots:
          - 36
          - 37
          - 38
          - 39
          - 40
          - 41
          - 42
          - 43
          - 44

Last updated